Skip to main content
POST
Generate Token
Use this API to generate a JWT token used by your client to authenticate with Velt. The token encodes user information and optional properties such as organization and admin status.
  • JWT token expires in 48 hours.
  • For v1, apiKey and authToken are provided in the request body (not headers).

Endpoint

POST https://api.velt.dev/v1/auth/token/get

Headers

Content-Type
string
required
application/json

Body

Params

data
object
required

Example Requests

Generate token with organization and admin

Minimal token request

Response

Generate the JWT token on your server, not your client, to keep your secrets secure.

Success Response

Failure Response