Appearance
Get Affiliate Leads
Retrieves a list of leads for an affiliate.
Endpoint
bash
GET https://api.exmp.com/v1/affiliates/leadsQuery Parameters
| Parameter | Type | Description |
|---|---|---|
| pageSize | number | Number of items per page |
| pageNumber | number | Page number |
| startDate | string | Start date in YYYY-MM-DD format |
| endDate | string | End date in YYYY-MM-DD format |
Headers
x-apiKey: your-api-key
Example Request
bash
curl --location 'https://api.exmp.com/v1/affiliates/leads?pageSize=50&pageNumber=1&startDate=2025-03-25&endDate=2025-05-30' \
--header 'x-apiKey: {x-apiKey token}'Notes
- The response will be paginated based on the
pageSizeparameter - Dates should be provided in YYYY-MM-DD format
- The API will return leads within the specified date range
