AES Filing
Upload the signed authorization document
POST
/v1/aes/authorizations/{id}/documents$0.05 per callSend the file as the request body with its Content-Type (application/pdf, image/png or image/jpeg), up to 8 MB, five per authorization; add ?filename=. The contents must match the type. We keep it for five years from the export and never delete it. Returns its SHA-256.
Send an Idempotency-Key header to retry safely.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| idrequired | path | string | |
| filenameoptional | query | string | max length 100 |
Response fields
The spec does not describe this response yet, and there is no captured example. Run the request with your sandbox key to see its shape.
Errors
- 400 invalid request
- 401 missing or bad key
- 403 not in your plan
- 429 rate limited, see Retry-After
- 402 payment required
- 409 conflict or not ready
- 413 body too large
- 415
- 422 validation failed
- 5xx retry with backoff
Error bodies and codes are described in Error codes and troubleshooting.