Create Superagent conversation

<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Returns your conversation with a Superagent, creating it the first time you call this.

Each user has one main conversation per agent, so calling this again returns the same conversation. If you own the agent, it's the conversation you chat in inside Base44. metadata is stored only when the conversation is created. When you already have a conversation, it's returned unchanged and the metadata you send is ignored.

Send messages to it with Send Superagent message.

<Note>This endpoint accepts a personal API key or personal access token belonging to a user with access to the agent. Workspace API keys are not accepted.</Note>

<Warning>The response includes fields beyond the ones documented here. Don't rely on undocumented response fields, as they can change at any time.</Warning>

post/api/agents/{agent_id}/conversations

Path parameters

agent_idstring required

ID of the Superagent. It's the agent's app ID, shown in the agent's developer settings.

ID of the Superagent. It's the agent's app ID, shown in the agent's developer settings.

Request body

metadataobject

Metadata to store on the conversation when this call creates it. Ignored when you already have a conversation with the agent.

Example request

{
  "metadata": {
    "source": "crm-sync"
  }
}

Response

Your conversation with the agent.

idstring required

ID of the conversation.

titlestring nullable required

Title Base44 generates from the conversation, or null until one is generated.

metadataobject required

Metadata stored on the conversation, including what you sent to Create Superagent conversation when it created it.

created_datestring date-time required

Time the conversation was created, as a UTC timestamp in ISO 8601 format.

updated_datestring date-time required

Time the conversation last changed, as a UTC timestamp in ISO 8601 format.

Example response

{
  "id": "68a1c2e4f0b9d3002e7a5c11",
  "title": "Weekly sales summary",
  "metadata": {
    "source": "crm-sync"
  },
  "created_date": "2026-08-01T09:15:00Z",
  "updated_date": "2026-08-02T14:30:00Z"
}

Changes

Changed in 1 of the 27 revisions of this API.1

Of the 27 revisions, 1 has no diff computed.