Skip to content
First requestVisit website ↗
Navigation

Validate an RCS card payload without creating anything (Flow Builder V2)

Thin wrapper around the same pure validation used by templates/create — runs every RCS card limit check (title/subtitle/body length, ≤4 buttons, per-type title length, URL/phone format) with NO database write and NO Twilio call, so a card-authoring UI can show inline errors on every keystroke. Authenticated workspace user (Bearer).

POST
https://api.channelautomation.com/api/rcs/workspaces/{workspaceId}/templates/validate

Authorization

  • BearerAuth
    HTTP Bearer (JWT)
    required

Path parameters

  • workspaceId
    string
    required

Request body JSON required

  • label
    string
    required
  • card
    object
    required
    • title
      optional
      string
    • subtitle
      optional
      string
    • body
      optional
      string
    • media
      optional
      string
    • buttons
      optional
      array of
      object
      • type
        optional
        QUICK_REPLY
        or
        URL
        or
        PHONE_NUMBER
      • title
        optional
        string
      • url
        optional
        string
      • phone
        optional
        string
  • smsFallback
    optional
    string

Returns

200

{ok:true} if valid, {ok:false, error} otherwise.

401

Authentication required
JSON
  • error
    optional
    string
  • success
    optional
    boolean

403

Membership in the path workspace is required.

503

Identity or workspace access verification is temporarily unavailable.

Type to search…

↑↓ navigate↵ selectEsc close