Create auto-response setting
Changed onCreates an auto-response rule on the specified messaging profile. Matching inbound messages trigger the configured response.
Request
- Base URL: https://api.telnyx.com/v2
- URL: https://api.telnyx.com/v2/messaging_profiles/{profile_id}/autoresp_configs
- Auth: HTTP bearer
Path parameters
Unique identifier of the profile.
Request body
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
- breaking
the response's body type changed from
objectto no type for status - breaking
the
/response's property type changed fromobjectto no type for status - breaking
the
//response's property type changed fromintegertostring, and format fromint32to no format for status
- breaking
- breaking
the response's body type changed from no type to
objectfor status - breaking
the
/response's property type changed from no type toobjectfor status - breaking
the
//response's property type changed fromstringtointeger, and format from no format toint32for status - breaking
the
///response's property format changed fromjson-pointerto no format for status
- breaking