Visitar URL original
Create Text Messaging Configuration | Klaviyo API ReferenceSkip to content

This page is available as Markdown at https://developers.klaviyo.com/en/reference/create_text_messaging_configuration.md. Its OpenAPI document is at https://raw.githubusercontent.com/klaviyo/openapi/2026-10-15/openapi/stable/apis/create_text_messaging_configuration.json. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers

POSThttps://a.klaviyo.com/api/text-messaging-configurations

Create the SMS account for the calling company.

Revision header
revision: 2026-10-15required
Scopes
sender-config:write
Rate limits
Burst: 1/sSteady: 15/m

Query parameters

  • fields[text-messaging-configuration]#string[]

    For more information please visit API overview

    Allowed values:
    • created_at
    • id
    • opt_out_language
    • org_prefix
    • status
    • updated_at

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2026-10-15

Request body

Content type: application/vnd.api+jsonrequired

  • data#objectrequired
    Show 2 fields
    • type#stringrequired
      Allowed values:
      • text-messaging-configuration
    • attributes#objectrequired
      Show 1 field
      • org_prefix#stringrequired

        Branding prefix prepended to outbound messages for sender identification. Up to 50 characters. HTML is removed before the prefix is saved. A prefix that is empty once HTML is removed, or that contains a link, is rejected with invalid_org_prefix, unless the account is approved to use links in its prefix.

        Example: Acme

Responses

201Success

Content type: application/vnd.api+json

  • data#objectrequired
    Show 4 fields
    • type#stringrequired
      Allowed values:
      • text-messaging-configuration
    • id#stringrequired

      The unique identifier for this text messaging configuration.

    • attributes#objectrequired
      Show 5 fields
      • org_prefix#stringrequired

        Branding prefix prepended to outbound messages for sender identification, as saved with any HTML removed. Up to 50 characters.

        Example: Acme

      • opt_out_language#stringrequired

        Opt-out instruction text appended to outbound messages.

      • status#stringrequired

        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

  • meta#object

    Response-level metadata

    Show 1 field
    • agent_hints#object

      Optional hints emitted by the API for agent callers

      Show 1 field
      • next_steps#string[]

        Suggested follow-up actions for agents to take after this response

4XXClient Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/vnd.api+json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string