Skip to main content
POST
/
api
/
v1
/
organizations
/
{orgId}
/
workspaces
/
{workspaceId}
/
campaigns
/
{campaignId}
/
actions
/
{action}
Start, pause, or resume a campaign.
curl --request POST \
  --url https://api.app.firstsales.io/api/v1/organizations/{orgId}/workspaces/{workspaceId}/campaigns/{campaignId}/actions/{action} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "code": "<string>",
    "message": "<string>",
    "requestId": "<string>",
    "details": {}
  }
}
Use this endpoint through the Developer API or the matching firstsales CLI command when available. Responses use the stable FirstSales public error envelope.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required
workspaceId
string
required
campaignId
string
required
action
enum<string>
required
Available options:
start,
pause,
resume

Response

Campaign after the requested action.