cURL
pcall GET "/api/v1/partner/campaigns?mandate_id=JM_261009101612456H3N8W2L5C9V1Z4&status=sending&limit=50"const res = await call("GET", "/api/v1/partner/campaigns?mandate_id=JM_261009101612456H3N8W2L5C9V1Z4&status=sending&limit=50");
const { data } = await res.json();res = call("GET", "/api/v1/partner/campaigns?mandate_id=JM_261009101612456H3N8W2L5C9V1Z4&status=sending&limit=50")
data = res.json()["data"]<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-bc.userecord.io/api/v1/partner/campaigns",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>",
"x-secret-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-bc.userecord.io/api/v1/partner/campaigns"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("x-secret-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-bc.userecord.io/api/v1/partner/campaigns")
.header("x-api-key", "<api-key>")
.header("x-secret-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-bc.userecord.io/api/v1/partner/campaigns")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
request["x-secret-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"items": [
{
"campaign_id": "asmnt_9f2c41d7a8b3e65f",
"external_id": "ats-campaign-5521",
"mandate_id": "JM_261009101612456H3N8W2L5C9V1Z4",
"job_id": "job-10452",
"name": "Warehouse Associate - October batch",
"status": "sending",
"blocked": null,
"language": "english",
"candidates": {
"total": 3,
"sent": 3,
"queued": 0,
"failed": 0
},
"created_at": "2026-10-05T09:12:44.000Z",
"started_at": "2026-10-05T09:12:45.000Z",
"sent_at": "2026-10-05T09:30:00.000Z",
"paused_at": null
}
],
"count": 1,
"total": null,
"next_cursor": null,
"has_more": false
}
}{
"success": false,
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
],
"request_id": "<string>"
}
}Campaigns
List campaigns
List your organisation’s campaigns; filter by mandate_id to see one job’s.
Scope: campaigns:write or results:read
GET
/
campaigns
cURL
pcall GET "/api/v1/partner/campaigns?mandate_id=JM_261009101612456H3N8W2L5C9V1Z4&status=sending&limit=50"const res = await call("GET", "/api/v1/partner/campaigns?mandate_id=JM_261009101612456H3N8W2L5C9V1Z4&status=sending&limit=50");
const { data } = await res.json();res = call("GET", "/api/v1/partner/campaigns?mandate_id=JM_261009101612456H3N8W2L5C9V1Z4&status=sending&limit=50")
data = res.json()["data"]<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-bc.userecord.io/api/v1/partner/campaigns",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>",
"x-secret-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-bc.userecord.io/api/v1/partner/campaigns"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("x-secret-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-bc.userecord.io/api/v1/partner/campaigns")
.header("x-api-key", "<api-key>")
.header("x-secret-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-bc.userecord.io/api/v1/partner/campaigns")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
request["x-secret-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"items": [
{
"campaign_id": "asmnt_9f2c41d7a8b3e65f",
"external_id": "ats-campaign-5521",
"mandate_id": "JM_261009101612456H3N8W2L5C9V1Z4",
"job_id": "job-10452",
"name": "Warehouse Associate - October batch",
"status": "sending",
"blocked": null,
"language": "english",
"candidates": {
"total": 3,
"sent": 3,
"queued": 0,
"failed": 0
},
"created_at": "2026-10-05T09:12:44.000Z",
"started_at": "2026-10-05T09:12:45.000Z",
"sent_at": "2026-10-05T09:30:00.000Z",
"paused_at": null
}
],
"count": 1,
"total": null,
"next_cursor": null,
"has_more": false
}
}{
"success": false,
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
],
"request_id": "<string>"
}
}Authorizations
Your key id, VFN_TEST_… or VFN_LIVE_…. Sent on every request.
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).
Query Parameters
Record's mandate id (JM_...): the mandate_id returned when you create the mandate
Pattern:
^JM_[A-Z0-9]{10,40}$Your own id (1 to 128 of A-Z a-z 0-9 . _ : -)
Pattern:
^[A-Za-z0-9._:-]{1,128}$Available options:
draft, waiting_for_questions, blocked, sending, paused, completed, cancelled 1 to 100, default 50
Required range:
1 <= x <= 100The next_cursor of the previous page
Maximum string length:
512
