ZELF
Zelf Documentation
Zelf Documentation
  • Welcome
  • Getting Started
    • How it works
    • WhitePaper
    • Zelf Proofs vs Others
    • Privacy Preserving
    • Use cases
    • Downloads
  • Functions
    • Authentication
    • Create a ZelfProof
    • Decrypt a ZelfProof
    • Preview ZelfProof
  • Zelf Name Service
    • Offline Version
      • Decryption
    • Online Version
      • Retrieve public key
      • Create a session
      • PGP Encryption
      • Lease a Zelf Name
      • Preview a ZelfName
      • Decrypt a ZelfName
    • Arweave ZNS Storage
    • Zelf Wallet Design
  • BlockChains
    • MINA
      • Get Balance
      • Get Token
      • Get Transactions
    • ETH
      • Adress Lookup
      • Transactions list
      • Transaction details
      • Gas Tracker
  • Integrations
  • Zelf Legal
    • Team Members
    • Terms of Use
    • Privacy Policy
  • Airdrop
    • Airdrop Rules
    • Reglas de Airdrop
    • Pricing per Domain
  • Verify our Partners
    • Acquisition Team
  • Roadmap
    • Q1 2025
    • Q2 2025
    • Q3 2025
    • Q4 2025
Powered by GitBook
On this page

Was this helpful?

  1. Functions

Authentication

PreviousDownloadsNextCreate a ZelfProof

Last updated 8 months ago

Was this helpful?

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.

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"
    }
https://discord.gg/49JnBAsaq9