Create a notification profile
POST/notification_profiles
Create a notification profile.
Request
- application/json
Body
Add a Notification Profile
name string
A human readable name.
Responses
200: A Notification Profile response
- application/json
default: Unexpected error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/notification_profiles' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"name": "string"
}'
Response samples
{
"data": {
"id": "12455643-3cf1-4683-ad23-1cd32f7d5e0a",
"name": "string",
"created_at": "2019-10-15T10:07:15.527Z",
"updated_at": "2019-10-15T10:07:15.527Z"
}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}