Skip to main content
POST
Rotate a document
Beta Feature - This endpoint is currently in beta. The API is stable, but the schema and behavior may evolve based on feedback.
After rotation is accepted, request GET /documents/{id}/download_url again to retrieve the updated image.

Authorizations

Authorization
string
header
required

Use a Terminal49 API key in the Authorization header with the Token prefix.

Authorization: Token YOUR_API_KEY

Path Parameters

id
string<uuid>
required

Body

application/json
degrees
enum<integer>
required
Available options:
90,
180,
270

Response

Accepted

status
enum<string>
required
Available options:
accepted