Skip to main content
POST
/
agents
Create agent
curl --request POST \
  --url https://app.relyable.ai/api/agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "provider": "VAPI",
  "type": "INBOUND",
  "promptType": "SINGLE",
  "name": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>",
  "apiKey": "<string>",
  "assistantId": "<string>",
  "createdByUserId": "<string>",
  "deletedAt": "<string>",
  "language": "<string>",
  "phoneNumber": "<string>",
  "prompt": "<string>",
  "workspaceId": "<string>",
  "callMonitoring": true,
  "isUsingDefaultApiKey": true,
  "phoneNumberId": "<string>",
  "webhookSecret": "<string>",
  "webhookUrl": "<string>"
}
'
{
  "message": "<string>",
  "data": {
    "provider": "VAPI",
    "type": "INBOUND",
    "promptType": "SINGLE",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "apiKey": "<string>",
    "assistantId": "<string>",
    "createdByUserId": "<string>",
    "deletedAt": "<string>",
    "language": "<string>",
    "phoneNumber": "<string>",
    "prompt": "<string>",
    "workspaceId": "<string>",
    "callMonitoring": true,
    "isUsingDefaultApiKey": true,
    "webhookUrl": "<string>",
    "phoneNumberId": "<string>",
    "webhookSecret": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
provider
enum<string>
required
Available options:
VAPI,
RETELL,
TIXAE,
ELEVENLABS
type
enum<string> | null
required
Available options:
INBOUND,
OUTBOUND,
promptType
enum<string> | null
required
Available options:
SINGLE,
MULTIPLE,
name
string | null
required
created_at
string
required
updated_at
string
required
apiKey
string
required
assistantId
string
required
createdByUserId
string
required
deletedAt
string | null
required
language
string | null
required
phoneNumber
string | null
required
prompt
string | null
required
workspaceId
string | null
required
callMonitoring
boolean
required
isUsingDefaultApiKey
boolean | null
required
phoneNumberId
string | null
required
webhookSecret
string | null
required
webhookUrl
string | null

Response

Successful response

message
string
required
data
object
required
{key}
any