Python
from kombo import Kombo
with Kombo(
integration_id="workday:HWUTwvyx2wLoSUHphiWVrp28",
api_key="<YOUR_BEARER_TOKEN_HERE>",
) as k_client:
res = k_client.assessment.get_assessment_orders(page_size=100)
while res is not None:
# Handle items
res = res.next()import { Kombo } from "@kombo-api/sdk";
const kombo = new Kombo({
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
api_key: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await kombo.assessment.getAssessmentOrders({});
for await (const page of result) {
console.log(page);
}
}
run();require 'kombo'
Models = ::Kombo::Models
s = ::Kombo::Kombo.new(
integration_id: 'workday:HWUTwvyx2wLoSUHphiWVrp28',
security: Models::Shared::Security.new(
api_key: '<YOUR_BEARER_TOKEN_HERE>'
)
)
res = s.assessment.get_assessment_orders(page_size: 100)
unless res.get_assessment_orders_positive_response.nil?
# handle response
endcurl --request GET \
--url https://api.kombo.dev/v1/assessment/orders \
--header 'Authorization: Bearer <token>' \
--header 'X-Integration-Id: <x-integration-id>'const options = {
method: 'GET',
headers: {'X-Integration-Id': '<x-integration-id>', Authorization: 'Bearer <token>'}
};
fetch('https://api.kombo.dev/v1/assessment/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.kombo.dev/v1/assessment/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"X-Integration-Id: <x-integration-id>"
],
]);
$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.kombo.dev/v1/assessment/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Integration-Id", "<x-integration-id>")
req.Header.Add("Authorization", "Bearer <token>")
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.kombo.dev/v1/assessment/orders")
.header("X-Integration-Id", "<x-integration-id>")
.header("Authorization", "Bearer <token>")
.asString();{
"status": "success",
"data": {
"next": "<string>",
"results": [
{
"id": "B5KQKhAgTv6ZwzrfAbqbhipd",
"package_id": "typescript_test",
"status": "OPEN",
"candidate": {
"remote_id": "12345",
"email": "john.doe@gmail.com",
"first_name": "John",
"last_name": "Doe",
"phone": "+1 123 456 7890"
},
"application": {
"remote_id": "54321"
},
"job": {
"remote_id": "67890",
"name": "Bottle Opener",
"job_code": "BO-2024-01",
"description": "<p>We are looking for a skilled and energetic individual to join our team as the chief bottle open officer. This unique role requires precision, attention to detail, and the ability to handle a high volume of beverage bottles in a fast-paced environment. The ideal candidate will ensure bottles are opened swiftly and safely while maintaining hygiene standards.</p>",
"location": {
"street_1": "Lohmühlenstraße 65",
"street_2": null,
"city": "Berlin",
"state": "Berlin",
"zip_code": "12435",
"country": "DE",
"raw": "Berlin, Germany"
},
"hiring_team": [
{
"remote_id": "78901",
"email": "jane.doe@gmail.com",
"first_name": "Jane",
"last_name": "Doe",
"hiring_team_roles": [
"RECRUITER"
]
}
]
}
}
]
}
}Orders and results
Get orders
Get all assessment and background check orders of an integration.
GET
/
assessment
/
orders
Python
from kombo import Kombo
with Kombo(
integration_id="workday:HWUTwvyx2wLoSUHphiWVrp28",
api_key="<YOUR_BEARER_TOKEN_HERE>",
) as k_client:
res = k_client.assessment.get_assessment_orders(page_size=100)
while res is not None:
# Handle items
res = res.next()import { Kombo } from "@kombo-api/sdk";
const kombo = new Kombo({
integration_id: "workday:HWUTwvyx2wLoSUHphiWVrp28",
api_key: "<YOUR_BEARER_TOKEN_HERE>",
});
async function run() {
const result = await kombo.assessment.getAssessmentOrders({});
for await (const page of result) {
console.log(page);
}
}
run();require 'kombo'
Models = ::Kombo::Models
s = ::Kombo::Kombo.new(
integration_id: 'workday:HWUTwvyx2wLoSUHphiWVrp28',
security: Models::Shared::Security.new(
api_key: '<YOUR_BEARER_TOKEN_HERE>'
)
)
res = s.assessment.get_assessment_orders(page_size: 100)
unless res.get_assessment_orders_positive_response.nil?
# handle response
endcurl --request GET \
--url https://api.kombo.dev/v1/assessment/orders \
--header 'Authorization: Bearer <token>' \
--header 'X-Integration-Id: <x-integration-id>'const options = {
method: 'GET',
headers: {'X-Integration-Id': '<x-integration-id>', Authorization: 'Bearer <token>'}
};
fetch('https://api.kombo.dev/v1/assessment/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.kombo.dev/v1/assessment/orders",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"X-Integration-Id: <x-integration-id>"
],
]);
$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.kombo.dev/v1/assessment/orders"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Integration-Id", "<x-integration-id>")
req.Header.Add("Authorization", "Bearer <token>")
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.kombo.dev/v1/assessment/orders")
.header("X-Integration-Id", "<x-integration-id>")
.header("Authorization", "Bearer <token>")
.asString();{
"status": "success",
"data": {
"next": "<string>",
"results": [
{
"id": "B5KQKhAgTv6ZwzrfAbqbhipd",
"package_id": "typescript_test",
"status": "OPEN",
"candidate": {
"remote_id": "12345",
"email": "john.doe@gmail.com",
"first_name": "John",
"last_name": "Doe",
"phone": "+1 123 456 7890"
},
"application": {
"remote_id": "54321"
},
"job": {
"remote_id": "67890",
"name": "Bottle Opener",
"job_code": "BO-2024-01",
"description": "<p>We are looking for a skilled and energetic individual to join our team as the chief bottle open officer. This unique role requires precision, attention to detail, and the ability to handle a high volume of beverage bottles in a fast-paced environment. The ideal candidate will ensure bottles are opened swiftly and safely while maintaining hygiene standards.</p>",
"location": {
"street_1": "Lohmühlenstraße 65",
"street_2": null,
"city": "Berlin",
"state": "Berlin",
"zip_code": "12435",
"country": "DE",
"raw": "Berlin, Germany"
},
"hiring_team": [
{
"remote_id": "78901",
"email": "jane.doe@gmail.com",
"first_name": "Jane",
"last_name": "Doe",
"hiring_team_roles": [
"RECRUITER"
]
}
]
}
}
]
}
}Authorizations
Create an API key on the Secrets page in the Kombo dashboard.
Query Parameters
Was this page helpful?