REST API
Webhooks
Help Center →
Search…
Introduction
JavaScript API
Overview
REST API
Overview
Affiliates
The affiliate object
List affiliates
Create affiliate
Retrieve affiliate
Update affiliate
Magic Link (SSO)
Affiliate Links
Referrals
Commissions
Webhooks
Overview
Endpoints
Requests
Event types
Signed webhooks
Links
Help Center
Sign up
Login
Learn more about Rewardful
Powered By
GitBook
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
An
affiliate object
(JSON)
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."
}
Previous
Create affiliate
Next
Update affiliate
Last modified
1yr ago
Export as PDF
Copy link
Outline
Request
Example
Response