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 15 minutes. 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 | Session/authentication token for JSON RPC API. |
customerId | Customer identifier at Cleeng. |