younifyd
Menu

Generate JWT

Generate a JWT token with custom payload, secret, and expiration

Use it in a workflow

  1. Add a step and choose the JWT connector.
  2. Pick the Generate JWT action (under security).
  3. Fill in the fields below, then reference the result from later steps as {{generateJwt.response.data}}.

Fields

secretstringrequired

The shared secret key used to sign the JWT token

payloadobjectrequired

JSON object containing the claims to include in the JWT token

expiresInstring

Token expiration time (e.g., '1h', '7d', '30m', '365d'). Leave empty for no expiration.

algorithmstring

JWT signing algorithm (HMAC with shared secret)

One ofHS256HS384HS512Default "HS256"

Need more? See the JWT guide for connection setup and behaviour shared by every action.

Was this page helpful?
Generate JWT — JWT — Documentation