Skip to main content

REST API Overview

The Firetell REST API allows you to programmatically manage your cloud communications infrastructure.

Base URL

Each workspace has its own API domain:

https://{workspace_id}.firetell.app/api/1.0

Replace {workspace_id} with your workspace's subdomain (found in ConsoleWorkspace SettingsGeneral).

All endpoints are relative to this base URL.

Request Format

  • All requests use HTTPS
  • Request bodies must be JSON with Content-Type: application/json
  • Authentication via Bearer Token in the Authorization header

Example Request

curl -X GET "https://yourcompany.firetell.app/api/1.0/phone-numbers" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"

Response Format

All responses return JSON. Successful responses include a data field:

{
"data": { ... },
"total": 100,
"page": 1,
"limit": 20
}

HTTP Status Codes

CodeDescription
200Success
201Resource created
400Bad request — invalid parameters
401Unauthorized — invalid or missing API key
403Forbidden — insufficient permissions
404Resource not found
429Rate limit exceeded
500Internal server error

Error Response Format

{
"statusCode": 400,
"message": "Validation failed",
"error": "Bad Request",
"details": [
{
"field": "to",
"message": "Phone number is required"
}
]
}

Pagination

List endpoints support pagination with the following query parameters:

ParameterTypeDefaultDescription
pagenumber1Page number
limitnumber20Items per page (max 100)
searchstringText search filter
sortstringSort field
orderstringdescSort order (asc or desc)

Available Resources

ResourceDescription
Phone NumbersManage virtual phone numbers
CallMake and control calls
Call FlowsManage IVR call flows
ExtensionsManage internal extensions
SIP TrunksManage SIP trunk connections
SIP AccountsManage SIP accounts
MembersManage workspace members
TeamsManage agent teams
AgentsManage call center agents
Voice AgentsManage AI voice agents
AudiosManage audio files
WebhooksManage webhook endpoints