Create service

POST /v2/Services

TODO: Resource-level docs

Body

Responses

POST /v2/Services
curl \
 -X POST https://ip-messaging.twilio.com/v2/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",
  "consumption_report_interval": 42,
  "date_created": "2023-05-04T09:42:00+00:00",
  "date_updated": "2023-05-04T09:42:00+00:00",
  "default_channel_creator_role_sid": "string",
  "default_channel_role_sid": "string",
  "default_service_role_sid": "string",
  "friendly_name": "string",
  "links": {},
  "post_webhook_retry_count": 42,
  "post_webhook_url": "string",
  "pre_webhook_retry_count": 42,
  "pre_webhook_url": "string",
  "reachability_enabled": true,
  "read_status_enabled": true,
  "sid": "string",
  "typing_indicator_timeout": 42,
  "url": "https://example.com",
  "webhook_filters": [
    "string"
  ],
  "webhook_method": "string"
}
Response examples (201)
{
  "account_sid": "string",
  "consumption_report_interval": 42,
  "date_created": "2024-05-04T09:42:00+00:00",
  "date_updated": "2024-05-04T09:42:00+00:00",
  "default_channel_creator_role_sid": "string",
  "default_channel_role_sid": "string",
  "default_service_role_sid": "string",
  "friendly_name": "string",
  "links": {},
  "post_webhook_retry_count": 42,
  "post_webhook_url": "string",
  "pre_webhook_retry_count": 42,
  "pre_webhook_url": "string",
  "reachability_enabled": true,
  "read_status_enabled": true,
  "sid": "string",
  "typing_indicator_timeout": 42,
  "url": "https://example.com",
  "webhook_filters": [
    "string"
  ],
  "webhook_method": "string"
}