Documentation Index
Fetch the complete documentation index at: https://docs.teli.ai/llms.txt
Use this file to discover all available pages before exploring further.
Get Campaign Contacts
Retrieve all contacts in a campaign with their current status and assignment details. For non-admin users, only threads assigned to them are returned.Endpoint
Authentication
Your API key
Path Parameters
The campaign ID
Query Parameters
The current user’s
unique_id. Used for filtering threads by assignment when is_admin is false.If
true, returns all contacts in the campaign. If false, only returns contacts assigned to the specified user_id.Maximum number of contacts to return in this response. Values greater
than
10000 are silently capped at 10000.Number of contacts to skip before the response window. Combine with
limit to page through a large campaign.Response
Whether the request was successful
Array of contact objects
Total number of contacts in the campaign that match the scope filter
(before
limit/offset are applied)Number of contacts included in this response (after
limit/offset)The effective
limit used for this response (capped at 10000)The
offset used for this responsetrue when there are more contacts beyond offset + returned. Paginate
by calling again with offset = offset + returned.Example Request
Example Response
Filtering Behavior
| Caller | is_admin | Result |
|---|---|---|
| Admin | true | All contacts in the campaign |
| User | false | Only contacts assigned to user_id |
| User (no assignments) | false | Empty array |
Related Endpoints
- Assign Thread - Assign a thread to a user
- Unassign Thread - Remove a thread assignment
- Get Campaign Messages - Get conversation messages
- Get Thread Messages - Paginated messages for a single thread
- List Users - List users available for assignment

