POST
/
me
/
sessions
Create session
curl --request POST \
  --url https://console.gmicloud.com/api/v1/me/sessions \
  --header 'CE-ClientId: <ce-clientid>' \
  --header 'Content-Type: application/json' \
  --data '{
  "authToken": "eyJhbGciOiJIUzI1NiIsInR...",
  "otpCode": 321673
}'
{
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR...",
  "refreshToken": "eyJhbGciOiJIUzI1NiIsInR..."
}

Headers

CE-ClientId
string
required

A unique identifier to each user device and browser.

  • Must be less than 8 characters.
  • Only alphanumeric characters are allowed.

Body

application/json

The request body for session creation

The body is of type object.

Response

Successfully created a login session for user.

The response is of type object.