Skip to navigation

Quickstart

You need a partner credential (pc_live_...) and a wallet with enough balance for the search fee. See Authentication.

2

Poll until it finishes

Read the search every 10 seconds. Stop when status is not IN_PROGRESS.

curl https://campino.tech/api/v1/partner/audience/searches/$REQUEST_ID \
-H "Authorization: Bearer $CAMPINO_PARTNER_KEY"

A DONE search lists every match with its phone number masked, for example 091*****728. A FAILED search carries an error, and your fee is refunded. See How a search works.

3

Buy the results

When the search is DONE and you want the numbers, send the request_id.

curl -X POST https://campino.tech/api/v1/partner/audience/results \
-H "Authorization: Bearer $CAMPINO_PARTNER_KEY" \
-H "Content-Type: application/json" \
-d "{\"request_id\": \"$REQUEST_ID\"}"

Calling it again for the same search returns the same rows and charges nothing.

Handle failures before you go live: see Errors and Retries and idempotency.