Skip to main content
This walks through the API with curl. Set your key first:
1

Create an API key

In the Avina dashboard, go to Settings → API Keys and click Create API Key (workspace admins only). Copy the key; it is shown once.Check it works:
The response names the workspace the key belongs to.
2

Check your credits

The response has the current billing period and its credits_used, credits_limit and credits_remaining, the same numbers the dashboard shows.
3

Create a persona

A persona tells Avina which contacts to look for at each company: the job titles, how many contacts per company (1–100), where the contacts are located (contact_countries, omitted for worldwide), and whether to enrich emails and phones.
The persona appears in the dashboard too. Creating or changing a persona does not search for contacts or use credits.
4

Change it

Send only the fields to change; job_titles replaces the whole list: