TODO: Resource-level docs
Path parameters
-
Minimum length is
34, maximum length is34. Format should match the following pattern:^IS[0-9a-fA-F]{32}$. -
Minimum length is
34, maximum length is34. Format should match the following pattern:^RL[0-9a-fA-F]{32}$.
POST
/v2/Services/{ServiceSid}/Roles/{Sid}
curl \
--request POST 'https://ip-messaging.twilio.com/v2/Services/{ServiceSid}/Roles/{Sid}' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'Permission=string'
Response examples (200)
{
"account_sid": "string",
"date_created": "2026-05-04T09:42:00Z",
"date_updated": "2026-05-04T09:42:00Z",
"friendly_name": "string",
"permissions": [
"string"
],
"service_sid": "string",
"sid": "string",
"type": "channel",
"url": "https://example.com"
}