cURL
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": {} }
/phone_numbers/:id operation on PhoneNumber resource
JWT for bearer authentication
Relationship paths to include in the response
^()(,())*$
Limits the response fields to only those listed for each type
Show child attributes
{ "PhoneNumber": "id,phone_e164,label" }
Success
A "Resource object" representing a PhoneNumber
Was this page helpful?