Skip to Content
API access is available to organizations with a signed BAA. Request API access →
API referenceList campaigns

List campaigns

GET/campaigns

Lists the organization’s campaigns, newest first. Archived campaigns are left out unless archived=true.

Scope
messages.read

Query parameters

statusdraft, running, paused, completed, stopped

Only campaigns with this status.

archivedboolean

List archived campaigns instead of active ones.

page[limit]integer

Number of records to return. Defaults to 50, maximum 100.

page[after]string

Cursor from the previous page’s pagination.next_cursor.

Returns

Returns 200 OK with a data array of Campaign objects and a pagination object. See pagination.

Errors

Failed requests return application/problem+json problem details. The errors specific to this endpoint:

StatusCodeMeaning
400invalid_requestThe request is malformed, such as invalid JSON.
401invalid_tokenThe API key or access token is missing, expired, or revoked.
403insufficient_scopeThe credential doesn’t have the scope this endpoint needs.
429rate_limitedToo many requests. Retry after Retry-After seconds.
Last updated on