API
HQ APICompanies

Unlock the company's PIN-protected sections

POST/v1/hq/companies/{company_id}/locked-sections/unlock

Authorization

BearerTokenAuth

AuthorizationBearer <token>

The Noona HQ API uses Bearer token for authentication.

Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.

Authorization: Bearer your-token

In: header

Path Parameters

company_id*string

Request Body

application/json

pin*string
Match^[0-9]{4}$

Response Body

application/json

application/json

application/json

curl -X POST "https://api.noona.is/v1/hq/companies/string/locked-sections/unlock" \  -H "Content-Type: application/json" \  -d '{    "pin": "string"  }'
{
  "token": "string",
  "expires_at": "2019-08-24T14:15:22Z"
}
Empty
Empty
{
  "message": "Customer onboarding error."
}
Empty
{
  "message": "Customer onboarding error."
}
Empty