Skip to main content
POST
cURL

Authorizations

x-api-key
string
header
required

Your key id, VFN_TEST_… or VFN_LIVE_…. Sent on every request.

x-secret-key
string
header
required

Your secret, VFN_SK_…. Not a real header, and never sent to the API. It is only a form field for Try it, which uses it to sign your request in your browser. In your own code you sign each request with the secret and send x-api-key, x-timestamp and x-signature (see Authentication).

Headers

Idempotency-Key
string

Optional. A retry with the same key returns the first answer (kept 24 h). Leave empty in Try it: a new one is made for every call.

Maximum string length: 255

Body

application/json
start
enum<string>
required

now: send straight away. manual: create a draft and start it later

Available options:
now,
manual
candidates
object[]
required

1–1,000 of { name, phone, external_id? }. Phone: 10 digits or with country code. Bad numbers come back in rejected.

Required array length: 1 - 1000 elements
mandate_id
string

Record's job mandate id: the mandate_id returned when you created the job mandate. Send this or job_id, not both

Pattern: ^JM_[A-Z0-9]{10,40}$
job_id
string

Your own job id, if the mandate was created with one. Send this or mandate_id, not both

Pattern: ^[A-Za-z0-9._:-]{1,128}$
name
string

Defaults to the job title and today's date

Required string length: 1 - 120
external_id
string

Your own id for this campaign. Must be unique

Pattern: ^[A-Za-z0-9._:-]{1,128}$
language
enum<string>

The language candidates are contacted in. Default en

Available options:
en,
hi,
ta,
te,
kn,
ml

Response

The campaign, how many candidates were accepted, and any that were left out

success
boolean
message
string
data
object