agents
channels.twilio.numbers
agents.test
conversations
data_sources
events
incidents
insights
insights.folders
insights.workflows
insights.tools
custom_messages
prompts
session_labels
sessions.transcript
sessions.full-summary
sessions.latency
session_debug
channels.targets
directory
dashboards
outbound.batches
- GETList Outbound Communication Batches
- POSTCreate Outbound Communication Batch
- GETGet Outbound Communication Batch
- PUTUpdate Outbound Communication Batch
- DELDelete Outbound Communication Batch
- POSTUpload Outbound Communication Batch
- GETFetch Outbound Communication Batch Results
- POSTCreate Outbound Communication Request
- POSTDelete Requests By List Of Reference Ids
outbound.campaigns
language_groups
directory
Create Directory Member
Create a new member in the directory
POST
/
api
/
v1
/
directory_members
curl --request POST \
--url https://api.syllable.cloud/api/v1/directory_members/ \
--header 'Content-Type: application/json' \
--header 'Syllable-API-Key: <api-key>' \
--data '{
"name": "Jane Doe",
"type": "contact",
"extensions": [
{
"name": "work",
"numbers": [
{
"number": "+1234567890",
"rules": [
{
"language": "en"
}
]
}
]
}
],
"contact_tags": {},
"updated_at": "2023-11-07T05:31:56Z",
"last_updated_by": "<string>"
}'
{
"name": "Jane Doe",
"type": "contact",
"extensions": [
{
"name": "work",
"numbers": [
{
"number": "+1234567890",
"rules": [
{
"language": "en"
}
]
}
]
}
],
"contact_tags": {},
"updated_at": "2023-11-07T05:31:56Z",
"last_updated_by": "<string>",
"id": 1
}
Authorizations
Body
application/json
Request model to create a directory member.
Response
200
application/json
Successful Response
Model for a directory member (i.e. a contact).
curl --request POST \
--url https://api.syllable.cloud/api/v1/directory_members/ \
--header 'Content-Type: application/json' \
--header 'Syllable-API-Key: <api-key>' \
--data '{
"name": "Jane Doe",
"type": "contact",
"extensions": [
{
"name": "work",
"numbers": [
{
"number": "+1234567890",
"rules": [
{
"language": "en"
}
]
}
]
}
],
"contact_tags": {},
"updated_at": "2023-11-07T05:31:56Z",
"last_updated_by": "<string>"
}'
{
"name": "Jane Doe",
"type": "contact",
"extensions": [
{
"name": "work",
"numbers": [
{
"number": "+1234567890",
"rules": [
{
"language": "en"
}
]
}
]
}
],
"contact_tags": {},
"updated_at": "2023-11-07T05:31:56Z",
"last_updated_by": "<string>",
"id": 1
}