cURL
curl --request POST \ --url https://your-instance.example.com/api/contacts/counts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "search": "<string>", "source": "<string>" } '
{}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Counts returned