prepaid.ai docs
StatusOpen the console

API reference / Endpoints

Numbers

Every phone number the workspace has held.

GET/api/v1/numbers

Every number the workspace has ever held, released ones included.

Requestbash
curl https://app.prepaid.ai/api/v1/numbers \
  -H "Authorization: Bearer pk_live_your_key_here"
Responsejson
{
  "workspaceId": "3f6c1e70-9a4d-4a58-b6a2-2f0f0f9d1c11",
  "numbers": [
    {
      "e164": "+6448872813",
      "country": "NZ",
      "status": "active",
      "agentId": "0f2c9f5a-2b31-4a7e-9c11-8a1f5d3e7b20"
    }
  ]
}
FieldTypeDescription
e164 requiredstringThe number in E.164, unformatted.
country requiredstringISO-2 country code.
status requiredstringWhere the number is in its lifecycle.
agentId requiredstring | nullThe agent answering this line, or null when nothing is attached.