Skip to main content
You need a TEST key id and secret with the enrichment:write and enrichment:campaigns scopes, and the call() helper from Authentication.
A campaign contacts the phone numbers you send. The numbers below are placeholders: use your own test numbers.
1

Create an enrichment

JavaScript
Save enrichment_id. questions_status starts as pending.
2

Wait for the questions

JavaScript
Record translates and voices the questions in every language. This takes a short while. You may create a campaign now: it waits and goes out by itself.
3

Start a campaign

JavaScript
Contacting starts at once. skipped lists any row that could not be contacted and why.
4

Read the results

JavaScript
Each result carries your external_id, the full phone number and every answer.A result never changes once it appears, so poll this call until you have the ones you need.
Next: Enrichments, Campaigns, Candidates and results.