Automations

Get a translation of an automation message

Changed on

Returns a translated version of a message in an automation. The message is identified by the action_id.

get/v1/campaigns/{campaign_id}/actions/{action_id}/language/{language}

Request

  • Base URL
    https://api.customer.io
  • URL
    https://api.customer.io/v1/campaigns/{campaign_id}/actions/{action_id}/language/{language}
  • Auth
    HTTP bearer

Response

Returns information for the requested automation action language variant.

Example response

{
  "action": {
    "id": 96,
    "broadcast_id": 2,
    "deduplicate_id": "15:1492548073",
    "name": "Opening Message",
    "created": 1552341937,
    "updated": 1552341937,
    "language": "fr",
    "from": "sentFrom@example.com",
    "from_id": 1,
    "reply_to": "replyto@example.com",
    "reply_to_id": 38,
    "recipient": "{{customer.email}}",
    "subject": "Did you get that thing I sent you?",
    "campaign_id": 5,
    "parent_action_id": 1,
    "multi_language_branch_action_id": 23,
    "headers": "[{\"name\":\"X-Mailgun-Tag\",\"value\":\"my-cool-tag\"},{\"name\":\"X-Custom-Header\",\"value\":\"custom-value\"}]"
  }
}

Changes

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the media type application/json for the response with the status