Twilio

Twilio Messaging v1

This is the public Twilio REST API.

Communication#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

This is the public Twilio REST API.

Endpoints 58

MessagingV1AlphaSender

  • GETListAlphaSender/v1/Services/:ServiceSid/AlphaSenders?PageSize=1&Page=0&PageToken=string
  • POSTCreateAlphaSender/v1/Services/:ServiceSid/AlphaSenders
  • GETFetchAlphaSender/v1/Services/:ServiceSid/AlphaSenders/:Sid
  • DELETEDeleteAlphaSender/v1/Services/:ServiceSid/AlphaSenders/:Sid

MessagingV1BrandRegistration

  • GETFetchBrandRegistrations/v1/a2p/BrandRegistrations/:Sid
  • POSTUpdateBrandRegistrations/v1/a2p/BrandRegistrations/:Sid
  • GETListBrandRegistrations/v1/a2p/BrandRegistrations?PageSize=1&Page=0&PageToken=string
  • POSTCreateBrandRegistrations/v1/a2p/BrandRegistrations

MessagingV1BrandRegistrationOtp

  • POSTCreateBrandRegistrationOtp/v1/a2p/BrandRegistrations/:BrandRegistrationSid/SmsOtp

MessagingV1BrandVetting

  • GETListBrandVetting/v1/a2p/BrandRegistrations/:BrandSid/Vettings?VettingProvider=campaign-verify
  • POSTCreateBrandVetting/v1/a2p/BrandRegistrations/:BrandSid/Vettings
  • GETFetchBrandVetting/v1/a2p/BrandRegistrations/:BrandSid/Vettings/:BrandVettingSid

MessagingV1ChannelSender

  • GETListChannelSender/v1/Services/:MessagingServiceSid/ChannelSenders?PageSize=1&Page=0&PageToken=string
  • POSTCreateChannelSender/v1/Services/:MessagingServiceSid/ChannelSenders
  • GETFetchChannelSender/v1/Services/:MessagingServiceSid/ChannelSenders/:Sid
  • DELETEDeleteChannelSender/v1/Services/:MessagingServiceSid/ChannelSenders/:Sid

MessagingV1Deactivations

  • GETFetch a list of all United States numbers that have been deactivated on a specific date./v1/Deactivations?Date=2024-01-01Fetch a list of all United States numbers that have been deactivated on a specific date.

MessagingV1DestinationAlphaSender

  • GETListDestinationAlphaSender/v1/Services/:ServiceSid/DestinationAlphaSenders?IsoCountryCode=string&PageSize=1&Page=0&PageToken=string
  • POSTCreateDestinationAlphaSender/v1/Services/:ServiceSid/DestinationAlphaSenders
  • GETFetchDestinationAlphaSender/v1/Services/:ServiceSid/DestinationAlphaSenders/:Sid
  • DELETEDeleteDestinationAlphaSender/v1/Services/:ServiceSid/DestinationAlphaSenders/:Sid

MessagingV1DomainCerts

  • GETFetchDomainCertV4/v1/LinkShortening/Domains/:DomainSid/Certificate
  • POSTUpdateDomainCertV4/v1/LinkShortening/Domains/:DomainSid/Certificate
  • DELETEDeleteDomainCertV4/v1/LinkShortening/Domains/:DomainSid/Certificate

MessagingV1DomainConfig

  • GETFetchDomainConfig/v1/LinkShortening/Domains/:DomainSid/Config
  • POSTUpdateDomainConfig/v1/LinkShortening/Domains/:DomainSid/Config

MessagingV1DomainConfigMessagingService

  • GETFetchDomainConfigMessagingService/v1/LinkShortening/MessagingService/:MessagingServiceSid/DomainConfig

MessagingV1ExternalCampaign

  • POSTCreateExternalCampaign/v1/Services/PreregisteredUsa2p

MessagingV1LinkshorteningMessagingService

  • POSTCreateLinkshorteningMessagingService/v1/LinkShortening/Domains/:DomainSid/MessagingServices/:MessagingServiceSid
  • DELETEDeleteLinkshorteningMessagingService/v1/LinkShortening/Domains/:DomainSid/MessagingServices/:MessagingServiceSid

MessagingV1LinkshorteningMessagingServiceDomainAssociation

  • GETFetchLinkshorteningMessagingServiceDomainAssociation/v1/LinkShortening/MessagingServices/:MessagingServiceSid/Domain

MessagingV1PhoneNumber

  • GETListPhoneNumber/v1/Services/:ServiceSid/PhoneNumbers?PageSize=1&Page=0&PageToken=string
  • POSTCreatePhoneNumber/v1/Services/:ServiceSid/PhoneNumbers
  • GETFetchPhoneNumber/v1/Services/:ServiceSid/PhoneNumbers/:Sid
  • DELETEDeletePhoneNumber/v1/Services/:ServiceSid/PhoneNumbers/:Sid

MessagingV1RequestManagedCert

  • POSTUpdateRequestManagedCert/v1/LinkShortening/Domains/:DomainSid/RequestManagedCert

MessagingV1Service

  • GETListService/v1/Services?PageSize=1&Page=0&PageToken=string
  • POSTCreateService/v1/Services
  • GETFetchService/v1/Services/:Sid
  • POSTUpdateService/v1/Services/:Sid
  • DELETEDeleteService/v1/Services/:Sid

MessagingV1ShortCode

  • GETListShortCode/v1/Services/:ServiceSid/ShortCodes?PageSize=1&Page=0&PageToken=string
  • POSTCreateShortCode/v1/Services/:ServiceSid/ShortCodes
  • GETFetchShortCode/v1/Services/:ServiceSid/ShortCodes/:Sid
  • DELETEDeleteShortCode/v1/Services/:ServiceSid/ShortCodes/:Sid

MessagingV1TollfreeVerification

  • GETRetrieve a tollfree verification/v1/Tollfree/Verifications/:SidRetrieve a tollfree verification
  • POSTEdit a tollfree verification/v1/Tollfree/Verifications/:SidEdit a tollfree verification
  • DELETEDelete a tollfree verification/v1/Tollfree/Verifications/:SidDelete a tollfree verification
  • GETList tollfree verifications/v1/Tollfree/Verifications?TollfreePhoneNumberSid=PNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&Status=TWILIO_APPROVED&ExternalReferenceId=abc123xyz567&IncludeSubAccounts=false&PageSize=1&Page=0&PageToken=string&TrustProductSid=stringList tollfree verifications
  • POSTCreate a tollfree verification/v1/Tollfree/VerificationsCreate a tollfree verification

MessagingV1UsAppToPerson

  • GETListUsAppToPerson/v1/Services/:MessagingServiceSid/Compliance/Usa2p?PageSize=1&Page=0&PageToken=string
  • POSTCreateUsAppToPerson/v1/Services/:MessagingServiceSid/Compliance/Usa2p
  • GETFetchUsAppToPerson/v1/Services/:MessagingServiceSid/Compliance/Usa2p/:Sid
  • POSTUpdateUsAppToPerson/v1/Services/:MessagingServiceSid/Compliance/Usa2p/:Sid
  • DELETEDeleteUsAppToPerson/v1/Services/:MessagingServiceSid/Compliance/Usa2p/:Sid

MessagingV1UsAppToPersonUsecase

  • GETFetchUsAppToPersonUsecase/v1/Services/:MessagingServiceSid/Compliance/Usa2p/Usecases?BrandRegistrationSid=BNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

MessagingV1Usecase

  • GETFetchUsecase/v1/Services/Usecases

MessagingV1DomainValidateDns

  • GETFetchDomainDnsValidation/v1/LinkShortening/Domains/:DomainSid/ValidateDns

API details

Base URL
https://messaging.twilio.com
Authentication
HTTP Basic authentication (username and password)
Operations
58 operations on 32 pathsGET 28POST 20DELETE 10
Main resources
MessagingV1Service 5MessagingV1TollfreeVerification 5MessagingV1UsAppToPerson 5MessagingV1AlphaSender 4MessagingV1BrandRegistration 4MessagingV1ChannelSender 4MessagingV1DestinationAlphaSender 4MessagingV1PhoneNumber 4MessagingV1ShortCode 4MessagingV1BrandVetting 3
Response formats
application/json
Description format
OpenAPI 3.0.1, API version 1.0.0

How to test the Twilio Messaging v1 in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Twilio Messaging v1 collection, without the publisher's secrets.
  3. Add your credentialsThis API uses HTTP Basic authentication (username and password). Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “ListAlphaSender” (GET /v1/Services/:ServiceSid/AlphaSenders?PageSize=1&Page=0&PageToken=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Twilio Messaging v1?

This is the public Twilio REST API. It is listed under Communication and has 58 endpoints.

Who publishes the Twilio Messaging v1?

It is listed from Twilio's public API description (an OpenAPI document), not published by Twilio on Swastik Codes. Anyone who controls twilio.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Twilio Messaging v1?

Requests go to https://messaging.twilio.com. Endpoint paths are added to this base URL.

How do I authenticate with the Twilio Messaging v1?

With HTTP Basic authentication (username and password).

How many endpoints does the Twilio Messaging v1 have?

58 operations on 32 paths (28 GET, 20 POST, 10 DELETE). The largest groups are MessagingV1Service, MessagingV1TollfreeVerification, MessagingV1UsAppToPerson, MessagingV1AlphaSender.

Is forking the Twilio Messaging v1 free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.