Create a new Entity for the Service
TODO: Resource-level docs
Create a new Entity for the Service
Path parameters
-
The unique SID identifier of the Service.
Body
-
The unique external identifier for the Entity of the Service. This identifier should be immutable, not PII, length between 8 and 64 characters, and generated by your external system, such as your user's UUID, GUID, or SID. It can only contain dash (-) separated alphanumeric characters.
POST /v2/Services/{ServiceSid}/Entities
curl \
-X POST https://verify.twilio.com/v2/Services/{ServiceSid}/Entities \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'Identity=string'
Request example
{
"Identity": "string"
}
Request examples
{
"Identity": "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",
"identity": "string",
"links": {},
"service_sid": "string",
"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",
"identity": "string",
"links": {},
"service_sid": "string",
"sid": "string",
"url": "https://example.com"
}