POST
/
merchant
/
session
/
new_session
curl --request POST \
  --url https://api.unibee.top/merchant/session/new_session \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "address": "<string>",
  "cancelUrl": "<string>",
  "email": "<string>",
  "externalUserId": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "password": "<string>",
  "phone": "<string>",
  "returnUrl": "<string>"
}'
{
  "code": 123,
  "data": {
    "clientSession": "<string>",
    "clientToken": "<string>",
    "email": "<string>",
    "externalUserId": "<string>",
    "url": "<string>",
    "userId": "<string>"
  },
  "message": "<string>",
  "redirect": "<string>",
  "requestId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

New session for user portal or web component

Response

200 - application/json

The response is of type object.