Generate account access token

Get access token

POST https://integrations.mipos.shop/api/oauth/token

Provide an access token to be used in the calls to all endpoints (Doesn't update the token)

Headers

NameTypeDescription

Content-Type

string

application/json

Request Body

NameTypeDescription

client_id

string

Identifier of the application

client_secret

string

Secret key for the application

grant_type

string

Default value: "client_credentials"

email

string

The email of the user account

password

string

The password of the user account

{
    "message": "Access token.",
    "data": {
        "token": "generated_access_token(this is also the refresh token)",
        "token_type": "bearer",
        "expires_in": "1585815796"
    }
}

Last updated