Skip to main content
TypeScript

Authorizations

Authorization
string
header
required

Your Periskope API token, sent as Authorization: Bearer <token>. Generate one from the Periskope dashboard under Settings → API & Webhooks. API access requires an active Pro or Enterprise plan.

Query Parameters

q
string

Case-insensitive substring search across the contact number and contact name.

Example:

"hello"

offset
integer | null

Number of contacts to skip before the first returned contact. Use together with limit to paginate: page N is offset = N * limit. Defaults to 0.

Required range: x >= 0
Example:

0

limit
integer

Maximum number of contacts to return in one page. Defaults to 1000, capped at 2000.

Required range: 1 <= x <= 2000
Example:

100

Response

Paginated list of contacts

from
integer

1-based index of the first record in this page (offset + 1).

Example:

1

to
integer

1-based index of the last record in this page.

Example:

20

count
integer

Number of records in this page — the length of the contacts array, not the total across all pages.

Example:

20

contacts
object[]

The contacts in this page.