Skip to content
gist.link ↗

resumeCampaign

Mutation Marketing API — POST https://marketing.api.gist.link/graphql

Resume (reactivate) a campaign locally and enqueue an async platform push. ROLE_ADMIN or ROLE_MARKETING_MANAGER.

marketing:mutation:resumeCampaign

The calling IAM key must hold this permission (or a wildcard that covers it: marketing:mutation:* or marketing:*) and the access token must have been minted with audience=marketing. See Permissions.

type Mutation {
resumeCampaign(id: ID!): Campaign!
}
Argument Type Required Description
id ID! Yes —

Campaign! — see the Marketing types reference.

Terminal window
curl https://marketing.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "mutation ResumeCampaign($id: ID!) { resumeCampaign(id: $id) { id name status currency } }",
"variables": {
"id": "01a01234-abcd-7000-9000-0123456789ab"
}
}
JSON