Get Access Code For A Locker
Testing
Allows to create access token for a locker.
It supports multiple authentication API and Bearer token.
Request
Body Params application/json
{
"location_id": 0,
"locker_name": "string",
"single_use": true,
"expiry": "string",
"sub_organization_id": "string"
}
Request Code Samples
curl --location --request POST '/locker' \
--header 'x-api-key: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"location_id": 0,
"locker_name": "string",
"single_use": true,
"expiry": "string",
"sub_organization_id": "string"
}'
Responses
application/json {
"id": "string",
"accessCode": "string",
"state": "string",
"expiry": "string",
"createdOn": "string"
}
Modified at 2025-12-10 23:04:19