Responses

Streamoji uses standard HTTP codes. Errors return a JSON object with details.

CodeStatusDescription
200OKAvatar generated. Returns binary model/gltf-binary.
400Bad RequestInvalid JSON in options or missing required fields. Verify payload structure and required keys.
401UnauthorizedMissing or expired Firebase ID token. Refresh using user.getIdToken(true) and retry.
403ForbiddenToken is valid but the user is not allowed to access this endpoint. Check auth rules.
404Not FoundInvalid URL. Confirm you are calling https://glb.streamoji.com/api/process.
429Too Many RequestsRate limit exceeded. Respect Retry-After and back off before retrying.
500Internal ErrorUnexpected error during GLB generation. Retry with exponential backoff; contact support if persistent.