Skip to main content

Authenticate with client key, secret, and user credentials

POST 

/v1/device/auth/login

Creates an auth token for a client based on the provided client key, secret, and user credentials.

Request

Body

required

The client key, client secret, user credentials, and device ID.

    clientKey stringrequired

    The client key associated with the organization and project.

    clientSecret stringrequired

    The client secret associated with the client key.

    userName stringrequired

    The username.

    password stringrequired

    The user's password.

Responses

Auth token created successfully.

Schema
    user objectrequired
    id stringrequired
    email stringrequired
    name stringrequired
    image stringrequired
    backendTokens objectrequired
    authToken stringrequired
    refreshToken stringrequired
Loading...