Create a new conversation service on your account
A Service resource is a top-level conversation resource container that serves as a data silo.
Create a new conversation service on your account
Body
-
The human-readable name of this service, limited to 256 characters. Optional.
POST /v1/Services
curl \
-X POST https://conversations.twilio.com/v1/Services \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'FriendlyName=string'
Request example
{
"FriendlyName": "string"
}
Request examples
{
"FriendlyName": "string"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"friendly_name": "string",
"links": {},
"sid": "string",
"url": "https://example.com"
}
Response examples (201)
{
"account_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"friendly_name": "string",
"links": {},
"sid": "string",
"url": "https://example.com"
}