modl.gg
Developer API

Confirm Replay Upload

Confirm that a replay file upload is complete.

POST /v1/minecraft/replays/confirm/{replayId}

Confirm that a replay file has been successfully uploaded to the storage provider. This should be called after the file has been uploaded using the URL returned by the Upload Replay endpoint.

Authentication

Requires the X-API-Key header with your server's API key.

X-API-Key: your-api-key-here

Request

Headers

HeaderTypeRequiredDescription
X-API-KeystringYesYour server's API key.

Path Parameters

ParameterTypeRequiredDescription
replayIdstringYesThe replay ID returned from the upload initialization.

Example

POST /v1/minecraft/replays/confirm/replay_abc123

Response

200 OK

{
  "status": 200,
  "success": true,
  "message": "Upload confirmed"
}

Error Responses

Status CodeDescription
400Upload verification failed. The file may not have been uploaded or is corrupted.
401Missing or invalid API key.
429Rate limit exceeded.
500Internal server error.

On this page