Skip to main content
POST
/
agent
/
sessions
Create an agent session
curl --request POST \
  --url https://public-api.replo.app/api/v1/public/agent/sessions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Replo-Api-Version: <replo-api-version>' \
  --data '
{
  "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "prompt": "<string>"
}
'
{
  "sessionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Replo-Api-Version
enum<string>
required

The public API version to use for this request.

Available options:
2026-06-27

Body

application/json
projectId
string<uuid>
required
prompt
string
required
Minimum string length: 1

Response

Create an agent session

sessionId
string<uuid>
required