Get Campaign V2 Contacts
Authentication
AuthorizationBearer
Authenticate server-side requests with a private Vapi API key. Create or copy a key from the [Vapi Dashboard](https://dashboard.vapi.ai) and send it in the `Authorization` header as `Bearer <token>`. Keep private API keys out of client-side code and public repositories.
Path parameters
id
The unique identifier for the resource.
Query parameters
status
This is the status to filter contacts by. Pass once or multiple times to
filter on any of the provided statuses.
limit
This is the maximum number of contacts to return. Defaults to 50.
sortBy
This is the column to sort by. Defaults to `position` — the order contacts
were uploaded, which is also dial order.
`status` sorts by the enum's declaration order rather than alphabetically,
which means it reads as a lifecycle: pending, dispatched, completed,
failed, skipped, predial-failed.
Only columns on `campaign_contact` are sortable. Call-level values such as
cost or duration live on the call and are attached after this query, so
sorting by them here would only reorder the current page.
Allowed values:
page
This is the page number to return. Defaults to 1.
Response
results
metadata
Pagination and retention metadata returned with a paginated list of phone numbers.