Skip to main content

Endpoint

POST https://api.documind.cloud/api/v1/auth/api-keys

Request Body

FieldTypeRequiredDescription
namestringYesAPI key name
descriptionstringNoAPI key description
scopesarrayNoPermission scopes
expires_in_daysnumberNoExpiration in days

Response

{
  "id": "key-id",
  "key": "your-api-key-here",
  "name": "Production Key",
  "scopes": ["read:extractions", "write:extractions"],
  "created_at": "2024-01-15T10:00:00Z"
}
The full API key is only returned once upon creation. Store it securely.