Authentication
To access our services, we require a JWT token for each API that is protected on our end, for that you will require your email and apiKey to generate a temporal token that will enable you to access the APIs.
Authentication endpoint
https://api.zelf.world/api/clients/auth
This endpoint allows the creation of a new JWT (JSON Web Token) that you will need to authenticate your account.
Request
Endpoint:
/api/clients/auth
Method: POST
Content-Type:
application/json
Headers
The request body should be a JSON object containing the following fields:
"x-Api-Key": "client_927218f5abf23ebeb226e281"
Request Body
The request body should be a JSON object containing the following fields:
{
"email": "[email protected]",
}
The request was successful, and JWT is returned in JSON format.
{
"token": "yJhbGciOiJIUzI1NiIsVCJ9.eyJ6ZW...2hN7CLEebrvSDgM"
}
Last updated
Was this helpful?