A service for (fetch/create/delete) A2P Campaign for a Messaging Service
Path parameters
-
The SID of the Messaging Service to fetch the resource from.
Minimum length is
34, maximum length is34. Format should match the following pattern:^MG[0-9a-fA-F]{32}$.
GET
/v1/Services/{MessagingServiceSid}/Compliance/Usa2p
curl \
--request GET 'https://messaging.twilio.com/v1/Services/{MessagingServiceSid}/Compliance/Usa2p' \
--user "username:password"
Response examples (200)
{
"compliance": [
{
"account_sid": "string",
"brand_registration_sid": "string",
"campaign_id": "string",
"campaign_status": "string",
"date_created": "2026-05-04T09:42:00Z",
"date_updated": "2026-05-04T09:42:00Z",
"description": "string",
"has_embedded_links": true,
"has_embedded_phone": true,
"is_externally_registered": true,
"message_samples": [
"string"
],
"messaging_service_sid": "string",
"mock": true,
"sid": "string",
"url": "https://example.com",
"us_app_to_person_usecase": "string"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}