Skip to main content
GET
List campaigns

Authorizations

Authorization
string
header
required

A Paperjoy API key. Keys starting with pj_test_ use test mode; keys starting with pj_live_ use live mode.

Query Parameters

page
integer
default:1

The page to return, starting at 1. A page past the end returns an empty data array.

Required range: x >= 1
per_page
integer
default:50

How many postcards to return per page.

Required range: 1 <= x <= 100
status
enum<string>

Return only campaigns at this step, for example completed. The campaign's step: mapping (column mapping), content (card message), validation (row checks), confirmation (awaiting confirmation), or completed (postcards created).

Available options:
mapping,
content,
validation,
confirmation,
completed

Response

One page of campaigns in the API key's mode.

One page of campaigns with Laravel's pagination links and metadata.

data
object[]
required

URLs of neighbouring pages. prev and next are null at the ends of the list.

meta
object
required

Where this page sits in the full list.