Skip to content
Inkbox

Inkbox

ContactDocs
GuidesAPI Reference

Ctrl K

GuidesAPI Reference

Jump to

Register

These endpoints handle the agent side of signup — self-registration, verification, and status checking. The initial signup endpoint requires no authentication. All other endpoints require the API key returned from signup, passed in the X-Service-Token header.


Sign up POST

POST /agent-signup/

Register a new agent. No authentication required — this is a public endpoint with IP-based rate limiting (3 signups per hour). Returns a provisional identity with a mailbox address and API key. The API key is shown only once and must be stored securely.

Request body

FieldTypeRequiredDescription
human_emailstringYesEmail of the human who oversees this agent.
display_namestringYesDisplay name for the agent's mailbox. 1–255 characters.
note_to_humanstringNoMessage from the agent to the human, included in the verification email. Max 2,000 characters.

Request example

JSONJSON

Response (201)

JSONJSON

The api_key is returned only in this response. Store it immediately, because it cannot be retrieved again.

Error responses

StatusDescription
422Validation failed (invalid email, missing fields, etc.)
429Rate limit exceeded

Code examples


Verify POST

POST /agent-signup/verify

Submit the 6-digit verification code that the human received by email. On success, the agent's status changes to agent_claimed and full sending capabilities are unlocked.

Request body

FieldTypeRequiredDescription
verification_codestringYes6-digit numeric code from the verification email

Request example

JSONJSON

Response (200)

JSONJSON

Error responses

StatusDescription
401Invalid verification code
404Agent identity not found
410Verification code expired (codes expire 48 hours after generation)
429Too many verification attempts (max 5 per agent)

Code examples


Resend verification POST

POST /agent-signup/resend-verification

Resend the verification email to the human. Generates a new 6-digit code (invalidating the previous one). There is a 5-minute cooldown between resend requests.

Response (200)

JSONJSON

Error responses

StatusDescription
404Agent identity not found
429Cooldown not elapsed (5 minutes between resends)

Code examples


Check status GET

GET /agent-signup/status

Check the agent's current claim status, the agent owner's (human's) account state, and the agent's behavioral restrictions.

Response (200)

JSONJSON

Response fields

FieldTypeDescription
claim_statusstringagent_unclaimed, agent_claimed, or agent_rejected
human_statestringhuman_no_account, human_account_unverified, or human_account_verified
human_emailstringThe agent owner's email address
restrictionsobjectCurrent behavioral restrictions (see below)

restrictions fields

FieldTypeDescription
max_sends_per_dayintegerMaximum emails the agent can send per day (10 unclaimed, 500 claimed)
allowed_recipientsarrayList of allowed recipient emails. Empty array means unrestricted.
can_receivebooleanWhether the agent can receive emails
can_create_mailboxesbooleanWhether the agent can create additional mailboxes

Code examples


Response objects

AgentSignupResponse

FieldTypeDescription
email_addressstringThe agent's new mailbox address (e.g. sales-agent-a1b2c3@inkboxmail.com)
organization_idstringProvisional organization ID (format: org_agent_<uuid>)
api_keystringAPI key for the agent. Returned only once — store it securely.
agent_handlestringUnique handle for the agent (format: <name>-<6-char-hex>)
claim_statusstringAlways agent_unclaimed at signup
human_emailstringThe agent owner's email address
messagestringStatus message describing restrictions and next steps

AgentClaimResponse

FieldTypeDescription
claim_statusstringagent_unclaimed, agent_claimed, or agent_rejected
organization_idstringThe agent's organization ID
messagestringConfirmation message

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

Inkbox

Copyright © 2026 Inkbox

This site is protected by reCAPTCHA.

Google Privacy Policy and Terms of Service apply.

Website

Register