Skip to main content

When to use

Use this page before calling any endpoint. Every Extruct API request requires a Bearer token.

Example request

export EXTRUCT_API_TOKEN="YOUR_API_TOKEN"

curl --get "https://api.extruct.ai/v1/user" \
  -H "Authorization: Bearer ${EXTRUCT_API_TOKEN}"
Generate and manage tokens in Dashboard API Tokens.

Key parameters

  • Authorization header (required): Bearer ${EXTRUCT_API_TOKEN}.

Success signal

A successful auth check returns your user object with fields such as email and available_credits.

Common errors

401 Unauthorized

Most common causes are a missing token, invalid token, or missing Bearer prefix.