---
title: "Create auto-response setting"
method: POST
path: "/messaging_profiles/{profile_id}/autoresp_configs"
tags: ["Opt-Out Management"]
---

# Create auto-response setting

`POST /messaging_profiles/{profile_id}/autoresp_configs`

## Request

- Base URL: `https://api.telnyx.com/v2`
- URL: `https://api.telnyx.com/v2/messaging_profiles/{profile_id}/autoresp_configs`
- Auth: HTTP bearer

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

## Path parameters

- `profile_id` string, required

## Request body

- AutoRespConfigCreateSchema
  - `op` 'start' | 'stop' | 'info', required
  - `keywords` string[], required
  - `resp_text` string
  - `country_code` string, required

## Response `200`

Successful Response

- AutorespConfigResponseSchema
  - `data` AutorespConfigSchema, required
    - `op` 'start' | 'stop' | 'info', required
    - `keywords` string[], required
    - `resp_text` string
    - `country_code` string, required
    - `id` string, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `4XX`: Unexpected error

---

[API](https://skmtc.dev/team-telnyx/apis/telnyx-api.md) - [All operations](https://skmtc.dev/team-telnyx/apis/telnyx-api/llms.txt) - [OpenAPI document](https://skmtc.dev/team-telnyx/apis/telnyx-api/revisions/0f17b8167873?raw)
