Opt-Out Management

Create auto-response setting

Creates an auto-response rule on the specified messaging profile. Matching inbound messages trigger the configured response.

post/messaging_profiles/{profile_id}/autoresp_configs

Path parameters

profile_idstring required

Unique identifier of the profile.

Request body

op'start' | 'stop' | 'info' required
keywordsstring[] required
resp_textstring
country_codestring required

Example request

{
  "keywords": [
    "keyword1",
    "keyword2"
  ],
  "resp_text": "Thank you for your message",
  "country_code": "US"
}

Response

Successful Response

Example response

{
  "data": {
    "op": "start",
    "keywords": [
      "START",
      "BEGIN"
    ],
    "resp_text": "Thank you for subscribing to our service.",
    "country_code": "*",
    "id": "b8f9c1c0-5b5a-4b1e-8c1c-0b5a4b1e8c1c"
  }
}

Changes

Changed in 2 of the 99 revisions of this API.7

    • ▲

      the response's body type changed from object to no type for status

      response-body-type-changed

    • ▲

      the / response's property type changed from object to no type for status

      response-property-type-changed

    • ▲

      the // response's property type changed from integer to string, and format from int32 to no format for status

      response-property-type-changed

    This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • ▲

      the response's body type changed from no type to object for status

      response-body-type-changed

    • ▲

      the / response's property type changed from no type to object for status

      response-property-type-changed

    • ▲

      the // response's property type changed from string to integer, and format from no format to int32 for status

      response-property-type-changed

    • ▲

      the /// response's property format changed from json-pointer to no format for status

      response-property-type-changed

    This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 99 revisions, 1 has no diff computed.