Skip to main content

Quickstart

Get up and running with the Firetell API in just a few minutes.

Prerequisites

Step 1: Find Your Workspace Domain

Each workspace has its own API domain. To find yours:

  1. Log in to Firetell Console
  2. Select your workspace
  3. Go to Workspace SettingsGeneral
  4. Note the Domain value (e.g., yourcompany)

Your API base URL will be:

https://yourcompany.firetell.app/api/1.0
tip

Replace yourcompany in all the examples below with your actual workspace domain.

Step 2: List Phone Numbers

Verify your API key works by listing the phone numbers in your workspace:

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

Response:

{
"data": [
{
"_id": "pn_abc123",
"number": "+84901234567",
"type": "local",
"status": "active"
}
],
"total": 1,
"page": 1,
"limit": 20
}

Step 3: Make a Call

Initiate an outbound call:

curl -X POST "https://yourcompany.firetell.app/api/1.0/call" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "+84901234567",
"to": "+84909876543"
}'

What's Next?

Now that you've made your first API call, explore the full capabilities: