Beglaubigt.de API
Translation

Cancel Translation

This endpoint cancels the translation order of a translation request.

POST https://api.beglaubigt.de/v1/translation/:translation_id/cancel

Asks our translation partner to cancel the order of a translation. A 200 means the partner accepted the cancellation.

The status of cancelled in the response confirms the cancellation. Get Translation does not return cancelled as a status.

Authorization

To authenticate requests, include an Authorization header with a Bearer token:

Authorization: Bearer <token>

Example: Bearer sk-123e4567-e89b-12d3-a456-426614174000

Path Parameters

translation_idstringrequired

The UUID of the translation to cancel.
Example: 8963cd77-b5f9-4280-986d-6137e9fea106

Body

The request has no body.

Response

resultstring

Indicates the outcome of the request.
Possible values: success or error

messagestring

A human-readable summary of the result.
Example: Translation cancelled successfully.

translation_idstring

The UUID of the translation.
Example: 8963cd77-b5f9-4280-986d-6137e9fea106

statusstring

Value: cancelled

urlstring

The dashboard URL of the translation.
Example: https://app.beglaubigt.de/cases/8963cd77-b5f9-4280-986d-6137e9fea106

timestampstring

The ISO 8601 timestamp of the response.

Status codes

Statuserror_codeWhen
200(none)Our translation partner accepted the cancellation.
400VALIDATION_ERRORThe translation_id is not a valid UUID.
400PROCESSING_ERRORThe request could not be processed. details.reason says why.
400UNKNOWN_ERRORAn unexpected error. Contact support with the timestamp.
401AUTHORIZATION_ERRORThe Authorization header is not Bearer followed by a well-formed API key.
401INVALID_API_KEYThe API key is not linked to a company.
404NOT_FOUNDNo translation of your account has this ID.
422NOT_FOUNDThe translation has no order with our translation partner yet, so there is nothing to cancel. The message is This translation cannot be cancelled.
502PROCESSING_ERROROur translation partner did not accept the cancellation. Retry, or contact support.

Two errors come from the gateway, before the request reaches the endpoint, so their body is { "error": "..." } without the response wrapper:

  • 401 { "error": "Unauthorized: Invalid API token" } when the Authorization header is missing or the key does not start with sk-.
  • 429 { "error": "Too many requests" } past 250 calls an hour or 1,000 a day per API key.
Request
--request POST 'https://api.beglaubigt.de/v1/translation/8963cd77-b5f9-4280-986d-6137e9fea106/cancel' \
--header 'Authorization: Bearer <token>'
Response
{
  "response": {
    "result": "success",
    "message": "Translation cancelled successfully.",
    "translation_id": "8963cd77-b5f9-4280-986d-6137e9fea106",
    "status": "cancelled",
    "url": "https://app.beglaubigt.de/cases/8963cd77-b5f9-4280-986d-6137e9fea106",
    "timestamp": "2026-02-07T14:21:30.000Z"
  }
}

On this page