{
  "info": {
    "_postman_id": "e9bdfe29-6c10-4d60-bc24-de77a078c6a7",
    "name": "Optimizely Campaign REST Assets Transactional Mail API",
    "description": "The Optimizely Campaign REST API provides programmatic access to Optimizely's email and omnichannel campaign management capabilities. Developers can use the API to manage campaigns, recipients, mailing lists, smart campaigns, transactional mails, and messaging workflows. The API is hosted at api.campaign.episerver.net and supports automation of marketing campaign operations, enabling integration with external systems and custom marketing workflows. The base URL includes the client ID for multi-tenant access.\n\nContact Support:\n Name: Optimizely Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T02:28:04.000Z",
    "updatedAt": "2026-07-28T02:28:04.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-e9bdfe29-6c10-4d60-bc24-de77a078c6a7"
  },
  "item": [
    {
      "name": "{clientId}",
      "item": [
        {
          "name": "transactionalmail",
          "item": [
            {
              "name": "Send a transactional mail",
              "id": "bca1bd59-af1b-4a42-941b-f167c1a65419",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"recipient_email\": \"<email>\",\n  \"mailing_id\": \"<long>\",\n  \"personalization\": {\n    \"ex9\": \"<string>\",\n    \"ad_9\": \"<string>\",\n    \"eaaaa\": \"<string>\",\n    \"adipisicing_5\": \"<string>\"\n  }\n}",
                  "options": {
                    "raw": {
                      "headerFamily": "json",
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{baseUrl}}/:clientId/transactionalmail",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    ":clientId",
                    "transactionalmail"
                  ],
                  "variable": [
                    {
                      "id": "0b7e19b6-dc41-4f8b-9963-9f431b14596e",
                      "key": "clientId",
                      "value": "<string>",
                      "description": "(Required) The unique identifier for the Optimizely Campaign client"
                    }
                  ]
                },
                "description": "Sends a transactional email to a specific recipient. Transactional mails are triggered by recipient actions or events such as order confirmations, password resets, or account notifications."
              },
              "response": [
                {
                  "id": "0c99bd90-cf57-4bff-8c1f-5e24a8ebdfc1",
                  "name": "Transactional mail successfully sent",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: basic",
                        "key": "Authorization",
                        "value": "Basic <credentials>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"recipient_email\": \"<email>\",\n  \"mailing_id\": \"<long>\",\n  \"personalization\": {\n    \"ex9\": \"<string>\",\n    \"ad_9\": \"<string>\",\n    \"eaaaa\": \"<string>\",\n    \"adipisicing_5\": \"<string>\"\n  }\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/:clientId/transactionalmail",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        ":clientId",
                        "transactionalmail"
                      ],
                      "variable": [
                        {
                          "key": "clientId"
                        }
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "{\n  \"status\": \"success\",\n  \"message_id\": \"<string>\"\n}",
                  "createdAt": "2026-07-28T02:28:04.000Z",
                  "updatedAt": "2026-07-28T02:28:04.000Z",
                  "uid": "35240-0c99bd90-cf57-4bff-8c1f-5e24a8ebdfc1"
                },
                {
                  "id": "0540c03d-8906-4fd3-bc84-f47487f09adf",
                  "name": "Invalid request body",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: basic",
                        "key": "Authorization",
                        "value": "Basic <credentials>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"recipient_email\": \"<email>\",\n  \"mailing_id\": \"<long>\",\n  \"personalization\": {\n    \"ex9\": \"<string>\",\n    \"ad_9\": \"<string>\",\n    \"eaaaa\": \"<string>\",\n    \"adipisicing_5\": \"<string>\"\n  }\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/:clientId/transactionalmail",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        ":clientId",
                        "transactionalmail"
                      ],
                      "variable": [
                        {
                          "key": "clientId"
                        }
                      ]
                    }
                  },
                  "status": "Bad Request",
                  "code": 400,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T02:28:04.000Z",
                  "updatedAt": "2026-07-28T02:28:04.000Z",
                  "uid": "35240-0540c03d-8906-4fd3-bc84-f47487f09adf"
                },
                {
                  "id": "e0d45ac2-c2cb-4cad-9475-a22056610711",
                  "name": "Authentication credentials are missing or invalid",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: basic",
                        "key": "Authorization",
                        "value": "Basic <credentials>"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"recipient_email\": \"<email>\",\n  \"mailing_id\": \"<long>\",\n  \"personalization\": {\n    \"ex9\": \"<string>\",\n    \"ad_9\": \"<string>\",\n    \"eaaaa\": \"<string>\",\n    \"adipisicing_5\": \"<string>\"\n  }\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/:clientId/transactionalmail",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        ":clientId",
                        "transactionalmail"
                      ],
                      "variable": [
                        {
                          "key": "clientId"
                        }
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T02:28:04.000Z",
                  "updatedAt": "2026-07-28T02:28:04.000Z",
                  "uid": "35240-e0d45ac2-c2cb-4cad-9475-a22056610711"
                }
              ],
              "createdAt": "2026-07-28T02:28:04.000Z",
              "updatedAt": "2026-07-28T02:28:04.000Z",
              "uid": "35240-bca1bd59-af1b-4a42-941b-f167c1a65419"
            }
          ],
          "id": "538a5080-b840-4469-9504-8a6d982ccc9b",
          "createdAt": "2026-07-28T02:28:04.000Z",
          "updatedAt": "2026-07-28T02:28:04.000Z",
          "uid": "35240-538a5080-b840-4469-9504-8a6d982ccc9b"
        }
      ],
      "id": "80eb05fb-4a98-41cf-8852-025fd722a478",
      "createdAt": "2026-07-28T02:28:04.000Z",
      "updatedAt": "2026-07-28T02:28:04.000Z",
      "uid": "35240-80eb05fb-4a98-41cf-8852-025fd722a478"
    }
  ],
  "auth": {
    "type": "basic",
    "basic": [
      {
        "key": "username",
        "value": "{{basicAuthUsername}}",
        "type": "string"
      },
      {
        "key": "password",
        "value": "{{basicAuthPassword}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.campaign.episerver.net/rest"
    }
  ]
}