Agents

Create an agent

post/api/agents

Request

  • Base URL: https://api.agentbrink.com/api
  • URL: https://api.agentbrink.com/api/api/agents
  • Auth: HTTP bearer

Request body

namestring required
organizationIdstring required
systemPromptstring
mode'sdk' | 'managed'
githubUsernamestring

Example request

{
  "name": "MyBot",
  "githubUsername": "acme"
}

Response

Created

_idstring
namestring
organizationIdstring
systemPromptstring
mode'sdk' | 'managed'
status'pending' | 'ready' | 'error'
emailstring email
phonestring
enabledIntegrationsstring[]
createdAtstring date-time
updatedAtstring date-time

Example response

{
  "_id": "65f1a2b3c4d5e6f7a8b9c0d1",
  "name": "MyBot",
  "mode": "sdk",
  "status": "ready",
  "email": "mybot@agentbrink.com",
  "phone": "+14155552671"
}

Changes

No recorded changes to this operation across all 1 revision of this API.