Skip to main content

Create User Access Token

POST 

/api/v1/organisations/me/users/:id/access_tokens

Allow admin to generate access tokens for group_manager and business manager users from organisation

Request

Path Parameters

    id stringrequired

Body

required

    data

    object

    required

    id stringrequired
    type stringrequired

    Possible values: [users]

Responses

Returns access token for given user

Schema

    access_token stringrequired

    Access token

    token_type stringrequired

    Token type

    expires_in integerrequired

    Token expiration time in seconds

    refresh_token stringrequired

    Token that can be used to obtain new access token

    scope stringrequired

    Scope

    created_at integerrequired

    Token creation time in seconds

Loading...