REST client
tip
This guide serves as a low-level integration and should only be used as a reference for your integration.
Submit data via CLI
The cURL commands below shows two ways to structure the JSON.
- cURL (hierarchical JSON)
- cURL (flat JSON)
curl --request POST \
--url 'https://omniapi.trialbee.com/candidates?credential=ADD_TOKEN_HERE' \
--header 'Content-Type: application/json' \
--data '{
"candidate": {
"name": "Petro Prokopovych",
"phoneNumber": "+46701234567",
"email": "[email protected]"
}
}'
curl --request POST \
--url 'https://omniapi.trialbee.com/candidates?credential=ADD_TOKEN_HERE' \
--header 'Content-Type: application/json' \
--data '{
"candidate.name": "Petro Prokopovych",
"candidate.phoneNumber": "+46701234567",
"candidate.email": "[email protected]"
}'
See OpenAPI-spec for a complete example
Sending candidate data via Insomnia
Insomnia is a free cross-platform API-client that can be downloaded from https://insomnia.rest/. It is an alternative to Postman or RapidAPI.