Retrieve affiliate
Retrieves the details of an existing affiliate. You need only supply the unique affiliate identifier that was returned upon affiliate creation.

Request

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

Example

curl https://api.getrewardful.com/v1/affiliates/d0ed8392-8880-4f39-8715-60230f9eceab \
-u YOUR_API_SECRET:

Response

Success
Failures
Response code
Body
200

Not found

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

Authentication failure

Response code
Body
401
Description of the authentication failure.
{ "error": "Invalid API Secret." }
Export as PDF
Copy link