GET
/
affiliates
curl --request GET \
  --url https://www.pushlapgrowth.com/api/v1/affiliates \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "firstName": "<string>",
    "lastName": "<string>",
    "name": "<string>",
    "email": "jsmith@example.com",
    "password": "<string>",
    "emailVerified": true,
    "image": "<string>",
    "detailsComplete": true,
    "programId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "payoutEmail": "jsmith@example.com",
    "paymentMethod": "<string>",
    "commissionRate": 123,
    "link": "<string>",
    "status": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "numberOfReferredUsers": 123,
    "numberOfClicks": 123,
    "totalCommissionEarned": 123
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string

The ID of the affiliate to retrieve

email
string

The email of the affiliate to retrieve

Response

200
application/json

A list of affiliates or a single affiliate

The response is of type object[].