3etDevelopers
AMS API / Get started

Errors

Every error is an RFC 7807 problem detail.

Error bodies contain title, status, detail and instance (type is always removed). Business errors from AMS or the betting platform return 400 with the reason in detail.

StatusWhen
400 Bad RequestValidation failed, unknown agent or country, limits outside the parent agent's, betting-platform error
401 UnauthorizedapiToken missing, invalid or expired
403 ForbiddenPlayer is not under the caller's account
413 Payload Too LargeUpload over the size limit
500 Internal Server ErrorUnexpected failure
503 Service UnavailableSite in maintenance ("splashed")
{
  "title": "Bad Request",
  "status": 400,
  "detail": "The country does not exist. Please contact support.",
  "instance": "/ams/v1/api/player"
}