Skip to content

Get all achievements that belong to a region

GET
/api/achievements/region/{regionId}

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

regionId*
Typestring
Required
Pattern"[1-9][0-9]*"

Responses

Success

application/json
JSON
[
{
"id": 1,
"regionId": 1,
"name": "Food Hygiene Certificate",
"description": "Awarded for completing a food hygiene course",
"icon": "fas fa-hands-wash",
"validityInDaysAfterAssignment": "356",
"isRequestableByFoodsaver": false,
"createdAt": "string",
"updatedAt": "string"
}
]

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python