Returns all your campaigns.

Examples

curl -i https://api.passdock.com/api/v1/campaigns?api_token=75778a65dfdae310a107d2ef0bbd3780

Supported Formats

json

Success Response:

200 Good Request
              
[
  {
    id: 1,
    name: "Pass & Email",
    kind: 1,
    last_sent: null,
    list_id: null,
    email_content: "

Email HTML content

", email_object: "Email subject", email_sender: "Email sender name" }, { id: 2, name: "SMS", kind: 4, last_sent: null, list_id: null, sms_content: "Text message", sms_sender: "Text or phone number" } ]

Errors

400 Bad Request
401 Unauthorized

Params

Param name Description
api_token
required

Your Passdock API key


Value: Must be String