Skip to main content

Phone

Use Phone endpoints for telephony resource management.

Authentication & scope

  • Header: X-API-Key: YOUR_API_KEY
  • Read operations: phone:read
  • Write operations: phone:write
  • Use API Reference for Try-it on each phone endpoint.

GET /v1/phone/purchases

Lists purchased numbers for your organization.

Common status codes

  • 200 success
  • 403 missing phone:read
  • 500 server error

GET /v1/phone/contacts/{id}

Lists contacts for a purchased number.

Common status codes

  • 200 success
  • 403 missing phone:read
  • 404 purchase not found
  • 500 server error

POST /v1/phone/allocate-assistant

Assigns inbound/outbound agents to a number. Body is DTO-accurate to PhoneAssistantDTO.

Common status codes

  • 200 success
  • 400 validation error
  • 403 missing phone:write
  • 404 resource not found
  • 500 server error

POST /v1/phone/schedule-call

Schedules outbound calls. Body is DTO-accurate to ScheduleCallDTO.

201 Created

Common status codes

  • 201 scheduled
  • 400 validation error
  • 403 missing phone:write
  • 404 resource not found
  • 500 server error