{"files":{"SKILL.md":"---\nname: twilio-messaging\ndescription: \"Twilio - Messaging API skill. Use when working with Twilio - Messaging for Services, a2p, Deactivations. Covers 58 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Twilio - Messaging\nAPI version: 1.0.0\n\n## Auth\nBearer basic\n\n## Base URL\nhttps://messaging.twilio.com\n\n## Setup\n1. Set Authorization header with Bearer token\n2. GET /v1/a2p/BrandRegistrations -- verify access\n3. POST /v1/Services/{ServiceSid}/AlphaSenders -- create first AlphaSender\n\n## Endpoints\n58 endpoints across 5 groups. See references/api-spec.lap for full details.\n\n### Services\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /v1/Services/{ServiceSid}/AlphaSenders |  |\n| GET | /v1/Services/{ServiceSid}/AlphaSenders |  |\n| GET | /v1/Services/{ServiceSid}/AlphaSenders/{Sid} |  |\n| DELETE | /v1/Services/{ServiceSid}/AlphaSenders/{Sid} |  |\n| GET | /v1/Services/{MessagingServiceSid}/ChannelSenders |  |\n| POST | /v1/Services/{MessagingServiceSid}/ChannelSenders |  |\n| GET | /v1/Services/{MessagingServiceSid}/ChannelSenders/{Sid} |  |\n| DELETE | /v1/Services/{MessagingServiceSid}/ChannelSenders/{Sid} |  |\n| POST | /v1/Services/{ServiceSid}/DestinationAlphaSenders |  |\n| GET | /v1/Services/{ServiceSid}/DestinationAlphaSenders |  |\n| GET | /v1/Services/{ServiceSid}/DestinationAlphaSenders/{Sid} |  |\n| DELETE | /v1/Services/{ServiceSid}/DestinationAlphaSenders/{Sid} |  |\n| POST | /v1/Services/PreregisteredUsa2p |  |\n| POST | /v1/Services/{ServiceSid}/PhoneNumbers |  |\n| GET | /v1/Services/{ServiceSid}/PhoneNumbers |  |\n| DELETE | /v1/Services/{ServiceSid}/PhoneNumbers/{Sid} |  |\n| GET | /v1/Services/{ServiceSid}/PhoneNumbers/{Sid} |  |\n| POST | /v1/Services |  |\n| GET | /v1/Services |  |\n| POST | /v1/Services/{Sid} |  |\n| GET | /v1/Services/{Sid} |  |\n| DELETE | /v1/Services/{Sid} |  |\n| POST | /v1/Services/{ServiceSid}/ShortCodes |  |\n| GET | /v1/Services/{ServiceSid}/ShortCodes |  |\n| DELETE | /v1/Services/{ServiceSid}/ShortCodes/{Sid} |  |\n| GET | /v1/Services/{ServiceSid}/ShortCodes/{Sid} |  |\n| POST | /v1/Services/{MessagingServiceSid}/Compliance/Usa2p |  |\n| GET | /v1/Services/{MessagingServiceSid}/Compliance/Usa2p |  |\n| DELETE | /v1/Services/{MessagingServiceSid}/Compliance/Usa2p/{Sid} |  |\n| GET | /v1/Services/{MessagingServiceSid}/Compliance/Usa2p/{Sid} |  |\n| POST | /v1/Services/{MessagingServiceSid}/Compliance/Usa2p/{Sid} |  |\n| GET | /v1/Services/{MessagingServiceSid}/Compliance/Usa2p/Usecases |  |\n| GET | /v1/Services/Usecases |  |\n\n### A2p\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /v1/a2p/BrandRegistrations/{BrandRegistrationSid}/SmsOtp |  |\n| GET | /v1/a2p/BrandRegistrations/{Sid} |  |\n| POST | /v1/a2p/BrandRegistrations/{Sid} |  |\n| GET | /v1/a2p/BrandRegistrations |  |\n| POST | /v1/a2p/BrandRegistrations |  |\n| POST | /v1/a2p/BrandRegistrations/{BrandSid}/Vettings |  |\n| GET | /v1/a2p/BrandRegistrations/{BrandSid}/Vettings |  |\n| GET | /v1/a2p/BrandRegistrations/{BrandSid}/Vettings/{BrandVettingSid} |  |\n\n### Deactivations\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /v1/Deactivations | Fetch a list of all United States numbers that have been deactivated on a specific date. |\n\n### LinkShortening\n| Method | Path | Description |\n|--------|------|-------------|\n| POST | /v1/LinkShortening/Domains/{DomainSid}/Certificate |  |\n| GET | /v1/LinkShortening/Domains/{DomainSid}/Certificate |  |\n| DELETE | /v1/LinkShortening/Domains/{DomainSid}/Certificate |  |\n| POST | /v1/LinkShortening/Domains/{DomainSid}/Config |  |\n| GET | /v1/LinkShortening/Domains/{DomainSid}/Config |  |\n| GET | /v1/LinkShortening/MessagingService/{MessagingServiceSid}/DomainConfig |  |\n| GET | /v1/LinkShortening/Domains/{DomainSid}/ValidateDns |  |\n| POST | /v1/LinkShortening/Domains/{DomainSid}/MessagingServices/{MessagingServiceSid} |  |\n| DELETE | /v1/LinkShortening/Domains/{DomainSid}/MessagingServices/{MessagingServiceSid} |  |\n| GET | /v1/LinkShortening/MessagingServices/{MessagingServiceSid}/Domain |  |\n| POST | /v1/LinkShortening/Domains/{DomainSid}/RequestManagedCert |  |\n\n### Tollfree\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /v1/Tollfree/Verifications/{Sid} | Retrieve a tollfree verification |\n| POST | /v1/Tollfree/Verifications/{Sid} | Edit a tollfree verification |\n| DELETE | /v1/Tollfree/Verifications/{Sid} | Delete a tollfree verification |\n| GET | /v1/Tollfree/Verifications | List tollfree verifications |\n| POST | /v1/Tollfree/Verifications | Create a tollfree verification |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Create a AlphaSender?\" -> POST /v1/Services/{ServiceSid}/AlphaSenders\n- \"List all AlphaSenders?\" -> GET /v1/Services/{ServiceSid}/AlphaSenders\n- \"Get AlphaSender details?\" -> GET /v1/Services/{ServiceSid}/AlphaSenders/{Sid}\n- \"Delete a AlphaSender?\" -> DELETE /v1/Services/{ServiceSid}/AlphaSenders/{Sid}\n- \"Create a SmsOtp?\" -> POST /v1/a2p/BrandRegistrations/{BrandRegistrationSid}/SmsOtp\n- \"Get BrandRegistration details?\" -> GET /v1/a2p/BrandRegistrations/{Sid}\n- \"List all BrandRegistrations?\" -> GET /v1/a2p/BrandRegistrations\n- \"Create a BrandRegistration?\" -> POST /v1/a2p/BrandRegistrations\n- \"Create a Vetting?\" -> POST /v1/a2p/BrandRegistrations/{BrandSid}/Vettings\n- \"List all Vettings?\" -> GET /v1/a2p/BrandRegistrations/{BrandSid}/Vettings\n- \"Get Vetting details?\" -> GET /v1/a2p/BrandRegistrations/{BrandSid}/Vettings/{BrandVettingSid}\n- \"List all ChannelSenders?\" -> GET /v1/Services/{MessagingServiceSid}/ChannelSenders\n- \"Create a ChannelSender?\" -> POST /v1/Services/{MessagingServiceSid}/ChannelSenders\n- \"Get ChannelSender details?\" -> GET /v1/Services/{MessagingServiceSid}/ChannelSenders/{Sid}\n- \"Delete a ChannelSender?\" -> DELETE /v1/Services/{MessagingServiceSid}/ChannelSenders/{Sid}\n- \"List all Deactivations?\" -> GET /v1/Deactivations\n- \"Create a DestinationAlphaSender?\" -> POST /v1/Services/{ServiceSid}/DestinationAlphaSenders\n- \"List all DestinationAlphaSenders?\" -> GET /v1/Services/{ServiceSid}/DestinationAlphaSenders\n- \"Get DestinationAlphaSender details?\" -> GET /v1/Services/{ServiceSid}/DestinationAlphaSenders/{Sid}\n- \"Delete a DestinationAlphaSender?\" -> DELETE /v1/Services/{ServiceSid}/DestinationAlphaSenders/{Sid}\n- \"Create a Certificate?\" -> POST /v1/LinkShortening/Domains/{DomainSid}/Certificate\n- \"List all Certificate?\" -> GET /v1/LinkShortening/Domains/{DomainSid}/Certificate\n- \"Create a Config?\" -> POST /v1/LinkShortening/Domains/{DomainSid}/Config\n- \"List all Config?\" -> GET /v1/LinkShortening/Domains/{DomainSid}/Config\n- \"List all DomainConfig?\" -> GET /v1/LinkShortening/MessagingService/{MessagingServiceSid}/DomainConfig\n- \"List all ValidateDns?\" -> GET /v1/LinkShortening/Domains/{DomainSid}/ValidateDns\n- \"Create a PreregisteredUsa2p?\" -> POST /v1/Services/PreregisteredUsa2p\n- \"Delete a MessagingService?\" -> DELETE /v1/LinkShortening/Domains/{DomainSid}/MessagingServices/{MessagingServiceSid}\n- \"List all Domain?\" -> GET /v1/LinkShortening/MessagingServices/{MessagingServiceSid}/Domain\n- \"Create a PhoneNumber?\" -> POST /v1/Services/{ServiceSid}/PhoneNumbers\n- \"List all PhoneNumbers?\" -> GET /v1/Services/{ServiceSid}/PhoneNumbers\n- \"Delete a PhoneNumber?\" -> DELETE /v1/Services/{ServiceSid}/PhoneNumbers/{Sid}\n- \"Get PhoneNumber details?\" -> GET /v1/Services/{ServiceSid}/PhoneNumbers/{Sid}\n- \"Create a RequestManagedCert?\" -> POST /v1/LinkShortening/Domains/{DomainSid}/RequestManagedCert\n- \"Create a Service?\" -> POST /v1/Services\n- \"List all Services?\" -> GET /v1/Services\n- \"Get Service details?\" -> GET /v1/Services/{Sid}\n- \"Delete a Service?\" -> DELETE /v1/Services/{Sid}\n- \"Create a ShortCode?\" -> POST /v1/Services/{ServiceSid}/ShortCodes\n- \"List all ShortCodes?\" -> GET /v1/Services/{ServiceSid}/ShortCodes\n- \"Delete a ShortCode?\" -> DELETE /v1/Services/{ServiceSid}/ShortCodes/{Sid}\n- \"Get ShortCode details?\" -> GET /v1/Services/{ServiceSid}/ShortCodes/{Sid}\n- \"Get Verification details?\" -> GET /v1/Tollfree/Verifications/{Sid}\n- \"Delete a Verification?\" -> DELETE /v1/Tollfree/Verifications/{Sid}\n- \"List all Verifications?\" -> GET /v1/Tollfree/Verifications\n- \"Create a Verification?\" -> POST /v1/Tollfree/Verifications\n- \"Create a Usa2p?\" -> POST /v1/Services/{MessagingServiceSid}/Compliance/Usa2p\n- \"List all Usa2p?\" -> GET /v1/Services/{MessagingServiceSid}/Compliance/Usa2p\n- \"Delete a Usa2p?\" -> DELETE /v1/Services/{MessagingServiceSid}/Compliance/Usa2p/{Sid}\n- \"Get Usa2p details?\" -> GET /v1/Services/{MessagingServiceSid}/Compliance/Usa2p/{Sid}\n- \"List all Usecases?\" -> GET /v1/Services/{MessagingServiceSid}/Compliance/Usa2p/Usecases\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Paginated endpoints accept limit/offset or cursor parameters\n- Create/update endpoints return the modified resource on success\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Twilio - Messaging\n@base https://messaging.twilio.com\n@version 1.0.0\n@auth Bearer basic\n@endpoints 58\n@hint download_for_search\n@toc Services(33), a2p(8), Deactivations(1), LinkShortening(11), Tollfree(5)\n\n@group Services\n@endpoint POST /v1/Services/{ServiceSid}/AlphaSenders\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to create the resource under.}\n@returns(201) {sid: str?, account_sid: str?, service_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, alpha_sender: str?, capabilities: [str]?, url: str(uri)?} # Created\n\n@endpoint GET /v1/Services/{ServiceSid}/AlphaSenders\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to read the resources from.}\n@optional {PageSize: int(int64) # How many resources to return in each list page. The default is 50, and the maximum is 1000., Page: int # The page index. This value is simply for client state., PageToken: str # The page token. This is provided by the API.}\n@returns(200) {alpha_senders: [map], meta: map{first_page_url: str(uri), key: str, next_page_url: str(uri)?, page: int, page_size: int, previous_page_url: str(uri)?, url: str(uri)}} # OK\n\n@endpoint GET /v1/Services/{ServiceSid}/AlphaSenders/{Sid}\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to fetch the resource from., Sid: str # The SID of the AlphaSender resource to fetch.}\n@returns(200) {sid: str?, account_sid: str?, service_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, alpha_sender: str?, capabilities: [str]?, url: str(uri)?} # OK\n\n@endpoint DELETE /v1/Services/{ServiceSid}/AlphaSenders/{Sid}\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to delete the resource from., Sid: str # The SID of the AlphaSender resource to delete.}\n@returns(204) The resource was deleted successfully.\n\n@endgroup\n\n@group a2p\n@endpoint POST /v1/a2p/BrandRegistrations/{BrandRegistrationSid}/SmsOtp\n@required {BrandRegistrationSid: str # Brand Registration Sid of Sole Proprietor Brand.}\n@returns(201) {account_sid: str?, brand_registration_sid: str?} # Created\n\n@endpoint GET /v1/a2p/BrandRegistrations/{Sid}\n@required {Sid: str # The SID of the Brand Registration resource to fetch.}\n@returns(200) {sid: str?, account_sid: str?, customer_profile_bundle_sid: str?, a2p_profile_bundle_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, brand_type: str?, status: str, tcr_id: str?, failure_reason: str?, errors: [any]?, url: str(uri)?, brand_score: int?, brand_feedback: [str]?, identity_status: str, russell_3000: bool?, government_entity: bool?, tax_exempt_status: str?, skip_automatic_sec_vet: bool?, mock: bool?, links: map?} # OK\n\n@endpoint POST /v1/a2p/BrandRegistrations/{Sid}\n@required {Sid: str # The SID of the Brand Registration resource to update.}\n@returns(202) {sid: str?, account_sid: str?, customer_profile_bundle_sid: str?, a2p_profile_bundle_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, brand_type: str?, status: str, tcr_id: str?, failure_reason: str?, errors: [any]?, url: str(uri)?, brand_score: int?, brand_feedback: [str]?, identity_status: str, russell_3000: bool?, government_entity: bool?, tax_exempt_status: str?, skip_automatic_sec_vet: bool?, mock: bool?, links: map?} # Accepted\n\n@endpoint GET /v1/a2p/BrandRegistrations\n@optional {PageSize: int(int64) # How many resources to return in each list page. The default is 50, and the maximum is 1000., Page: int # The page index. This value is simply for client state., PageToken: str # The page token. This is provided by the API.}\n@returns(200) {data: [map], meta: map{first_page_url: str(uri), key: str, next_page_url: str(uri)?, page: int, page_size: int, previous_page_url: str(uri)?, url: str(uri)}} # OK\n\n@endpoint POST /v1/a2p/BrandRegistrations\n@returns(201) {sid: str?, account_sid: str?, customer_profile_bundle_sid: str?, a2p_profile_bundle_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, brand_type: str?, status: str, tcr_id: str?, failure_reason: str?, errors: [any]?, url: str(uri)?, brand_score: int?, brand_feedback: [str]?, identity_status: str, russell_3000: bool?, government_entity: bool?, tax_exempt_status: str?, skip_automatic_sec_vet: bool?, mock: bool?, links: map?} # Created\n\n@endpoint POST /v1/a2p/BrandRegistrations/{BrandSid}/Vettings\n@required {BrandSid: str # The SID of the Brand Registration resource of the vettings to create .}\n@returns(201) {account_sid: str?, brand_sid: str?, brand_vetting_sid: str?, date_updated: str(date-time)?, date_created: str(date-time)?, vetting_id: str?, vetting_class: str?, vetting_status: str?, vetting_provider: str, url: str(uri)?} # Created\n@returns(202) {account_sid: str?, brand_sid: str?, brand_vetting_sid: str?, date_updated: str(date-time)?, date_created: str(date-time)?, vetting_id: str?, vetting_class: str?, vetting_status: str?, vetting_provider: str, url: str(uri)?} # Accepted\n\n@endpoint GET /v1/a2p/BrandRegistrations/{BrandSid}/Vettings\n@required {BrandSid: str # The SID of the Brand Registration resource of the vettings to read .}\n@optional {VettingProvider: str # The third-party provider of the vettings to read}\n@returns(200) {data: [map], meta: map{first_page_url: str(uri), key: str, next_page_url: str(uri)?, page: int, page_size: int, previous_page_url: str(uri)?, url: str(uri)}} # OK\n\n@endpoint GET /v1/a2p/BrandRegistrations/{BrandSid}/Vettings/{BrandVettingSid}\n@required {BrandSid: str # The SID of the Brand Registration resource of the vettings to read ., BrandVettingSid: str # The Twilio SID of the third-party vetting record.}\n@returns(200) {account_sid: str?, brand_sid: str?, brand_vetting_sid: str?, date_updated: str(date-time)?, date_created: str(date-time)?, vetting_id: str?, vetting_class: str?, vetting_status: str?, vetting_provider: str, url: str(uri)?} # OK\n\n@endgroup\n\n@group Services\n@endpoint GET /v1/Services/{MessagingServiceSid}/ChannelSenders\n@required {MessagingServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to read the resources from.}\n@optional {PageSize: int(int64) # How many resources to return in each list page. The default is 50, and the maximum is 1000., Page: int # The page index. This value is simply for client state., PageToken: str # The page token. This is provided by the API.}\n@returns(200) {senders: [map], meta: map{first_page_url: str(uri), key: str, next_page_url: str(uri)?, page: int, page_size: int, previous_page_url: str(uri)?, url: str(uri)}} # OK\n\n@endpoint POST /v1/Services/{MessagingServiceSid}/ChannelSenders\n@required {MessagingServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to create the resource under.}\n@returns(201) {account_sid: str?, messaging_service_sid: str?, sid: str?, sender: str?, sender_type: str?, country_code: str?, date_created: str(date-time)?, date_updated: str(date-time)?, url: str(uri)?} # Created\n\n@endpoint GET /v1/Services/{MessagingServiceSid}/ChannelSenders/{Sid}\n@required {MessagingServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to fetch the resource from., Sid: str # The SID of the ChannelSender resource to fetch.}\n@returns(200) {account_sid: str?, messaging_service_sid: str?, sid: str?, sender: str?, sender_type: str?, country_code: str?, date_created: str(date-time)?, date_updated: str(date-time)?, url: str(uri)?} # OK\n\n@endpoint DELETE /v1/Services/{MessagingServiceSid}/ChannelSenders/{Sid}\n@required {MessagingServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to delete the resource from., Sid: str # The SID of the Channel Sender resource to delete.}\n@returns(204) The resource was deleted successfully.\n\n@endgroup\n\n@group Deactivations\n@endpoint GET /v1/Deactivations\n@desc Fetch a list of all United States numbers that have been deactivated on a specific date.\n@optional {Date: str(date) # The request will return a list of all United States Phone Numbers that were deactivated on the day specified by this parameter. This date should be specified in YYYY-MM-DD format.}\n@errors {307: Temporary Redirect}\n\n@endgroup\n\n@group Services\n@endpoint POST /v1/Services/{ServiceSid}/DestinationAlphaSenders\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to create the resource under.}\n@returns(201) {sid: str?, account_sid: str?, service_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, alpha_sender: str?, capabilities: [str]?, url: str(uri)?, iso_country_code: str?} # Created\n\n@endpoint GET /v1/Services/{ServiceSid}/DestinationAlphaSenders\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to read the resources from.}\n@optional {IsoCountryCode: str # Optional filter to return only alphanumeric sender IDs associated with the specified two-character ISO country code., PageSize: int(int64) # How many resources to return in each list page. The default is 50, and the maximum is 1000., Page: int # The page index. This value is simply for client state., PageToken: str # The page token. This is provided by the API.}\n@returns(200) {alpha_senders: [map], meta: map{first_page_url: str(uri), key: str, next_page_url: str(uri)?, page: int, page_size: int, previous_page_url: str(uri)?, url: str(uri)}} # OK\n\n@endpoint GET /v1/Services/{ServiceSid}/DestinationAlphaSenders/{Sid}\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to fetch the resource from., Sid: str # The SID of the AlphaSender resource to fetch.}\n@returns(200) {sid: str?, account_sid: str?, service_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, alpha_sender: str?, capabilities: [str]?, url: str(uri)?, iso_country_code: str?} # OK\n\n@endpoint DELETE /v1/Services/{ServiceSid}/DestinationAlphaSenders/{Sid}\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to delete the resource from., Sid: str # The SID of the AlphaSender resource to delete.}\n@returns(204) The resource was deleted successfully.\n\n@endgroup\n\n@group LinkShortening\n@endpoint POST /v1/LinkShortening/Domains/{DomainSid}/Certificate\n@required {DomainSid: str # Unique string used to identify the domain that this certificate should be associated with.}\n@returns(200) {domain_sid: str?, date_updated: str(date-time)?, date_expires: str(date-time)?, date_created: str(date-time)?, domain_name: str(uri)?, certificate_sid: str?, url: str(uri)?, cert_in_validation: any?} # OK\n@returns(201) {domain_sid: str?, date_updated: str(date-time)?, date_expires: str(date-time)?, date_created: str(date-time)?, domain_name: str(uri)?, certificate_sid: str?, url: str(uri)?, cert_in_validation: any?} # Created\n\n@endpoint GET /v1/LinkShortening/Domains/{DomainSid}/Certificate\n@required {DomainSid: str # Unique string used to identify the domain that this certificate should be associated with.}\n@returns(200) {domain_sid: str?, date_updated: str(date-time)?, date_expires: str(date-time)?, date_created: str(date-time)?, domain_name: str(uri)?, certificate_sid: str?, url: str(uri)?, cert_in_validation: any?} # OK\n\n@endpoint DELETE /v1/LinkShortening/Domains/{DomainSid}/Certificate\n@required {DomainSid: str # Unique string used to identify the domain that this certificate should be associated with.}\n@returns(204) The resource was deleted successfully.\n\n@endpoint POST /v1/LinkShortening/Domains/{DomainSid}/Config\n@required {DomainSid: str # Unique string used to identify the domain that this config should be associated with.}\n@returns(200) {domain_sid: str?, config_sid: str?, fallback_url: str(uri)?, callback_url: str(uri)?, continue_on_failure: bool?, date_created: str(date-time)?, date_updated: str(date-time)?, url: str(uri)?, disable_https: bool?} # OK\n@returns(201) {domain_sid: str?, config_sid: str?, fallback_url: str(uri)?, callback_url: str(uri)?, continue_on_failure: bool?, date_created: str(date-time)?, date_updated: str(date-time)?, url: str(uri)?, disable_https: bool?} # Created\n\n@endpoint GET /v1/LinkShortening/Domains/{DomainSid}/Config\n@required {DomainSid: str # Unique string used to identify the domain that this config should be associated with.}\n@returns(200) {domain_sid: str?, config_sid: str?, fallback_url: str(uri)?, callback_url: str(uri)?, continue_on_failure: bool?, date_created: str(date-time)?, date_updated: str(date-time)?, url: str(uri)?, disable_https: bool?} # OK\n\n@endpoint GET /v1/LinkShortening/MessagingService/{MessagingServiceSid}/DomainConfig\n@required {MessagingServiceSid: str # Unique string used to identify the Messaging service that this domain should be associated with.}\n@returns(200) {domain_sid: str?, config_sid: str?, messaging_service_sid: str?, fallback_url: str(uri)?, callback_url: str(uri)?, continue_on_failure: bool?, date_created: str(date-time)?, date_updated: str(date-time)?, url: str(uri)?} # OK\n\n@endpoint GET /v1/LinkShortening/Domains/{DomainSid}/ValidateDns\n@required {DomainSid: str # Unique string used to identify the domain.}\n@returns(200) {domain_sid: str?, is_valid: bool?, reason: str?, url: str(uri)?} # OK\n\n@endgroup\n\n@group Services\n@endpoint POST /v1/Services/PreregisteredUsa2p\n@returns(201) {sid: str?, account_sid: str?, campaign_id: str?, messaging_service_sid: str?, date_created: str(date-time)?} # Created\n\n@endgroup\n\n@group LinkShortening\n@endpoint POST /v1/LinkShortening/Domains/{DomainSid}/MessagingServices/{MessagingServiceSid}\n@required {DomainSid: str # The domain SID to associate with a messaging service. With URL shortening enabled, links in messages sent with the associated messaging service will be shortened to the provided domain, MessagingServiceSid: str # A messaging service SID to associate with a domain. With URL shortening enabled, links in messages sent with the provided messaging service will be shortened to the associated domain}\n@returns(201) {domain_sid: str?, messaging_service_sid: str?, url: str(uri)?} # Created\n\n@endpoint DELETE /v1/LinkShortening/Domains/{DomainSid}/MessagingServices/{MessagingServiceSid}\n@required {DomainSid: str # The domain SID to dissociate from a messaging service. With URL shortening enabled, links in messages sent with the associated messaging service will be shortened to the provided domain, MessagingServiceSid: str # A messaging service SID to dissociate from a domain. With URL shortening enabled, links in messages sent with the provided messaging service will be shortened to the associated domain}\n@returns(204) The resource was deleted successfully.\n\n@endpoint GET /v1/LinkShortening/MessagingServices/{MessagingServiceSid}/Domain\n@required {MessagingServiceSid: str # Unique string used to identify the Messaging service that this domain should be associated with.}\n@returns(200) {domain_sid: str?, messaging_service_sid: str?, url: str(uri)?} # OK\n\n@endgroup\n\n@group Services\n@endpoint POST /v1/Services/{ServiceSid}/PhoneNumbers\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to create the resource under.}\n@returns(200) {sid: str?, account_sid: str?, service_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, phone_number: str(phone-number)?, country_code: str?, capabilities: [str]?, url: str(uri)?} # OK\n@returns(201) {sid: str?, account_sid: str?, service_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, phone_number: str(phone-number)?, country_code: str?, capabilities: [str]?, url: str(uri)?} # Created\n\n@endpoint GET /v1/Services/{ServiceSid}/PhoneNumbers\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to read the resources from.}\n@optional {PageSize: int(int64) # How many resources to return in each list page. The default is 50, and the maximum is 1000., Page: int # The page index. This value is simply for client state., PageToken: str # The page token. This is provided by the API.}\n@returns(200) {phone_numbers: [map], meta: map{first_page_url: str(uri), key: str, next_page_url: str(uri)?, page: int, page_size: int, previous_page_url: str(uri)?, url: str(uri)}} # OK\n\n@endpoint DELETE /v1/Services/{ServiceSid}/PhoneNumbers/{Sid}\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to delete the resource from., Sid: str # The SID of the PhoneNumber resource to delete.}\n@returns(204) The resource was deleted successfully.\n\n@endpoint GET /v1/Services/{ServiceSid}/PhoneNumbers/{Sid}\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to fetch the resource from., Sid: str # The SID of the PhoneNumber resource to fetch.}\n@returns(200) {sid: str?, account_sid: str?, service_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, phone_number: str(phone-number)?, country_code: str?, capabilities: [str]?, url: str(uri)?} # OK\n\n@endgroup\n\n@group LinkShortening\n@endpoint POST /v1/LinkShortening/Domains/{DomainSid}/RequestManagedCert\n@required {DomainSid: str # Unique string used to identify the domain that this certificate should be associated with.}\n@returns(200) {domain_sid: str?, date_updated: str(date-time)?, date_created: str(date-time)?, date_expires: str(date-time)?, domain_name: str(uri)?, certificate_sid: str?, url: str(uri)?, managed: bool?, requesting: bool?} # OK\n@returns(201) {domain_sid: str?, date_updated: str(date-time)?, date_created: str(date-time)?, date_expires: str(date-time)?, domain_name: str(uri)?, certificate_sid: str?, url: str(uri)?, managed: bool?, requesting: bool?} # Created\n\n@endgroup\n\n@group Services\n@endpoint POST /v1/Services\n@returns(201) {sid: str?, account_sid: str?, friendly_name: str?, date_created: str(date-time)?, date_updated: str(date-time)?, inbound_request_url: str(uri)?, inbound_method: str(http-method)?, fallback_url: str(uri)?, fallback_method: str(http-method)?, status_callback: str(uri)?, sticky_sender: bool?, mms_converter: bool?, smart_encoding: bool?, scan_message_content: str, fallback_to_long_code: bool?, area_code_geomatch: bool?, synchronous_validation: bool?, validity_period: int, url: str(uri)?, links: map?, usecase: str?, us_app_to_person_registered: bool?, use_inbound_webhook_on_number: bool?} # Created\n\n@endpoint GET /v1/Services\n@optional {PageSize: int(int64) # How many resources to return in each list page. The default is 50, and the maximum is 1000., Page: int # The page index. This value is simply for client state., PageToken: str # The page token. This is provided by the API.}\n@returns(200) {services: [map], meta: map{first_page_url: str(uri), key: str, next_page_url: str(uri)?, page: int, page_size: int, previous_page_url: str(uri)?, url: str(uri)}} # OK\n\n@endpoint POST /v1/Services/{Sid}\n@required {Sid: str # The SID of the Service resource to update.}\n@returns(200) {sid: str?, account_sid: str?, friendly_name: str?, date_created: str(date-time)?, date_updated: str(date-time)?, inbound_request_url: str(uri)?, inbound_method: str(http-method)?, fallback_url: str(uri)?, fallback_method: str(http-method)?, status_callback: str(uri)?, sticky_sender: bool?, mms_converter: bool?, smart_encoding: bool?, scan_message_content: str, fallback_to_long_code: bool?, area_code_geomatch: bool?, synchronous_validation: bool?, validity_period: int, url: str(uri)?, links: map?, usecase: str?, us_app_to_person_registered: bool?, use_inbound_webhook_on_number: bool?} # OK\n\n@endpoint GET /v1/Services/{Sid}\n@required {Sid: str # The SID of the Service resource to fetch.}\n@returns(200) {sid: str?, account_sid: str?, friendly_name: str?, date_created: str(date-time)?, date_updated: str(date-time)?, inbound_request_url: str(uri)?, inbound_method: str(http-method)?, fallback_url: str(uri)?, fallback_method: str(http-method)?, status_callback: str(uri)?, sticky_sender: bool?, mms_converter: bool?, smart_encoding: bool?, scan_message_content: str, fallback_to_long_code: bool?, area_code_geomatch: bool?, synchronous_validation: bool?, validity_period: int, url: str(uri)?, links: map?, usecase: str?, us_app_to_person_registered: bool?, use_inbound_webhook_on_number: bool?} # OK\n\n@endpoint DELETE /v1/Services/{Sid}\n@required {Sid: str # The SID of the Service resource to delete.}\n@returns(204) The resource was deleted successfully.\n\n@endpoint POST /v1/Services/{ServiceSid}/ShortCodes\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to create the resource under.}\n@returns(200) {sid: str?, account_sid: str?, service_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, short_code: str?, country_code: str?, capabilities: [str]?, url: str(uri)?} # OK\n@returns(201) {sid: str?, account_sid: str?, service_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, short_code: str?, country_code: str?, capabilities: [str]?, url: str(uri)?} # Created\n\n@endpoint GET /v1/Services/{ServiceSid}/ShortCodes\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to read the resources from.}\n@optional {PageSize: int(int64) # How many resources to return in each list page. The default is 50, and the maximum is 1000., Page: int # The page index. This value is simply for client state., PageToken: str # The page token. This is provided by the API.}\n@returns(200) {short_codes: [map], meta: map{first_page_url: str(uri), key: str, next_page_url: str(uri)?, page: int, page_size: int, previous_page_url: str(uri)?, url: str(uri)}} # OK\n\n@endpoint DELETE /v1/Services/{ServiceSid}/ShortCodes/{Sid}\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to delete the resource from., Sid: str # The SID of the ShortCode resource to delete.}\n@returns(204) The resource was deleted successfully.\n\n@endpoint GET /v1/Services/{ServiceSid}/ShortCodes/{Sid}\n@required {ServiceSid: str # The SID of the [Service](https://www.twilio.com/docs/chat/rest/service-resource) to fetch the resource from., Sid: str # The SID of the ShortCode resource to fetch.}\n@returns(200) {sid: str?, account_sid: str?, service_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, short_code: str?, country_code: str?, capabilities: [str]?, url: str(uri)?} # OK\n\n@endgroup\n\n@group Tollfree\n@endpoint GET /v1/Tollfree/Verifications/{Sid}\n@desc Retrieve a tollfree verification\n@required {Sid: str # A unique string identifying a Tollfree Verification.}\n@returns(200) {sid: str?, account_sid: str?, customer_profile_sid: str?, trust_product_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, regulated_item_sid: str?, business_name: str?, business_street_address: str?, business_street_address2: str?, business_city: str?, business_state_province_region: str?, business_postal_code: str?, business_country: str?, business_website: str?, business_contact_first_name: str?, business_contact_last_name: str?, business_contact_email: str?, business_contact_phone: str(phone-number)?, notification_email: str?, use_case_categories: [str]?, use_case_summary: str?, production_message_sample: str?, opt_in_image_urls: [str]?, opt_in_type: str, message_volume: str?, additional_information: str?, tollfree_phone_number_sid: str?, tollfree_phone_number: str(phone-number)?, status: str, url: str(uri)?, rejection_reason: str?, error_code: int?, edit_expiration: str(date-time)?, edit_allowed: bool?, business_registration_number: str?, business_registration_authority: str?, business_registration_country: str?, business_type: str?, business_registration_phone_number: str?, doing_business_as: str?, opt_in_confirmation_message: str?, help_message_sample: str?, privacy_policy_url: str(uri)?, terms_and_conditions_url: str(uri)?, age_gated_content: bool?, opt_in_keywords: [str]?, rejection_reasons: [any]?, resource_links: any?, external_reference_id: str?, vetting_id: str?, vetting_provider: str?, vetting_id_expiration: str(date-time)?} # OK\n\n@endpoint POST /v1/Tollfree/Verifications/{Sid}\n@desc Edit a tollfree verification\n@required {Sid: str # The unique string to identify Tollfree Verification.}\n@returns(202) {sid: str?, account_sid: str?, customer_profile_sid: str?, trust_product_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, regulated_item_sid: str?, business_name: str?, business_street_address: str?, business_street_address2: str?, business_city: str?, business_state_province_region: str?, business_postal_code: str?, business_country: str?, business_website: str?, business_contact_first_name: str?, business_contact_last_name: str?, business_contact_email: str?, business_contact_phone: str(phone-number)?, notification_email: str?, use_case_categories: [str]?, use_case_summary: str?, production_message_sample: str?, opt_in_image_urls: [str]?, opt_in_type: str, message_volume: str?, additional_information: str?, tollfree_phone_number_sid: str?, tollfree_phone_number: str(phone-number)?, status: str, url: str(uri)?, rejection_reason: str?, error_code: int?, edit_expiration: str(date-time)?, edit_allowed: bool?, business_registration_number: str?, business_registration_authority: str?, business_registration_country: str?, business_type: str?, business_registration_phone_number: str?, doing_business_as: str?, opt_in_confirmation_message: str?, help_message_sample: str?, privacy_policy_url: str(uri)?, terms_and_conditions_url: str(uri)?, age_gated_content: bool?, opt_in_keywords: [str]?, rejection_reasons: [any]?, resource_links: any?, external_reference_id: str?, vetting_id: str?, vetting_provider: str?, vetting_id_expiration: str(date-time)?} # Accepted\n\n@endpoint DELETE /v1/Tollfree/Verifications/{Sid}\n@desc Delete a tollfree verification\n@required {Sid: str # The unique string to identify Tollfree Verification.}\n@returns(204) The resource was deleted successfully.\n\n@endpoint GET /v1/Tollfree/Verifications\n@desc List tollfree verifications\n@optional {TollfreePhoneNumberSid: str # The SID of the Phone Number associated with the Tollfree Verification., Status: str # The compliance status of the Tollfree Verification record., ExternalReferenceId: str # Customer supplied reference id for the Tollfree Verification record., IncludeSubAccounts: bool # Whether to include Tollfree Verifications from sub accounts in list response., PageSize: int(int64) # How many resources to return in each list page. The default is 50, and the maximum is 1000., Page: int # The page index. This value is simply for client state., PageToken: str # The page token. This is provided by the API., TrustProductSid: [str] # The trust product sids / tollfree bundle sids of tollfree verifications}\n@returns(200) {verifications: [map], meta: map{first_page_url: str(uri), key: str, next_page_url: str(uri)?, page: int, page_size: int, previous_page_url: str(uri)?, url: str(uri)}} # OK\n\n@endpoint POST /v1/Tollfree/Verifications\n@desc Create a tollfree verification\n@returns(201) {sid: str?, account_sid: str?, customer_profile_sid: str?, trust_product_sid: str?, date_created: str(date-time)?, date_updated: str(date-time)?, regulated_item_sid: str?, business_name: str?, business_street_address: str?, business_street_address2: str?, business_city: str?, business_state_province_region: str?, business_postal_code: str?, business_country: str?, business_website: str?, business_contact_first_name: str?, business_contact_last_name: str?, business_contact_email: str?, business_contact_phone: str(phone-number)?, notification_email: str?, use_case_categories: [str]?, use_case_summary: str?, production_message_sample: str?, opt_in_image_urls: [str]?, opt_in_type: str, message_volume: str?, additional_information: str?, tollfree_phone_number_sid: str?, tollfree_phone_number: str(phone-number)?, status: str, url: str(uri)?, rejection_reason: str?, error_code: int?, edit_expiration: str(date-time)?, edit_allowed: bool?, business_registration_number: str?, business_registration_authority: str?, business_registration_country: str?, business_type: str?, business_registration_phone_number: str?, doing_business_as: str?, opt_in_confirmation_message: str?, help_message_sample: str?, privacy_policy_url: str(uri)?, terms_and_conditions_url: str(uri)?, age_gated_content: bool?, opt_in_keywords: [str]?, rejection_reasons: [any]?, resource_links: any?, external_reference_id: str?, vetting_id: str?, vetting_provider: str?, vetting_id_expiration: str(date-time)?} # Created\n\n@endgroup\n\n@group Services\n@endpoint POST /v1/Services/{MessagingServiceSid}/Compliance/Usa2p\n@required {MessagingServiceSid: str # The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to create the resources from.}\n@optional {X-Twilio-Api-Version: str # The version of the Messaging API to use for this request}\n@returns(201) Created\n\n@endpoint GET /v1/Services/{MessagingServiceSid}/Compliance/Usa2p\n@required {MessagingServiceSid: str # The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to fetch the resource from.}\n@optional {PageSize: int(int64) # How many resources to return in each list page. The default is 50, and the maximum is 1000., Page: int # The page index. This value is simply for client state., PageToken: str # The page token. This is provided by the API., X-Twilio-Api-Version: str # The version of the Messaging API to use for this request}\n@returns(200) {compliance: [any], meta: map{first_page_url: str(uri), key: str, next_page_url: str(uri)?, page: int, page_size: int, previous_page_url: str(uri)?, url: str(uri)}} # OK\n\n@endpoint DELETE /v1/Services/{MessagingServiceSid}/Compliance/Usa2p/{Sid}\n@required {MessagingServiceSid: str # The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to delete the resource from., Sid: str # The SID of the US A2P Compliance resource to delete `QE2c6890da8086d771620e9b13fadeba0b`.}\n@returns(204) The resource was deleted successfully.\n\n@endpoint GET /v1/Services/{MessagingServiceSid}/Compliance/Usa2p/{Sid}\n@required {MessagingServiceSid: str # The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to fetch the resource from., Sid: str # The SID of the US A2P Compliance resource to fetch `QE2c6890da8086d771620e9b13fadeba0b`.}\n@optional {X-Twilio-Api-Version: str # The version of the Messaging API to use for this request}\n@returns(200) OK\n\n@endpoint POST /v1/Services/{MessagingServiceSid}/Compliance/Usa2p/{Sid}\n@required {MessagingServiceSid: str # The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/services/api) to update the resource from., Sid: str # The SID of the US A2P Compliance resource to update `QE2c6890da8086d771620e9b13fadeba0b`.}\n@optional {X-Twilio-Api-Version: str # The version of the Messaging API to use for this request}\n@returns(200) OK\n\n@endpoint GET /v1/Services/{MessagingServiceSid}/Compliance/Usa2p/Usecases\n@required {MessagingServiceSid: str # The SID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to fetch the resource from.}\n@optional {BrandRegistrationSid: str # The unique string to identify the A2P brand.}\n@returns(200) {us_app_to_person_usecases: [any]?} # OK\n\n@endpoint GET /v1/Services/Usecases\n@returns(200) {usecases: [any]?} # OK\n\n@endgroup\n\n@end\n"}}