List affiliates
Returns every affiliate participating in any of the merchant’s campaigns.
Returns every affiliate participating in any of the merchant’s campaigns.
Authorization
bearerAuth API key issued from the merchant dashboard. Sent as Authorization: Bearer <token>. Used by the SDK and any direct server-to-server integration.
In: header
Query Parameters
Page size, clamped to 100.
Number of items to skip.
Filter by affiliate status.
Filter by campaign membership.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://app.refcampaign.com/api/v1/affiliates"{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "string",
"details": null
},
"meta": {
"timestamp": "2019-08-24T14:15:22Z",
"requestId": "string"
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "string",
"details": null
},
"meta": {
"timestamp": "2019-08-24T14:15:22Z",
"requestId": "string"
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "string",
"details": null
},
"meta": {
"timestamp": "2019-08-24T14:15:22Z",
"requestId": "string"
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "string",
"details": null
},
"meta": {
"timestamp": "2019-08-24T14:15:22Z",
"requestId": "string"
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "string",
"details": null
},
"meta": {
"timestamp": "2019-08-24T14:15:22Z",
"requestId": "string"
}
}Get the conversion timeline of a campaign GET
Returns time-series data of conversions over the requested window. Aggregation granularity is auto-selected based on window size.
Create an affiliate POST
Creates an affiliate record under the merchant account. Used for direct invitations from the dashboard or partner imports.