---
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`

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
  - `country_code` string, required
  - `keywords` string[], required
  - `op` 'start' | 'stop' | 'info', required
  - `resp_text` string

## Response `200`

Successful Response

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

## Other responses

- `4XX` — Unexpected error

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/revisions/3fdc16374d70/schema)
