Links

Retrieve campaign

Retrieves the details of an existing campaign specified by its unique identifier.

Request

Method
URL
GET
https://api.getrewardful.com/v1/campaigns/:id

Example

curl https://api.getrewardful.com/v1/campaigns/ceaef6d9-767e-49aa-a6ab-46c02aa79604 \
-u YOUR_API_SECRET:

Response

Success
Failures
Response code
Body
200

Not found

Response code
Body
404
JSON object describing the error.
{ "error": "Campaign not found: " }

Authentication failure

Response code
Body
401
Description of the authentication failure.
{ "error": "Invalid API Secret." }