List contacts
const url = 'https://api.inside.chat/api/v1/contacts?website_id=example&query_field=all&query_match=prefix';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.inside.chat/api/v1/contacts?website_id=example&query_field=all&query_match=prefix' \ --header 'Authorization: Bearer <token>'Required scopes:
contact_read
Data access: –
MCP tool:contacts_list
Note:queryaddscontact_read_pii
Page stored contact IDs and blocked state, descending. Personal fields and search need contact_read_pii and PII; query_field selects all/name/email/mobile/phone, query_match prefix/exact. Unrestricted policy required; excludes deleted contacts, custom fields, links and remote CRM.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”An explicitly granted website.
Requires both contact_read_pii and PII data access. Prefix search over stored native primary name, email, mobile and phone. Wildcards are literal; custom fields and remote CRM data are excluded.
Requires query and current PII access. Exact matching uses native database collation with no address normalization or automatic contact selection.
Requires query and current PII access. Exact matching uses native database collation with no address normalization or automatic contact selection.
Responses
Section titled “Responses”Authorized result. Projection depends on current scopes and data policy.
object
object
object
object
Example
{ "data": { "data": [ { "access": { "pii": false } } ], "coverage": "stored_primary_contacts" }}Invalid, duplicate or unsupported request parameters.
Missing, expired or revoked installation credential.
Resource not found or not permitted by current authority.
The requested capability is not available for application installations.
Per-app quota exceeded.
Headers
Section titled “Headers”Enrollment, native service or required authority is unavailable.