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.

Join our Discord to request access to the API. https://discord.gg/49JnBAsaq9

Authentication endpoint

POST 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_927118f7abf23ebeb226e281"

Request Body

The request body should be a JSON object containing the following fields:

{
  "email": "miguel@verifik.co",
}

Responses

  • 200 OK: The request was successful, and JWT is returned in JSON format.

    {
        "token": "eyJhbGciOiJIUkpXVCJ9...9hxAXmGqBwuED9hmUOmSw" 
    }
  • 403 Access Forbidden: There was an error with the authentication.

    {
        "error": "403"
    }

Last updated