Authentication
Overview
The Stack Overflow for Teams API uses a personal access token (PAT) authentication method. You'll need to pass a PAT as X-API-Access-Token
in the header of each API request.
You can create and manage your PATs by clicking on your avatar image, selecting Account Settings, then Personal access tokens.
Each PAT has the following fields:
- Description - A unique description to help you identify the token.
- Team scope - The Teams data the token will be able to access.
- Expiration date - The date the token will expire, or no expiration.
- Enable write access - Token can write as well as read Teams data (available for Business Teams only).
You can learn more about PAT API authentication in the Stack Overflow for Teams API document.