You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> If multiple tokens are stored, you will be prompted interactively to select one
103
109
> or you can specify the token using the `--token` argument.
110
+
111
+
### 8. Send
112
+
113
+
Encrypts a message and publishes it to a platform via the REST `POST /v1/publications` endpoint. Constructs and serializes a `V1Payloads` payload, encrypts the content, and POSTs it with the sender's phone number as the `address`.
|`--address`| Yes | Sender's phone number in E.164 format (e.g. `+237123456789`) |
128
+
|`--body`| Yes | Message body |
129
+
|`--to`| No | Recipient address (email or phone number). Required for email/messaging platforms. |
130
+
|`--subject`| No | Message subject. Email platforms only. |
131
+
|`--token`| No | Raw token (base64) to use. Omit for interactive prompt. |
132
+
|`--dry-run`| No | Print the request body instead of sending it. |
133
+
134
+
> [!NOTE]
135
+
> Each send consumes one ephemeral keypair. The used keypair is removed from local state after a successful publish. Run `sync-keys` to replenish the pool when it runs low.
0 commit comments