---
title: "Create Text Messaging Configuration"
description: "How to call Create Text Messaging Configuration (POST /api/text-messaging-configurations) in the Klaviyo REST API: authentication, parameters, request and response bodies, and an example request."
url: "https://developers.klaviyo.com/en/v2026-07-15/reference/create_text_messaging_configuration_beta"
revision: "2026-07-15.pre"
latestUrl: "https://developers.klaviyo.com/en/reference"
operationId: "create_text_messaging_configuration_beta"
method: "POST"
endpoint: "https://a.klaviyo.com/api/text-messaging-configurations"
authentication: "privateKey"
scopes: ["sender-config:write"]
rateLimits: {"burst":"10/s","steady":"150/m"}
revisionHeader: {"name":"revision","required":true}
deprecated: false
preRelease: "BETA"
openApi: "https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15.pre/openapi/beta/apis/create_text_messaging_configuration_beta.json"
jsonApi: {"fields":{"text-messaging-configuration":["created_at","id","opt_out_language","org_prefix","status","updated_at"]}}
related: ["https://developers.klaviyo.com/en/v2026-07-15/reference/text-messaging-beta/llms.txt","https://developers.klaviyo.com/en/v2026-07-15/reference/get_text_messaging_configuration_beta.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_text_messaging_senders_beta.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_text_messaging_sender_beta.md","https://developers.klaviyo.com/en/v2026-07-15/reference/create_text_messaging_sender_beta.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_text_messaging_sender_registration_beta.md","https://developers.klaviyo.com/en/v2026-07-15/reference/create_text_messaging_sender_registration_beta.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_messaging_sender_registration_for_text_messaging_sender_beta.md","https://developers.klaviyo.com/en/v2026-07-15/reference/get_messaging_sender_registration_id_for_text_messaging_sender_beta.md"]
---

# Create Text Messaging Configuration

> This is the Markdown version of https://developers.klaviyo.com/en/v2026-07-15/reference/create_text_messaging_configuration_beta

```http
POST https://a.klaviyo.com/api/text-messaging-configurations
```


> [!WARNING]
> **This endpoint is in beta and subject to change.**
> A beta revision header (2026-07-15.pre) is required to use our beta APIs. Klaviyo APIs in beta are not intended for use in production. See our [versioning and deprecation policy](https://developers.klaviyo.com/en/docs/api_versioning_and_deprecation_policy.md) for more information.


Create the SMS account for the calling company.

- Revision header: `revision: 2026-07-15.pre` (required)
- Scopes: `sender-config:write`
- Rate limits: Burst: `10/s`, Steady: `150/m`
- OpenAPI: [Download this endpoint's OpenAPI document](https://raw.githubusercontent.com/klaviyo/openapi/2026-07-15.pre/openapi/beta/apis/create_text_messaging_configuration_beta.json)

## Example request

```bash
curl --request POST \
     --url 'https://a.klaviyo.com/api/text-messaging-configurations' \
     --header 'Authorization: Klaviyo-API-Key your-private-api-key' \
     --header 'accept: application/vnd.api+json' \
     --header 'revision: 2026-07-15.pre' \
     --header 'content-type: application/vnd.api+json' \
     --data '{
  "data": {
    "type": "text-messaging-configuration",
    "attributes": {
      "org_prefix": "Acme"
    }
  }
}'
```

## Query parameters

- `fields[text-messaging-configuration]` (string[]): For more information please visit [API overview](https://developers.klaviyo.com/en/v2026-07-15/reference.md) Allowed values: `created_at`, `id`, `opt_out_language`, `org_prefix`, `status`, `updated_at`

## Headers

- `revision` (string, required): API endpoint revision (format: YYYY-MM-DD[.suffix]) Default: `2026-07-15.pre`

## Request body

Content type: `application/vnd.api+json` (required)

- `data` (object, required)
  - `type` (string, required): Allowed values: `text-messaging-configuration`
  - `attributes` (object, required)
    - `org_prefix` (string, required): Branding prefix prepended to outbound messages for sender identification. Up to 50 characters. Example: `Acme`

### Example request body

```json
{
  "data": {
    "type": "text-messaging-configuration",
    "attributes": {
      "org_prefix": "Acme"
    }
  }
}
```

## Responses

### 201: Success

Content type: `application/vnd.api+json`

- `data` (object, required)
  - `type` (string, required): Allowed values: `text-messaging-configuration`
  - `id` (string, required): The unique identifier for this text messaging configuration.
  - `attributes` (object, required)
    - `org_prefix` (string, required): Branding prefix prepended to outbound messages for sender identification. Up to 50 characters. Example: `Acme`
    - `opt_out_language` (string, required): Opt-out instruction text appended to outbound messages.
    - `status` (string, required): The lifecycle status of this text messaging configuration. Allowed values: `active`, `disabled`
    - `created_at` (string<date-time>, required): ISO8601 timestamp when the configuration was created. Example: `2026-05-19T14:30:00Z`
    - `updated_at` (string<date-time>, required): ISO8601 timestamp when the configuration was last updated. Example: `2026-05-19T14:30:00Z`
  - `links` (object, required)
    - `self` (string<uri>, required)
- `links` (ObjectLinks): Same fields as the first ObjectLinks above.
- `meta` (object): Response-level metadata
  - `agent_hints` (object): Optional hints emitted by the API for agent callers
    - `next_steps` (string[]): Suggested follow-up actions for agents to take after this response

#### Example response body

```json
{
  "data": {
    "type": "text-messaging-configuration",
    "id": "string",
    "attributes": {
      "org_prefix": "Acme",
      "opt_out_language": "string",
      "status": "active",
      "created_at": "2026-05-19T14:30:00Z",
      "updated_at": "2026-05-19T14:30:00Z"
    },
    "links": {
      "self": "https://www.example.com"
    }
  },
  "links": {
    "self": "https://www.example.com"
  },
  "meta": {
    "agent_hints": {
      "next_steps": [
        "string"
      ]
    }
  }
}
```

### 4XX: Client Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```

### 5XX: Server Error

Content type: `application/vnd.api+json`

- `errors` (object[], required)
  - `id` (string, required)
  - `code` (string, required)
  - `title` (string, required)
  - `detail` (string, required)
  - `source` (object)
    - `pointer` (string)
    - `parameter` (string)

#### Example response body

```json
{
  "errors": [
    {
      "id": "string",
      "code": "string",
      "title": "string",
      "detail": "string",
      "source": {
        "pointer": "string",
        "parameter": "string"
      }
    }
  ]
}
```
