Heads up, our devs are blazing ahead—docs are catching up, so some features might not be fully documented yet.

User

User

Get full account info

get
/account

Get full account information for a logged-in user. This will return information for all tenants the user has access to.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Responses
200

User account response

application/json
get
/account
200

User account response

Login user

post
/account

Login as a tenant user

Requires a valid deviceToken

Authorizations
AuthorizationstringRequired

The devicetoken is only used for to attach devices and tie it to a tenant

Body
passwordstringRequired
userCodestringRequired
Responses
200

Example response

application/json
post
/account
200

Example response

Update global account information

put
/account

Update global information about logged in user

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Body
defaultTenantUidstringRequiredPattern: ^[A-Za-z0-9-_]+
Responses
200

User account response

application/json
put
/account
200

User account response

Get account info for a specific tenant

get
/tenants/{tenantUid}/account

Get tenant information about logged-in user

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Responses
200

Tenant user respose

application/json
get
/tenants/{tenantUid}/account
200

Tenant user respose

Generate accessToken from authToken

post
/tenants/{tenantUid}/account

Generate access token from auth token

Authorizations
AuthorizationstringRequired

Token received from the auth service

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Responses
200

Tenant user respose

application/json
post
/tenants/{tenantUid}/account
200

Tenant user respose

Update account info

put
/tenants/{tenantUid}/account

Update information about logged in user

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body

Update the tenant account

defaultStoreUidstringOptionalPattern: ^[A-Za-z0-9-_]*
displayNamestringOptional
emailstringOptional
firstnamestringOptional
lastnamestringOptional
mobilestringOptional
passwordstringOptional
languageCodestringOptional

ISO 639-1 code for language

Responses
200

Tenant user respose

application/json
put
/tenants/{tenantUid}/account
200

Tenant user respose

Get tenant invitation information

get
/account/invite

Get information about invitation to a tenant

Header parameters
x-invite-tokenstringRequired

invite token

Responses
200

Example response

application/json
get
/account/invite
200

Example response

Accept tenant invitation

put
/account/invite

Accept invitation to a tenant

Authorizations
AuthorizationstringRequired

Token received from the auth service

Body

Accept an invitation

inviteTokenstringRequired
Responses
200

Tenant user respose

application/json
put
/account/invite
200

Tenant user respose

Last updated

Was this helpful?