Skip to main content

Authentication

Nextry API uses bearer tokens issued by Nextry support for business integrations.

Header Format

Include this header in every authenticated request:

Authorization: Bearer <api_key>

Example:

Getting Access (Business Flow)

To request access:

Provide:

  • Company/project name
  • Short business use case
  • Technical contact

After approval, Nextry support provides your API token and onboarding details.

Token Lifecycle

  • Issuance: provided by support after approval
  • Rotation: on request or by security policy
  • Revocation: immediate on compromise/security incident

Security Recommendations

  • Store tokens in secure server-side storage only.
  • Never expose tokens in frontend/mobile public clients.
  • Never commit tokens to Git.
  • Rotate tokens regularly and immediately on suspicion of leakage.
  • Use separate tokens for development, staging, and production.

Minimal cURL Example

curl -X GET '<base_url>/user/generation-history?page=1&limit=1' \
-H 'Authorization: Bearer <api_key>'

Example: