Skip to content
Merged
51 changes: 33 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,19 @@ Reply cannot fill is `contact.missing_variables`, with the names under the error
# {"error":{"code":"contact.missing_variables",…,"details":{"missing_variables":["FirstName","Company"]}}}
```

Reply holds a direct email to the mailbox's limits. `email.limit_reached` (`429`) is one of them
reached, with `details.limit` saying which: `daily`, the mailbox's day, which Reply counts in UTC,
or `active_contacts`, the contacts the account may email in its billing period. A send for later is
also refused `daily` when the day it is due already holds as many sends as the mailbox's limit.
`retry_after` passes on Reply's `Retry-After`, the seconds until the limit clears, and the CLI never
repeats the send itself. `email.sending_disabled` (`403`) is a mailbox or team that cannot send
direct emails now: the mailbox's daily limit is 0, or the team's plan does not send; no wait clears
it. Neither sends anything, and `reply_code` keeps Reply's own code, as on every refusal:

```sh
# {"error":{"status":429,"code":"email.limit_reached",…,"reply_code":"contact.dailyLimitReached","retry_after":43200,"details":{"limit":"daily"}}}
```

Every direct send also takes `--send-after <moment>`, `--schedule-id <id>` and
`--idempotency-key <key>`. Reply holds the send until the moment, given with its offset
(`2026-11-03T14:00:00Z`, `2026-11-03T16:00:00+02:00`) and sent to Reply in UTC; a moment without an
Expand Down Expand Up @@ -406,9 +419,14 @@ reply direct-send cancel linkedin-1042
Both answer the send under the CLI's names, each null when Reply gives none: `reference`, `channel`,
`contact_id`, `state`, `send_after`, `sent_at`, `message_id`, `failure_reason` and `cancelled_at`.
`failure_code`, `missing_variables`, `rendered_subject` and `rendered_body` are added only when
Reply gives them, and so is `estimated_send_at`, read the same way as on the send but as of the
read: set in `waitingForSchedule` only and null in every other state, and null there too when the
schedule does not open within 30 days counted from `--send-after`, or from now once that has passed.
Reply gives them, and so are `bounced`, `bounce_type` and `bounced_at`: whether a bounce came back
for the email after it went out (false until one does, and always false for LinkedIn), Reply's own
word for the kind of the latest bounce as given (`hard`, `soft`, `mailboxFull`, `unknown`, …), and
when it came. Reply leaves `bounce_type` and `bounced_at` null while `bounced` is false, and
`bounced_at` null when the bounce carried no date; the CLI passes on what Reply gives and checks
neither. So is `estimated_send_at`, read the same way as on the send but as of the read: set in
`waitingForSchedule` only and null in every other state, and null there too when the schedule does
not open within 30 days counted from `--send-after`, or from now once that has passed.
`failure_reason` is a sentence for a person and never parsed; `failure_code` is Reply's code for the
failure, the one to branch on. A failed send may carry no `failure_code`: it is then null, and
`failure_reason` is all Reply says of it. `direct-send cancel` of a send already cancelled answers
Expand Down Expand Up @@ -529,17 +547,13 @@ is in `account list`. An email link needs `--provider`; a reconnect takes the pr
mailbox, and the person must sign in with the same address. A LinkedIn connect needs `--name`, which
Reply lists the pending account under.

A Reply without one-mailbox email links answers that route with a 404 and no code. The email
commands then refuse with `email_link.not_available` (exit 1) and print nothing, unless
`--allow-shared-page` is given: then they print the account user's hosted mailbox page, the
provider's connect on it with `--provider` and its index without, with `"link_kind":"shared_page"`,
`"expires_at":null` and a `warning`. That address does not expire and lets its holder manage all of
this user's mailboxes, deletion included, so ask for it only when that is acceptable. For
`account reconnect` the provider's connect is marked as a reconnect, so a user with no free mailbox
slot reconnects the mailbox rather than being refused a new one; on the index, the person opens the
mailbox and reconnects it from there.
`shared_page.not_enabled` means the plan does not include hosted pages. `account pending` then lists
no email entries and answers `"supported":false` with `"unsupported_channels":["email"]`.
A Reply without one-mailbox email links answers that route with a 404 and no code. `account
connect`, `account reconnect` and `account pending` then refuse with `email_link.not_available`
(exit 1), print nothing and offer nothing else. `"link_kind"` is always `"connection_link"`, and
`account pending` always answers `"supported":true` with `"unsupported_channels":[]`; the fields are
kept for callers that read them. `--allow-shared-page`, which printed the account user's hosted
mailbox page on such a Reply, is deprecated: it is still accepted, does nothing and is hidden from
the help, and a later release removes it. So is `--provider` on `account reconnect`.

```sh
reply account connect --channel email --provider gmail --name "Sales mailbox"
Expand Down Expand Up @@ -575,9 +589,10 @@ the others checks or relies on Reply's own state rather than repeating an effect

**Retries.** Reads are retried on errors. A write is retried only when it can't have reached Reply:
the connection was never made, or a `429` asked to wait 3 seconds or less. A longer `429` comes back
as `rate_limited` with `retry_after`. A `429` that names a `reference` or says a daily or weekly limit
was reached is never resent, whatever it asks to wait: Reply may have recorded the attempt, and a repeat
would record another. Each comes back at once as the refusal it is.
as `rate_limited` with `retry_after`. A `429` that names a `reference` or says a daily, weekly or
active contacts limit was reached is never resent, whatever it asks to wait: Reply may have
recorded the attempt, and a repeat would record another. Each comes back at once as the refusal it
is.

## Raw API access

Expand Down Expand Up @@ -611,7 +626,7 @@ connection that broke after sending. That last case exits 3: the write may have
goes by the method alone, so this includes a POST that only reads, such as the `…/filter` calls; run
it again yourself if it failed. A `429` is waited out only when `Retry-After` asks for 3 seconds or
less; a longer one is printed as the `429` it is, and so is one whose body names a `reference` or a
daily or weekly limit.
daily, weekly or active contacts limit.

### Windows: Git Bash rewrites the path

Expand Down
15 changes: 9 additions & 6 deletions skills/reply-adapter/reply-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: >
Use when executing any Reply.io operation from a shell, setting up authentication,
or when another Reply skill needs commands executed.
metadata:
version: 1.4.0
version: 1.5.0
pack: reply-adapter
category: execution
maturity: reviewed
Expand Down Expand Up @@ -117,8 +117,8 @@ Rules: the path is used **exactly as written in the API docs** (starts with `/v3
goes in the path). `--method GET|POST|PUT|PATCH|DELETE` overrides the default. Output is always
`{"code": <http status>, "data": <body>}` on stdout — check `code` yourself; stdout stays clean
for piping. Transient failures (429/5xx) retry automatically honoring `Retry-After`, except a 429
that names a `reference` or says a daily or weekly limit was reached, which is never resent and
comes back at once as the refusal it is.
that names a `reference` or says a daily, weekly or active contacts limit was reached, which is
never resent and comes back at once as the refusal it is.

### Exit codes & errors

Expand Down Expand Up @@ -152,9 +152,8 @@ exit codes with their error `code` slugs.
- `reply account connect` and `reply account reconnect` print a link for the person who signs in to
the account to open. The link is a credential: it is in the stdout field `link` once and nowhere
else (a `--verbose` trace shows `<link redacted>`). Hand it to that person and do not store, log
or repeat it. `email_link.not_available` means this Reply has no one-mailbox email link yet; pass
`--allow-shared-page` only when the user accepts the hosted mailbox page, whose address does not
expire and lets its holder manage all of that user's mailboxes, deletion included.
or repeat it. `email_link.not_available` means this Reply has no one-mailbox email links, and
nothing else is offered. Do not pass `--allow-shared-page`: it is deprecated and does nothing.

## Safety

Expand All @@ -171,6 +170,10 @@ explicit confirmation its Safety section requires.

## Changelog

- 1.5.0 (2026-11-21): *Failure modes* no longer offers the hosted mailbox page: the CLI prints only
one-mailbox connection links, and `--allow-shared-page` is deprecated and does nothing.
- 1.4.1 (2026-11-21): `reply api` says that a 429 saying an active contacts limit was reached is
never resent either, as the CLI now treats it.
- 1.4.0 (2026-11-11): *Failure modes* says how to treat the link `account connect` and `account
reconnect` print, and when `--allow-shared-page` is right.
- 1.3.2 (2026-11-06): *Failure modes* no longer says the work commands don't exist: it names the groups
Expand Down
Loading
Loading