Autenticación
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.
info
Join our Discord to request access to the API. https://discord.gg/49JnBAsaq9
Autenticación 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": "noreply@zelf.world",
}
- 200
- 403
- 404
The request was successful, and JWT is returned in JSON format.
{
"token": "yJhbGciOiJIUzI1NiIsVCJ9.eyJ6ZW...2hN7CLEebrvSDgM"
}
{
"error": "client_invalid_api_key"
}
{
"error": "client_not_found"
}