Telephone | Baack docs
Telephone
Endpoints
ReadGET/n/v1/telephone/{urn}
Endpoint handling telephone numbers typically associated with an identity.
Notes
- Telephone number values are not currently validated for a standard format like international dialling code.
- As with other identity concepts creation will deduplicate existing representations and will return an existing object if the exact value match exists.
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Responses
curl -H "Authorization: Bearer $BAACK_API_TOKEN" \ https://api.baack.co/n/v1/telephone/{urn}UpdatePUT/n/v1/telephone/{urn}
Endpoint handling telephone numbers typically associated with an identity.
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Request body: Telephone
Responses
DeleteDELETE/n/v1/telephone/{urn}
Endpoint handling telephone numbers typically associated with an identity.
Parameters
urn(path, required)String representation of a Unique Resource Name. Typically a UUID with 36 characters.
Responses
- 202
DELETE_SUCCESS
Webhook
POSTyour destination URL
Subject: TELEPHONE
Webhook for events related to association of a telephone number with an identity.
Listen to telephone number events in order to trigger experiences like updating contact information for a customer or phone number verification.
Body: Webhook Event
Your response
- 200
- Return 200 status to indicate that data was received successfully
Fields
| Field | Type | Description |
|---|---|---|
| urn | string (uuid) | |
| number | string | Required on create. . |
| identity | Identity | Required on create. . |
| type | string | Optional. |
| url | string (uri) |
Used by: Identity