إنتقل إلى المحتوى الرئيسي

List an agent's leads

GET 

/v1/agents/:agentId/leads

x-scope: "leads:read"

Pinned leads (pinned: true) come first, on the first page only, then the rest newest first. Later pages never contain pinned leads, so if more leads are pinned than limit, the extra ones are not returned: use a limit (up to 100) above the number of pinned leads. The filters (status, search, creation dates, assignee and custom fields) combine: a lead is listed only when it matches all of those sent.

Request​

Responses​

A page of leads.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.