Create brand registrations

POST /v1/a2p/BrandRegistrations

A Messaging Service resource to add and fetch Brand Registrations.

application/x-www-form-urlencoded

Body

  • CustomerProfileBundleSid string Required

    Customer Profile Bundle Sid.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^BU[0-9a-fA-F]{32}$.

  • A2PProfileBundleSid string Required

    A2P Messaging Profile Bundle Sid.

    Minimum length is 34, maximum length is 34. Format should match the following pattern: ^BU[0-9a-fA-F]{32}$.

  • BrandType string

    Type of brand being created. One of: "STANDARD", "SOLE_PROPRIETOR". SOLE_PROPRIETOR is for low volume, SOLE_PROPRIETOR use cases. STANDARD is for all other use cases.

  • Mock boolean

    A boolean that specifies whether brand should be a mock or not. If true, brand will be registered as a mock brand. Defaults to false if no value is provided.

  • SkipAutomaticSecVet boolean

    A flag to disable automatic secondary vetting for brands which it would otherwise be done.

Responses

  • 201 application/json

    Created

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • sid string | null

      The unique string to identify Brand Registration.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^BN[0-9a-fA-F]{32}$.

    • account_sid string | null

      The SID of the Account that created the Brand Registration resource.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

    • customer_profile_bundle_sid string | null

      A2P Messaging Profile Bundle BundleSid.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^BU[0-9a-fA-F]{32}$.

    • a2p_profile_bundle_sid string | null

      A2P Messaging Profile Bundle BundleSid.

      Minimum length is 34, maximum length is 34. Format should match the following pattern: ^BU[0-9a-fA-F]{32}$.

    • date_created string(date-time) | null

      The date and time in GMT when the resource was created specified in ISO 8601 format.

    • date_updated string(date-time) | null

      The date and time in GMT when the resource was last updated specified in ISO 8601 format.

    • brand_type string | null

      Type of brand. One of: "STANDARD", "SOLE_PROPRIETOR". SOLE_PROPRIETOR is for the low volume, SOLE_PROPRIETOR campaign use case. There can only be one SOLE_PROPRIETOR campaign created per SOLE_PROPRIETOR brand. STANDARD is for all other campaign use cases. Multiple campaign use cases can be created per STANDARD brand.

    • status string

      Brand Registration status. One of "PENDING", "APPROVED", "FAILED", "IN_REVIEW", "DELETION_PENDING", "DELETION_FAILED", "SUSPENDED".

      Values are PENDING, APPROVED, FAILED, IN_REVIEW, DELETION_PENDING, DELETION_FAILED, or SUSPENDED.

    • tcr_id string | null

      Campaign Registry (TCR) Brand ID. Assigned only after successful brand registration.

    • failure_reason string | null

      DEPRECATED. A reason why brand registration has failed. Only applicable when status is FAILED.

    • errors array[object] | null

      A list of errors that occurred during the brand registration process.

    • url string(uri) | null

      The absolute URL of the Brand Registration resource.

    • brand_score integer | null

      The secondary vetting score if it was done. Otherwise, it will be the brand score if it's returned from TCR. It may be null if no score is available.

    • brand_feedback array[string] | null

      DEPRECATED. Feedback on how to improve brand score

      Values are TAX_ID, STOCK_SYMBOL, NONPROFIT, GOVERNMENT_ENTITY, or OTHERS.

    • identity_status string

      When a brand is registered, TCR will attempt to verify the identity of the brand based on the supplied information.

      Values are SELF_DECLARED, UNVERIFIED, VERIFIED, or VETTED_VERIFIED.

    • russell_3000 boolean | null

      Publicly traded company identified in the Russell 3000 Index

    • government_entity boolean | null

      Identified as a government entity

    • tax_exempt_status string | null

      Nonprofit organization tax-exempt status per section 501 of the U.S. tax code.

    • skip_automatic_sec_vet boolean | null

      A flag to disable automatic secondary vetting for brands which it would otherwise be done.

    • mock boolean | null

      A boolean that specifies whether brand should be a mock or not. If true, brand will be registered as a mock brand. Defaults to false if no value is provided.

POST /v1/a2p/BrandRegistrations
curl \
 --request POST 'https://messaging.twilio.com/v1/a2p/BrandRegistrations' \
 --user "username:password" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'Mock=false&BrandType=STANDARD&A2PProfileBundleSid=BU1111109f7e067e279523808d267e2d85&SkipAutomaticSecVet=false&CustomerProfileBundleSid=BU0000009f7e067e279523808d267e2d90'
{"Mock"=>false, "BrandType"=>"STANDARD", "A2PProfileBundleSid"=>"BU1111109f7e067e279523808d267e2d85", "SkipAutomaticSecVet"=>false, "CustomerProfileBundleSid"=>"BU0000009f7e067e279523808d267e2d90"}
{"Mock"=>false, "BrandType"=>"STANDARD", "A2PProfileBundleSid"=>"BU1111109f7e067e279523808d267e2d85", "SkipAutomaticSecVet"=>false, "CustomerProfileBundleSid"=>"BU0000009f7e067e279523808d267e2d90"}
Response examples (201)
{
  "sid": "BN0044409f7e067e279523808d267e2d85",
  "url": "https://messaging.twilio.com/v1/a2p/BrandRegistrations/BN0044409f7e067e279523808d267e2d85",
  "mock": false,
  "links": {
    "brand_vettings": "https://messaging.twilio.com/v1/a2p/BrandRegistrations/BN0044409f7e067e279523808d267e2d85/Vettings",
    "brand_registration_otps": "https://messaging.twilio.com/v1/a2p/BrandRegistrations/BN0044409f7e067e279523808d267e2d85/SmsOtp"
  },
  "errors": [],
  "status": "PENDING",
  "tcr_id": "BXXXXXX",
  "brand_type": "STANDARD",
  "account_sid": "AC78e8e67fc0246521490fb9907fd0c165",
  "brand_score": 42,
  "date_created": "2021-01-28T10:45:51Z",
  "date_updated": "2021-01-28T10:45:51Z",
  "russell_3000": true,
  "brand_feedback": [
    "TAX_ID",
    "NONPROFIT"
  ],
  "failure_reason": "Registration error",
  "identity_status": "VERIFIED",
  "government_entity": false,
  "tax_exempt_status": "501c3",
  "a2p_profile_bundle_sid": "BU1111109f7e067e279523808d267e2d85",
  "skip_automatic_sec_vet": false,
  "customer_profile_bundle_sid": "BU0000009f7e067e279523808d267e2d90"
}
{
  "sid": "BN0044409f7e067e279523808d267e2d85",
  "url": "https://messaging.twilio.com/v1/a2p/BrandRegistrations/BN0044409f7e067e279523808d267e2d85",
  "mock": false,
  "links": {
    "brand_vettings": "https://messaging.twilio.com/v1/a2p/BrandRegistrations/BN0044409f7e067e279523808d267e2d85/Vettings",
    "brand_registration_otps": "https://messaging.twilio.com/v1/a2p/BrandRegistrations/BN0044409f7e067e279523808d267e2d85/SmsOtp"
  },
  "errors": [],
  "status": "PENDING",
  "tcr_id": "BXXXXXX",
  "brand_type": "SOLE_PROPRIETOR",
  "account_sid": "AC78e8e67fc0246521490fb9907fd0c165",
  "brand_score": null,
  "date_created": "2021-01-28T10:45:51Z",
  "date_updated": "2021-01-28T10:45:51Z",
  "russell_3000": false,
  "brand_feedback": null,
  "failure_reason": null,
  "identity_status": "UNVERIFIED",
  "government_entity": false,
  "tax_exempt_status": null,
  "a2p_profile_bundle_sid": "BU1111109f7e067e279523808d267e2d85",
  "skip_automatic_sec_vet": false,
  "customer_profile_bundle_sid": "BU0000009f7e067e279523808d267e2d90"
}