📖 To learn more, take a look at our complete API

📤 Example Request

  1. Generate an api key below👇

  2. Install node-fetch & add the GOOEY_API_KEY to your environment variables.
    Never store the api key in your code and don't use direcly in the browser.

$ npm install node-fetch
$ export GOOEY_API_KEY=sk-xxxx
  1. Use this sample code to call the API.
    If you encounter any issues, write to us at [email protected] and make sure to include the full code snippet and the error message.
import fetch from 'node-fetch';

const payload = {
  "input_prompt": "match me\n",
  "messages": [
    {
      "role": "user",
      "content": "hi"
    },
    {
      "role": "assistant",
      "content": "Hi, I\u2019m FALana! An AI chatbot by Future Arts (in beta) on Gooey.AI specializing in Seattle\u2019s Creative Economy. Chat with me one-on-one like a text thread with a friend. I have useful info about tonight and will connect you with others when it\u2019s time. What you write will inform tonight\u2019s networking and emails are shared only with your matched small groups.\n\nRemember, this is an experiment! Everyone here holds a piece of the puzzle. Share your hopes and dreams, so together, like a Scenius, we can build a better Seattle!\n\nLet\u2019s start preparing for matchmaking. Please tell me your full name."
    },
    {
      "role": "user",
      "content": "Josh CZoski"
    },
    {
      "role": "assistant",
      "content": "Now Josh, could you please share your email address?"
    },
    {
      "role": "user",
      "content": "[email protected]"
    },
    {
      "role": "assistant",
      "content": "Welcome to Scenius Social #2 and thanks for joining us, Josh!\n\nTogether, we are exploring the question: \nWhat will it take for Seattle to show up as the global leader of Culture, Creativity, and Innovation in a way that reflects our values and amplifies our stories to the world?\n\nLet\u2019s dive into what you\u2019ve been up to.\n\n**What are you developing, either personally or professionally, that reflects your aspirations for Seattle?**"
    },
    {
      "role": "user",
      "content": "vr, ar, games"
    },
    {
      "role": "assistant",
      "content": "Thanks for all you do! We hope to connect you to others who share your passions. \nNow, let\u2019s consider what\u2019s been tricky to navigate in your projects.\n\n**What are some barriers that you have experienced in your industry? If funding is one of them, please share 2 others as well.**"
    },
    {
      "role": "user",
      "content": "money, time, help"
    },
    {
      "role": "assistant",
      "content": "Now, let\u2019s consider opportunities to share with each other. \n\n**What resources might you or your organization offer?**"
    },
    {
      "role": "user",
      "content": "tech tools and mentorship"
    },
    {
      "role": "assistant",
      "content": "\ud83c\udf1f You're finished with AI-networking registration! \ud83c\udf1f \n\nThank you for sharing all about your passions. Please put your phone down while I find others in the room that would be fantastic collaborators."
    },
    {
      "role": "user",
      "content": "match me"
    },
    {
      "role": "assistant",
      "content": "It seems I wasn't able to find a match for you at the moment. Please hang tight and enjoy the event, and feel free to check back later! If there's anything else you'd like to know or discuss, I'm here to help."
    }
  ]
};

async function gooeyAPI() {
  const response = await fetch("https://test.api.gooey.ai/v2/video-bots?example_id=yy577pdikafr", {
    method: "POST",
    headers: {
      "Authorization": "bearer " + process.env["GOOEY_API_KEY"],
      "Content-Type": "application/json",
    },
    body: JSON.stringify(payload),
  });

  if (!response.ok) {
    throw new Error(response.status);
  }

  const result = await response.json();
  console.log(response.status, result);
}

gooeyAPI();
  1. Generate an api key below👇

  2. Install requests & add the GOOEY_API_KEY to your environment variables.
    Never store the api key in your code.

$ python3 -m pip install requests
$ export GOOEY_API_KEY=sk-xxxx
  1. Use this sample code to call the API.
    If you encounter any issues, write to us at [email protected] and make sure to include the full code snippet and the error message.
import os
import requests

payload = {
    "input_prompt": "match me\n",
    "messages": [
        {"role": "user", "content": "hi"},
        {
            "role": "assistant",
            "content": "Hi, I’m FALana! An AI chatbot by Future Arts (in beta) on Gooey.AI specializing in Seattle’s Creative Economy. Chat with me one-on-one like a text thread with a friend. I have useful info about tonight and will connect you with others when it’s time. What you write will inform tonight’s networking and emails are shared only with your matched small groups.\n\nRemember, this is an experiment! Everyone here holds a piece of the puzzle. Share your hopes and dreams, so together, like a Scenius, we can build a better Seattle!\n\nLet’s start preparing for matchmaking. Please tell me your full name.",
        },
        {"role": "user", "content": "Josh CZoski"},
        {
            "role": "assistant",
            "content": "Now Josh, could you please share your email address?",
        },
        {"role": "user", "content": "[email protected]"},
        {
            "role": "assistant",
            "content": "Welcome to Scenius Social #2 and thanks for joining us, Josh!\n\nTogether, we are exploring the question: \nWhat will it take for Seattle to show up as the global leader of Culture, Creativity, and Innovation in a way that reflects our values and amplifies our stories to the world?\n\nLet’s dive into what you’ve been up to.\n\n**What are you developing, either personally or professionally, that reflects your aspirations for Seattle?**",
        },
        {"role": "user", "content": "vr, ar, games"},
        {
            "role": "assistant",
            "content": "Thanks for all you do! We hope to connect you to others who share your passions. \nNow, let’s consider what’s been tricky to navigate in your projects.\n\n**What are some barriers that you have experienced in your industry? If funding is one of them, please share 2 others as well.**",
        },
        {"role": "user", "content": "money, time, help"},
        {
            "role": "assistant",
            "content": "Now, let’s consider opportunities to share with each other. \n\n**What resources might you or your organization offer?**",
        },
        {"role": "user", "content": "tech tools and mentorship"},
        {
            "role": "assistant",
            "content": "🌟 You're finished with AI-networking registration! 🌟 \n\nThank you for sharing all about your passions. Please put your phone down while I find others in the room that would be fantastic collaborators.",
        },
        {"role": "user", "content": "match me"},
        {
            "role": "assistant",
            "content": "It seems I wasn't able to find a match for you at the moment. Please hang tight and enjoy the event, and feel free to check back later! If there's anything else you'd like to know or discuss, I'm here to help.",
        },
    ],
}

response = requests.post(
    "https://test.api.gooey.ai/v2/video-bots?example_id=yy577pdikafr",
    headers={
        "Authorization": "bearer " + os.environ["GOOEY_API_KEY"],
    },
    json=payload,
)
assert response.ok, response.content

result = response.json()
print(response.status_code, result)
  1. Generate an api key below👇

  2. Install curl & add the GOOEY_API_KEY to your environment variables.
    Never store the api key in your code.

export GOOEY_API_KEY=sk-xxxx
  1. Run the following curl command in your terminal.
    If you encounter any issues, write to us at [email protected] and make sure to include the full curl command and the error message.
curl 'https://test.api.gooey.ai/v2/video-bots?example_id=yy577pdikafr' \
  -H "Authorization: bearer $GOOEY_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "input_prompt": "match me\n",
  "messages": [
    {
      "role": "user",
      "content": "hi"
    },
    {
      "role": "assistant",
      "content": "Hi, I\u2019m FALana! An AI chatbot by Future Arts (in beta) on Gooey.AI specializing in Seattle\u2019s Creative Economy. Chat with me one-on-one like a text thread with a friend. I have useful info about tonight and will connect you with others when it\u2019s time. What you write will inform tonight\u2019s networking and emails are shared only with your matched small groups.\n\nRemember, this is an experiment! Everyone here holds a piece of the puzzle. Share your hopes and dreams, so together, like a Scenius, we can build a better Seattle!\n\nLet\u2019s start preparing for matchmaking. Please tell me your full name."
    },
    {
      "role": "user",
      "content": "Josh CZoski"
    },
    {
      "role": "assistant",
      "content": "Now Josh, could you please share your email address?"
    },
    {
      "role": "user",
      "content": "[email protected]"
    },
    {
      "role": "assistant",
      "content": "Welcome to Scenius Social #2 and thanks for joining us, Josh!\n\nTogether, we are exploring the question: \nWhat will it take for Seattle to show up as the global leader of Culture, Creativity, and Innovation in a way that reflects our values and amplifies our stories to the world?\n\nLet\u2019s dive into what you\u2019ve been up to.\n\n**What are you developing, either personally or professionally, that reflects your aspirations for Seattle?**"
    },
    {
      "role": "user",
      "content": "vr, ar, games"
    },
    {
      "role": "assistant",
      "content": "Thanks for all you do! We hope to connect you to others who share your passions. \nNow, let\u2019s consider what\u2019s been tricky to navigate in your projects.\n\n**What are some barriers that you have experienced in your industry? If funding is one of them, please share 2 others as well.**"
    },
    {
      "role": "user",
      "content": "money, time, help"
    },
    {
      "role": "assistant",
      "content": "Now, let\u2019s consider opportunities to share with each other. \n\n**What resources might you or your organization offer?**"
    },
    {
      "role": "user",
      "content": "tech tools and mentorship"
    },
    {
      "role": "assistant",
      "content": "\ud83c\udf1f You'"'"'re finished with AI-networking registration! \ud83c\udf1f \n\nThank you for sharing all about your passions. Please put your phone down while I find others in the room that would be fantastic collaborators."
    },
    {
      "role": "user",
      "content": "match me"
    },
    {
      "role": "assistant",
      "content": "It seems I wasn'"'"'t able to find a match for you at the moment. Please hang tight and enjoy the event, and feel free to check back later! If there'"'"'s anything else you'"'"'d like to know or discuss, I'"'"'m here to help."
    }
  ]
}'

🎁 Example Response

{4 Items
"id"
:
string
"j74u4utfrakj"
"url"
:
string
"https://test.gooey.ai/copilot/"
"created_at"
:
string
"2025-05-29T23:07:34.999665+00:00"
"output"
:
{15 Items
"final_prompt"
:
[18 Items
0
:
{
}2 Items
1
:
{
}2 Items
2
:
{
}2 Items
3
:
{
}2 Items
4
:
{
}2 Items
5
:
{
}2 Items
6
:
{
}2 Items
7
:
{
}2 Items
8
:
{
}2 Items
9
:
{
}2 Items
10
:
{
}2 Items
11
:
{
}2 Items
12
:
{
}2 Items
13
:
{
}2 Items
14
:
{
}2 Items
15
:
{
}2 Items
16
:
{
}3 Items
17
:
{
}3 Items
]
"output_text"
:
[1 Items
0
:
string
"It seems I wasn't able to find a match for you at "
]
"output_audio"
:
NULL
"output_video"
:
NULL
"raw_input_text"
:
string
"match me"
"raw_tts_text"
:
NULL
"raw_output_text"
:
[1 Items
0
:
string
"It seems I wasn't able to find a match for you at "
]
"references"
:
NULL
"final_search_query"
:
NULL
"final_keyword_query"
:
NULL
"output_documents"
:
NULL
"reply_buttons"
:
NULL
"finish_reason"
:
[1 Items
0
:
string
"stop"
]
"metrics"
:
NULL
"called_functions"
:
[1 Items
0
:
{
}3 Items
]
}
}

Please Login to generate the $GOOEY_API_KEY