Skip to main content

API access

In this section you obtain the JWT token to consume Gredit's API (external) (/api/v1/). The same token is used to query issues, run scripts and schedules, and access the other public endpoints documented there.

What it is used for

  • Obtain and renew the integration JWT token
  • Enable API consumption from external tools (CI/CD, scripts, custom services)

Obtaining the token

  1. Go to Configuration → API access (requires the appropriate role permissions).
  2. Copy the token generated when entering the section.
  3. Send it on every request in the header:
Authorization: Bearer <token>

Token validity depends on the Account configuration (interval and frequency). Re-entering API access generates a new token; if the previous one expired, copy the updated value from this screen.

Relationship with other modules

  • Account: defines token duration (interval and frequency)
  • Roles: control who can access this section and generate tokens
  • Scripts / Jobs: resources executable via API; see the Executions section in the technical documentation
  • Cases: cases generated by scripts can be queried via API; see the Issues section in the technical documentation