Harbor App Engine
  1. Harbor App Engine
Harbor App Engine
  • Harbor App Engine
    • Get Access Code For A Locker
      POST
    • Get All Locker Access Codes
      GET
    • Open Locker With Access Code
      POST
    • Close Locker
      POST
  1. Harbor App Engine

Get Access Code For A Locker

Testing
POST
/locker
Allows to create access token for a locker.
It supports multiple authentication API and Bearer token.

Request

Header Params

Body Params application/json

Example
{
    "location_id": 0,
    "locker_name": "string",
    "single_use": true,
    "expiry": "string",
    "sub_organization_id": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
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

🟢200Success
application/json
Body

Example
{
    "id": "string",
    "accessCode": "string",
    "state": "string",
    "expiry": "string",
    "createdOn": "string"
}
Modified at 2025-12-10 23:04:19
Previous
Harbor App Engine
Next
Get All Locker Access Codes
Built with