API reference/Leads
List leads portals
Try itDiscover this workspace's sponsor portal tokens for CRM export. These tokens are credentials to public sponsor portals; treat them as sensitive.
GET
/api/v1/leadsAuthentication
Send your workspace key as xi-api-key or Authorization: Bearer.
leads:readread
Parameters
Named placeholders belong in the path. Other arguments use query parameters.
limitOptional- integerRange: 1 to 100
offsetOptional- integerRange: 0 to 100000
Response
JSON response with status 200.
Requests and errors →{
"limit": 50,
"offset": 0
}{
"type": "object",
"properties": {
"limit": {
"default": 50,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 100000
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"token": {
"type": "string"
},
"campaignToken": {
"type": "string"
},
"campaign": {
"type": "string"
},
"sponsor": {
"type": "string"
}
},
"required": [
"token",
"campaignToken",
"campaign",
"sponsor"
],
"additionalProperties": false
}
},
"limit": {
"type": "number"
},
"offset": {
"type": "number"
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"items",
"limit",
"offset",
"hasMore"
],
"additionalProperties": false
}