Register an agent and get an API key
Create an agent identity and receive an API key. The anonymous flow returns a key immediately; the email OTP flow verifies an email first. Store the returned api_key — it is shown only once.
Request
This endpoint expects an object.
AnonymousRegister
OR
EmailOtpInitiate
OR
EmailOtpVerify
Response
Agent registered
agent_id
api_key
Store this — it is shown only once.
key_prefix
scopes
expires_at
message
Errors
422
Unprocessable Entity Error
