GET/user/data

Get User

This endpoint gives information about the user account.

4 status codes
200Successful response
creation_dateintegerrequired

User creation date. Milliseconds since epoch.

emailstringrequired

User Email

idstringrequired

User ID

last_login_dateintegerrequired

Last login date. Milliseconds since epoch.

last_login_ipstringrequired

IP address of last login.

metadataobjectrequired
namestringrequired

Full name of user

rolesarray<string>required

Roles assigned to the user.

timezonestringrequired

Timezone selected by user.

400Bad Request — org API key not allowed

One documented failure

  • user_token_required

    You must access this route by only using a user token or gumlet website.

errorobjectrequired
401Unauthorized — missing or invalid API key / bearer token

One documented failure

  • invalid_api_key

    API key supplied with request is invalid

errorobjectrequired
403Forbidden — unpaid account or insufficient role permissions

One documented failure

  • unauthorized

    You don't have access to this feature. Please contact your organization owner.

errorobjectrequired

Error handling

A 400 is returned: Bad Request — org API key not allowed. A 401 is returned: Unauthorized — missing or invalid API key / bearer token. A 403 is returned: Forbidden — unpaid account or insufficient role permissions.