These docs are for v2.0. Click to read the latest docs for v2.1.

Login

Use /auths endpoint to log in the user. Customer authorization is based on JWT, which contains customerId, publisherId and expiration date.

There are two ways of login, by offerId (in case customer already choose offer) or by publisherId (in case customer will choose offer after authorization)

Response description

ResponseDescription
jwtToken used for authorization. It is required for endpoints related to customers. JWT is valid for 24 hours. It includes customerId, publisherId, and expiration date (to decode use package like jwt-decode)
refreshTokenA token to generate a new access JWT. Read more about refresh token HERE
customerTokenCustomer identifier in Cleeng. Can be useful to use other Cleeng APIs
Language
Click Try It! to start a request and see the response here!