Workflows
Remove a campaign's workflow
RankShark EnhanceScopecampaigns:write
DELETE
The campaign runs its tasks[] one after another again.
header
AuthorizationBearer <token>An Enhance API key (rsen_…) or an OAuth 2.1 access token, as "Authorization: Bearer …".
id*stringCampaign id
Removed
application/json- response
id?stringcleared?booleancurl -X DELETE 'https://panel.rankshark.io/api/v1/campaigns/string/flow'Example Response
{ "id": "string", "cleared": true}Get a campaign's workflow GET
The editable flow spec, whatever form the campaign is stored in (a classic campaign shows as its linear flow).
Set a campaign's workflow PUT
Validated against the campaign's tasks[] and saved. A linear flow (traffic sources, each followed by its own steps) is stored as classic tasks.