Publishing

Publish the draft

Publishes the project's draft configuration to the live site and rebuilds the tracking snippet. Returns 422 when there is nothing to publish or the draft fails validation, 409 while experiment activation is busy, and 402 when the project has no plan yet (subscription_required, or demo_project for an agency demo project).

Requires an API token with the publish ability. Tokens created without abilities have *, which grants every ability.

post/{teamPid}/publish

Request

  • Base URL
    https://api.rightmessage.com/v1
  • Auth
    HTTP bearer

Path parameters

teamPidstring required

Project ID: the public pid that appears in dashboard URLs (app.rightmessage.com/{teamPid}/…).

Request body

tabIdstring
messagestring

Response

messagestring required
published_atstring required

Changes

No recorded changes to this operation across all 1 revision of this API.