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

Documentation Index

Fetch the complete documentation index at: https://sippet.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT for bearer authentication

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" }

Body

application/vnd.api+json

Request body for the /phone_numbers operation on PhoneNumber resource

data
object
required

Response

Success

data
object

A "Resource object" representing a PhoneNumber

included
any[]
meta
object