Skip to main content
GET
/
api
/
phone_numbers
/
{id}
GET /api/phone_numbers/{id}
curl --request GET \
  --url https://api.sippet.ai/api/phone_numbers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "type": "<string>",
    "attributes": {
      "phone_e164": "<string>",
      "label": "<string>"
    },
    "relationships": {
      "organisation": {
        "data": {
          "id": "<string>",
          "type": "<string>",
          "meta": {}
        }
      }
    }
  },
  "included": [
    "<unknown>"
  ],
  "meta": {}
}

Authorizations

Authorization
string
header
required

JWT for bearer authentication

Path Parameters

id
string
required

Query Parameters

include
string

Relationship paths to include in the response

Pattern: ^()(,())*$
fields
object

Limits the response fields to only those listed for each type

Example:
{ "PhoneNumber": "id,phone_e164,label" }

Response

Success

data
object

A "Resource object" representing a PhoneNumber

included
any[]
meta
object