Skip to main content
All error responses return JSON with an error field:
{
  "error": "Record not found"
}

Status codes

CodeMeaning
200Success
201Created (new record or API key)
400Bad request — missing or invalid parameters
403Forbidden — invalid or missing auth token
404Not found — record, template, or key doesn’t exist
409Conflict — record already owned (adopt)
429Rate limited — slow down
500Internal server error
503Service unavailable — Web3 or database not configured

Common errors

Missing image on record creation

{
  "error": "Image is required"
}
Ensure you’re sending the image as a multipart file or base64 string in the image field.

Invalid auth token

{
  "error": "Invalid or expired token"
}
Check that your API key is active and correctly formatted in the Authorization: Bearer header.

Record already minted

{
  "error": "Record is already minted"
}
You can only mint once per record. Use the /claim endpoint to transfer ownership.