# Authentication

Create and manage scoped keys for your applications.

## Authenticate server requests

Use a dedicated API key for each integration. Send it as a Bearer token in the `Authorization` header and keep it in your server's secrets manager.

```
Authorization: Bearer YOUR_API_KEY
```

Create and revoke keys at https://signapi.fingerdance.ai/account/keys.

## Choose permissions for the work

- `jobs:write` creates and cancels jobs.
- `jobs:read` reads job status and status events.
- `artifacts:read` fetches download URLs and opens live previews.
- `usage:read` reads credit balance and usage.
- `webhooks:manage` registers webhook destinations.

A missing or revoked key returns `401 unauthorized`. A valid key without the required permission returns `403 permission_denied`.

## Keys and AI agents

AI agents connected to the SignAPI MCP server sign in with your account (OAuth) and need no key; see [AI agents](https://signapi.fingerdance.ai/developers/agents). Give unattended agents and CI a dedicated key with only the permissions they need, for example `jobs:write`, `jobs:read`, and `artifacts:read` to generate videos, and revoke it when you stop using them.
