---
title: POST /v3/publishing-events/{publishing_event_id}/progress-updates
slug: content-marketing-platform/api/post-v3publishing-eventspublishingeventidprogress-updates
docTags: 
createdAt: 2026-10-13T13:35:30.349Z
---

{
  "id": "bt_dB0IWkBjBmTzwILMR8",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "https://api.cmp.optimizely.com/v3/publishing-events/{publishing_event_id}/progress-updates",
    "servers": [
      {
        "url": "https://api.cmp.optimizely.com/v3/publishing-events/{publishing_event_id}/progress-updates",
        "description": "v3 version of Optimizely CMP Open API"
      }
    ],
    "name": "POST /v3/publishing-events/{publishing_event_id}/progress-updates",
    "description": "<p>Post a progress update describing what is happening while a publishing event is being processed, so that CMP can show it to the user.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "publishing_event_id",
          "type": "string",
          "example": "1d9d8aeca10811ebbc640242ac12001b",
          "description": "Unique identifier of the publishing event"
        }
      ],
      "headerParameters": [],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "required",
          "name": "body",
          "type": "object",
          "description": "Progress update to post against the publishing event",
          "customType": "PublishingEventProgressUpdateCreateRequest",
          "schema": [
            {
              "name": "level",
              "kind": "optional",
              "type": "string<info | error>",
              "nullable": false,
              "description": "<p>Severity of the progress update. Defaults to <code>info</code> when omitted.</p>",
              "example": "info",
              "default": "info",
              "enum": [
                "info",
                "error"
              ]
            },
            {
              "name": "message",
              "kind": "required",
              "type": "string",
              "nullable": false,
              "description": "<p>Human-readable description of what happened, shown to the user. Must not be empty or whitespace only. Keep it free of internal identifiers — job keys, instance ids, stack traces and the like belong in your own logs.</p>",
              "example": "All assets are ready. Waiting for the destination to confirm publishing.",
              "minLength": 1,
              "maxLength": 500
            }
          ],
          "modelRef": "#/components/schemas/PublishingEventProgressUpdateCreateRequest",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "OAuth2",
          "name": "OAuth2",
          "kind": "optional",
          "type": "oauth2",
          "oauth2Flows": {
            "clientCredentials": {
              "tokenUrl": "https://accounts.cmp.optimizely.com/o/oauth2/v1/token",
              "scopes": {}
            },
            "authorizationCode": {
              "authorizationUrl": "https://accounts.cmp.optimizely.com/o/oauth2/v1/auth",
              "tokenUrl": "https://accounts.cmp.optimizely.com/o/oauth2/v1/token",
              "scopes": {
                "openid": "Grants the ability to receive a unique identifier for the user.",
                "profile": "Grants access to user profile information.",
                "offline_access": "Grants the ability to refresh access_token using the refresh token even when user is not present (not logged in)."
              }
            }
          },
          "requiredScopes": [
            "openid",
            "profile",
            "offline_access"
          ]
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "204",
        "description": "Progress update posted",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "400",
        "description": "Client error",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"message\":\"Unsupported arguments: a,b,c\"}",
            "description": "Error payload",
            "customType": "Error",
            "schema": [
              {
                "name": "message",
                "kind": "required",
                "type": "string",
                "description": "Message describing the error",
                "example": "Not found"
              },
              {
                "name": "errors",
                "kind": "optional",
                "type": "map",
                "description": "Additional information",
                "example": "",
                "customType": "map<string, string>",
                "schema": []
              }
            ],
            "modelRef": "#/components/schemas/Error",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "401",
        "description": "Authorization error",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"message\":\"Unauthorized\"}",
            "description": "Error payload",
            "customType": "Error",
            "schema": [
              {
                "name": "message",
                "kind": "required",
                "type": "string",
                "description": "Message describing the error",
                "example": "Not found"
              },
              {
                "name": "errors",
                "kind": "optional",
                "type": "map",
                "description": "Additional information",
                "example": "",
                "customType": "map<string, string>",
                "schema": []
              }
            ],
            "modelRef": "#/components/schemas/Error",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "403",
        "description": "Permission error",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"message\":\"You do not have the permission to perform this operation\"}",
            "description": "Error payload",
            "customType": "Error",
            "schema": [
              {
                "name": "message",
                "kind": "required",
                "type": "string",
                "description": "Message describing the error",
                "example": "Not found"
              },
              {
                "name": "errors",
                "kind": "optional",
                "type": "map",
                "description": "Additional information",
                "example": "",
                "customType": "map<string, string>",
                "schema": []
              }
            ],
            "modelRef": "#/components/schemas/Error",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "404",
        "description": "Not found error",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "example": "{\"message\":\"Resource not found\"}",
            "description": "Error payload",
            "customType": "Error",
            "schema": [
              {
                "name": "message",
                "kind": "required",
                "type": "string",
                "description": "Message describing the error",
                "example": "Not found"
              },
              {
                "name": "errors",
                "kind": "optional",
                "type": "map",
                "description": "Additional information",
                "example": "",
                "customType": "map<string, string>",
                "schema": []
              }
            ],
            "modelRef": "#/components/schemas/Error",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "xo6C6ShuNjpUE77fvYFLk",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url https://api.cmp.optimizely.com/v3/publishing-events/{publishing_event_id}/progress-updates \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '{\n     \"level\": \"info\",\n     \"message\": \"All assets are ready. Waiting for the destination to confirm publishing.\"\n     }'"
        },
        {
          "id": "mhnRWBVbWCXOWohgV4wKX",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"level\": \"info\",\n   \"message\": \"All assets are ready. Waiting for the destination to confirm publishing.\"\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.cmp.optimizely.com/v3/publishing-events/{publishing_event_id}/progress-updates\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "bQbnUS3yLY9t8fioBhK8a",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.cmp.optimizely.com/v3/publishing-events/{publishing_event_id}/progress-updates\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"level\": \"info\",\n   \"message\": \"All assets are ready. Waiting for the destination to confirm publishing.\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "X9wA7dAvLr_nXFCxZKayf",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.cmp.optimizely.com/v3/publishing-events/{publishing_event_id}/progress-updates\"\n\npayload = json.dumps({\n   \"level\": \"info\",\n   \"message\": \"All assets are ready. Waiting for the destination to confirm publishing.\"\n})\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "xo6C6ShuNjpUE77fvYFLk"
    },
    "results": {
      "languages": [
        {
          "id": "RK-uyvEuERa1Ygqt0nY5p",
          "language": "204",
          "code": "// Progress update posted\n"
        },
        {
          "id": "erqOkAmWPx2_o4hGEWkzO",
          "language": "400",
          "code": "// Client error\n{\n  \"message\": \"Not found\",\n  \"errors\": \"\"\n}"
        },
        {
          "id": "2G2EJ1KZSn-O4qMKZ95zR",
          "language": "401",
          "code": "// Authorization error\n{\n  \"message\": \"Not found\",\n  \"errors\": \"\"\n}"
        },
        {
          "id": "xLsXoWt4tKlpi01Vr9Afs",
          "language": "403",
          "code": "// Permission error\n{\n  \"message\": \"Not found\",\n  \"errors\": \"\"\n}"
        },
        {
          "id": "zNPa1UO9HUgdKFyMsKvlP",
          "language": "404",
          "code": "// Not found error\n{\n  \"message\": \"Not found\",\n  \"errors\": \"\"\n}"
        }
      ],
      "selectedLanguageId": "RK-uyvEuERa1Ygqt0nY5p"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}