Agents

Publish Agent Version

Publish and deploy a specific agent version to phone numbers.

post/core/agents/{id}/versions/{version}/publish

Request

  • Base URL
    https://api.anyreach.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

idstring required
versioninteger required

Headers

x-anyreach-orgstring nullable

Organization ID for user PATs (pat_ prefix tokens)

Request body

phone_numbersstring[] nullable

Optional list of phone numbers to deploy to

unassign_phone_numbersstring[] nullable

Optional list of phone numbers to unassign from this agent

direction'inbound' | 'outbound' | 'both'

Direction for agent deployment.

Response

Successful Response

phone_numberstring required
organization_idstring required
trunk_idstring required
created_atstring date-time required
updated_atstring date-time required
created_bystring nullable
modified_bystring nullable
inbound_agent_version_idstring nullable
outbound_agent_version_idstring nullable
managed_account_idstring nullable
external_idstring required
outbound_shareableboolean

Changes

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