cURL
pcall POST "/api/v1/partner/skills/lookup" '{
"skill_ids": [
"sk_38824",
"sk_36440",
"sk_99999999"
]
}'const res = await call("POST", "/api/v1/partner/skills/lookup", {
"skill_ids": [
"sk_38824",
"sk_36440",
"sk_99999999"
]
});
const { data } = await res.json();res = call("POST", "/api/v1/partner/skills/lookup", {
"skill_ids": [
"sk_38824",
"sk_36440",
"sk_99999999"
]
})
data = res.json()["data"]<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-bc.userecord.io/api/v1/partner/skills/lookup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'skill_ids' => [
'sk_38824',
'sk_36440',
'sk_99999999'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-bc.userecord.io/api/v1/partner/skills/lookup"
payload := strings.NewReader("{\n \"skill_ids\": [\n \"sk_38824\",\n \"sk_36440\",\n \"sk_99999999\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("x-secret-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-bc.userecord.io/api/v1/partner/skills/lookup")
.header("x-api-key", "<api-key>")
.header("x-secret-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"skill_ids\": [\n \"sk_38824\",\n \"sk_36440\",\n \"sk_99999999\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-bc.userecord.io/api/v1/partner/skills/lookup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["x-secret-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"skill_ids\": [\n \"sk_38824\",\n \"sk_36440\",\n \"sk_99999999\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"items": [
{
"skill_id": "sk_38824",
"name": "Packing Station Setup",
"sub_domain": {
"id": "sub_logistics_and_mobility_management__inventory_and_warehousing",
"name": "Inventory and Warehousing"
},
"domain": {
"id": "dom_logistics_and_mobility_management",
"name": "Logistics & Mobility Management"
},
"collar": "blue",
"verifiable": true,
"status": "active"
},
{
"skill_id": "sk_36440",
"name": "Forklift Basic Operation",
"sub_domain": {
"id": "sub_architecture_and_construction__heavy_equipment_operation",
"name": "Heavy Equipment Operation"
},
"domain": {
"id": "dom_architecture_and_construction",
"name": "Architecture and Construction"
},
"collar": "blue",
"verifiable": true,
"status": "active"
},
{
"skill_id": "sk_99999999",
"status": "not_found"
}
]
}
}{
"success": false,
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"details": [
{
"path": "<string>",
"message": "<string>"
}
],
"request_id": "<string>"
}
}Skills
Look up skills
Check up to 50 skill ids you stored: still active, or not_found (removed)?
Scope: skills:read · Idempotency-Key: optional
POST
/
skills
/
lookup
cURL
pcall POST "/api/v1/partner/skills/lookup" '{
"skill_ids": [
"sk_38824",
"sk_36440",
"sk_99999999"
]
}'const res = await call("POST", "/api/v1/partner/skills/lookup", {
"skill_ids": [
"sk_38824",
"sk_36440",
"sk_99999999"
]
});
const { data } = await res.json();res = call("POST", "/api/v1/partner/skills/lookup", {
"skill_ids": [
"sk_38824",
"sk_36440",
"sk_99999999"
]
})
data = res.json()["data"]<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-bc.userecord.io/api/v1/partner/skills/lookup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'skill_ids' => [
'sk_38824',
'sk_36440',
'sk_99999999'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-bc.userecord.io/api/v1/partner/skills/lookup"
payload := strings.NewReader("{\n \"skill_ids\": [\n \"sk_38824\",\n \"sk_36440\",\n \"sk_99999999\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("x-secret-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-bc.userecord.io/api/v1/partner/skills/lookup")
.header("x-api-key", "<api-key>")
.header("x-secret-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"skill_ids\": [\n \"sk_38824\",\n \"sk_36440\",\n \"sk_99999999\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-bc.userecord.io/api/v1/partner/skills/lookup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["x-secret-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"skill_ids\": [\n \"sk_38824\",\n \"sk_36440\",\n \"sk_99999999\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"items": [
{
"skill_id": "sk_38824",
"name": "Packing Station Setup",
"sub_domain": {
"id": "sub_logistics_and_mobility_management__inventory_and_warehousing",
"name": "Inventory and Warehousing"
},
"domain": {
"id": "dom_logistics_and_mobility_management",
"name": "Logistics & Mobility Management"
},
"collar": "blue",
"verifiable": true,
"status": "active"
},
{
"skill_id": "sk_36440",
"name": "Forklift Basic Operation",
"sub_domain": {
"id": "sub_architecture_and_construction__heavy_equipment_operation",
"name": "Heavy Equipment Operation"
},
"domain": {
"id": "dom_architecture_and_construction",
"name": "Architecture and Construction"
},
"collar": "blue",
"verifiable": true,
"status": "active"
},
{
"skill_id": "sk_99999999",
"status": "not_found"
}
]
}
}{
"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).
Headers
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:
255Body
application/json
Required array length:
1 - 50 elementsPattern:
^sk_\d{1,9}$
