GET/v1/organizationGet current organization

Get the organization that belongs to the current session
headerAuthorizationAuthentication token (bearer token or API key).

Response

status200All ok, returned found account
status401Invalid authentication token
status403Insufficient rights
status404Account not found
{
"id" : Number,
"name" : String,
"restricted" : Boolean,
"subscriptionId" : String,
"creatorAccountId" : Number,
"dateCreated" : Date/time with a timezone (ISO 8601, e.g. "2022-06-23T13:53:02+02:00"),
"dateModified" : Date/time with a timezone (ISO 8601, e.g. "2022-06-23T13:53:02+02:00"),
"permissions" : {
"rangeBoostMode" : Boolean,
"unlimitedUsers" : Boolean,
"remoteAccess" : Boolean,
"backupPins" : Boolean,
"shareAccess" : Boolean,
"eventLog" : Boolean,
"turnToActivate" : Boolean,
"tailgaterProtection" : Boolean,
"matter" : Boolean,
"turnToBoost" : Boolean,
"lockedStatus" : Boolean,
"buttonAutoDisable" : Boolean,
"powerSaveMode" : Boolean,
"nightLock" : Boolean,
"leaveAlert" : Boolean,
"tamperDetection" : Boolean,
"webKeys" : Boolean,
"dynamicPins" : Boolean,
"extendedEventLog" : Boolean,
"keepActiveMode" : Boolean,
"showRealUser" : Boolean,
"portal" : Boolean,
"deviceGroups" : Boolean,
"userGroups" : Boolean,
"temporaryShares" : Boolean,
"managedClickers" : Boolean,
"importUsers" : Boolean,
"exportEvents" : Boolean,
"userInviteEmail" : Boolean,
"userInviteSms" : Boolean,
"userInviteWhatsapp" : Boolean,
"integration" : Boolean,
"customClient" : Boolean,
"eventWebhooks" : Boolean,
"autoEmailMatch" : Boolean,
"requireEmailMatch" : Boolean,
"emailMatchCredentialFilter" : Boolean,
"nfcActivationTag" : Boolean,
"walkInMode" : Boolean,
"createOrganizations" : Boolean
}
}

Example: Get organization with account-level session

GET/v1/organization

headerAuthorizationBearer 281c9355-9a93-4be6-a421-dd48508713a5

Response

status404
headerAccess-Control-Expose-Headersauthorization, content-type
headerAccess-Control-Allow-Headersauthorization, content-type
headerAccess-Control-Allow-MethodsGET, POST, DELETE, OPTIONS, PUT
headerAccess-Control-Allow-Origin*
headerStrict-Transport-Securitymax-age=31536000; includeSubDomains
headerX-Frame-OptionsSAMEORIGIN
headerX-Content-Type-Optionsnosniff
headerX-XSS-Protection1; mode=block
headerContent-Security-Policydefault-src 'none'; frame-ancestors 'none'; base-uri 'none'; form-action 'none'
headerReferrer-Policyno-referrer
headerFeature-Policyself
headerPermissions-policyinterest-cohort=()
{
"message": "Organization ? not found",
"errorMessage": "Organization ? not found"
}