post https://mediastoreapi-sandbox.cleeng.com/customers
Use /customers
endpoint to register user. After registration customer is related with your account and you will see him in Cleeng Dashboard > Customer Accounts. Customers are recognized in Cleeng by customerId
, which is encoded in JWT.
Response description
Response | Description |
---|---|
jwt | Token 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) |
refreshToken | A token to generate a new access JWT. Read more about refresh token HERE |
customerToken | Customer identifier in Cleeng. Can be useful to use other Cleeng APIs |