Skip to main content
GET
/
links
Get all affiliate links or by ID/link/affiliate
curl --request GET \
  --url https://www.pushlapgrowth.com/api/v1/links \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "link": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "affiliate": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "email": "[email protected]"
    },
    "program": {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<string>",
      "currency": "<string>"
    },
    "clicks": 123,
    "referrals": 123,
    "sales": 123,
    "totalRevenue": 123,
    "fullURLs": [
      {
        "baseUrl": "<string>",
        "fullUrl": "<string>"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Query Parameters

id
string<uuid>
affiliateId
string<uuid>
affiliateEmail
string<email>

Response

id
string<uuid>
createdAt
string<date-time>
updatedAt
string<date-time>
affiliate
object
program
object
clicks
integer
referrals
integer
sales
integer
totalRevenue
number
fullURLs
object[]