Appearance
leads-export
1 endpoint.
GET /api/v1/leads/export
Export Leads
Return a page of leads changed at/after since, newest-changes-last, with their source form/ad/campaign metadata. next_since/next_after_id carry the cursor for the following page; has_more signals another page exists.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
since | query | no | ISO-8601 updated_at watermark | |
after_id | query | no | Keyset cursor: last id at since | |
limit | query | no | integer | |
x-export-token | header | no |
200 — Successful Response
json
{
"type": "object",
"additionalProperties": true,
"title": "Response Export Leads Api V1 Leads Export Get"
}422 — Validation Error
json
{
"properties": {
"detail": {
"items": {
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"type": "array",
"title": "Location"
},
"msg": {
"type": "string",
"title": "Message"
},
"type": {
"type": "string",
"title": "Error Type"
}
},
"type": "object",
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError"
},
"type": "array",
"title": "Detail"
}
},
"type": "object",
"title": "HTTPValidationError"
}