Read an inbox

Use the first request to identify a mailbox you are allowed to read, then set MAILBOX_ID to its ID.

curl -fsS "$ZIPZOE_BASE_URL/v1/mail/mailboxes" -H "Authorization: Bearer $ZIPZOE_API_KEY"
curl -fsS "$ZIPZOE_BASE_URL/v1/mail/mailboxes/$MAILBOX_ID/emails?folder=inbox&limit=25&page=1" -H "Authorization: Bearer $ZIPZOE_API_KEY"

Discover a chat model

Set MODEL_ID to an exact ID returned by discovery. Build a JSON body with model and messages before submitting a completion.

curl -fsS "$ZIPZOE_BASE_URL/v1/models?type=chat" -H "Authorization: Bearer $ZIPZOE_API_KEY"

Track work before retrying

Set OPERATION_ID to the ID returned by a queued operation. A 202 response means the request was accepted. Check the operation for the outcome.

curl -fsS "$ZIPZOE_BASE_URL/v1/operations/$OPERATION_ID" -H "Authorization: Bearer $ZIPZOE_API_KEY"

Check your wallet

A balance read does not initiate a transfer.

curl -fsS "$ZIPZOE_BASE_URL/v1/wallet" -H "Authorization: Bearer $ZIPZOE_API_KEY"

Before going live

Try a scoped key in your test environment. Use only approved recipients and numbers. Check that queued writes can be tracked, permissions block unintended access and secrets are absent from your logs.