Get a certification
curl --request GET \
--url https://api.journeybee.io/v1/certifications/{uuid} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.journeybee.io/v1/certifications/{uuid}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.journeybee.io/v1/certifications/{uuid}', 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.journeybee.io/v1/certifications/{uuid}",
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>"
],
]);
$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.journeybee.io/v1/certifications/{uuid}"
req, _ := http.NewRequest("GET", url, nil)
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.journeybee.io/v1/certifications/{uuid}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.journeybee.io/v1/certifications/{uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"uuid": "<string>",
"label": "<string>",
"summary": "<string>",
"live": true,
"type": "internal",
"level": "<string>",
"validity_months": 0,
"duration_minutes": 123,
"created_at": "<string>",
"updated_at": "<string>",
"asset_uuid": "<string>",
"resource_count": 123,
"categories": [
{
"uuid": "<string>",
"label": "<string>"
}
],
"folders": [
{
"uuid": "<string>",
"label": "<string>"
}
],
"partner_type_referral": true,
"partner_type_reseller": true,
"partner_type_distributor": true,
"resources": [
{
"uuid": "<string>",
"resource_uuid": "<string>",
"resource_label": "<string>",
"series": 123,
"is_required": true,
"prerequisite_resource_uuid": "<string>",
"created_at": "<string>"
}
],
"assessment_is_required": true,
"assessment_requires_curriculum_completion": true,
"prerequisite_certification_uuid": "<string>",
"assessment_content": {
"questions": [
{
"id": "<string>",
"question": "<string>",
"type": "multiple_choice",
"correctAnswer": "<string>",
"options": [
{
"id": "<string>",
"text": "<string>"
}
],
"allowMultiple": true,
"explanation": "<string>",
"feedbackCorrect": "<string>",
"feedbackIncorrect": "<string>",
"feedbackTiming": "after_each",
"reviewReference": "<string>",
"tags": [
"<string>"
]
}
],
"passingScore": 123,
"showCorrectAnswers": true,
"randomizeQuestions": true,
"shuffleOptions": true,
"drawCount": 123,
"maxAttempts": 123
},
"default_language": "en",
"languages": [
"en"
]
}Certifications
Get a certification
GET
/
certifications
/
{uuid}
Get a certification
curl --request GET \
--url https://api.journeybee.io/v1/certifications/{uuid} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.journeybee.io/v1/certifications/{uuid}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.journeybee.io/v1/certifications/{uuid}', 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.journeybee.io/v1/certifications/{uuid}",
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>"
],
]);
$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.journeybee.io/v1/certifications/{uuid}"
req, _ := http.NewRequest("GET", url, nil)
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.journeybee.io/v1/certifications/{uuid}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.journeybee.io/v1/certifications/{uuid}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"uuid": "<string>",
"label": "<string>",
"summary": "<string>",
"live": true,
"type": "internal",
"level": "<string>",
"validity_months": 0,
"duration_minutes": 123,
"created_at": "<string>",
"updated_at": "<string>",
"asset_uuid": "<string>",
"resource_count": 123,
"categories": [
{
"uuid": "<string>",
"label": "<string>"
}
],
"folders": [
{
"uuid": "<string>",
"label": "<string>"
}
],
"partner_type_referral": true,
"partner_type_reseller": true,
"partner_type_distributor": true,
"resources": [
{
"uuid": "<string>",
"resource_uuid": "<string>",
"resource_label": "<string>",
"series": 123,
"is_required": true,
"prerequisite_resource_uuid": "<string>",
"created_at": "<string>"
}
],
"assessment_is_required": true,
"assessment_requires_curriculum_completion": true,
"prerequisite_certification_uuid": "<string>",
"assessment_content": {
"questions": [
{
"id": "<string>",
"question": "<string>",
"type": "multiple_choice",
"correctAnswer": "<string>",
"options": [
{
"id": "<string>",
"text": "<string>"
}
],
"allowMultiple": true,
"explanation": "<string>",
"feedbackCorrect": "<string>",
"feedbackIncorrect": "<string>",
"feedbackTiming": "after_each",
"reviewReference": "<string>",
"tags": [
"<string>"
]
}
],
"passingScore": 123,
"showCorrectAnswers": true,
"randomizeQuestions": true,
"shuffleOptions": true,
"drawCount": 123,
"maxAttempts": 123
},
"default_language": "en",
"languages": [
"en"
]
}Authorizations
Path Parameters
Response
200 - application/json
Default Response
Every language the certification has content in — default_language plus each version in the translations sub-resource.
Language code (BCP-47) — the same values users.locale accepts. Learners see content in their users.locale, falling back to the resource/certification default_language.
Available options:
en, sv, da, de, es, fi, fr, ko, nb, nl, pl, pt, pt-BR, zh-HANS, zh-HANT