agentlyleads docs
Campaigns API

Errors

Every error is a JSON object with a single error string:

{ "error": "<message>" }
StatusMeaning
400 Bad RequestThe body or a query parameter is invalid, the fromEmail is not a verified sending identity, the audience is empty, or the launch is over today's sending limit
401 UnauthorizedMissing, malformed, expired, or revoked API key
403 ForbiddenThe key lacks read:campaigns or write:campaigns
404 Not FoundNo campaign with that ID in this workspace, or a tag, contact or offering in the body that is not in it
409 ConflictThe campaign's status does not allow this (editing a sent campaign, deleting a launched one), or the workspace's sending is paused
429 Too Many RequestsRate limit exceeded

Examples

{ "error": "No tag named \"Farms\"." }
{ "error": "This campaign is SENDING and can no longer be edited. Create a new campaign instead." }
{ "error": "Only DRAFT campaigns can be deleted. This one is SCHEDULED; cancel it instead with POST /api/v1/campaigns/cmq2camp0alk34567890/cancel." }

On this page