Add SMS through Bird to the messaging module #92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "messaging-sms"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Milestone 4 of the messaging plan: the
bird_smsplug. Stacked on the messaging module pull request (#91): until that is merged this diff also shows it; merge #91 first.POST https://{eu1|us1}.platform.bird.com/v1/sms/messages, bearer key,Idempotency-Key= the attempt id,callback_url,smart_encoding),202is sent, cost kept when reported.POST /messaging/v1/hooks/:connector_id, Standard Webhooks verified withKarta.Webhooks.Signature.verify/4, five-minute tolerance,webhook-iddeduplicated, unordered events resolved by timestamp, cost merged per component).Retry-After/ insufficient balance / wrong region), a connector that pauses itself on an empty wallet or a refused key and can be resumed, 5xx and timeouts retried with the same idempotency key and thenunknown, never a second SMS.messaging-sms.mdquotes the endpoint and field names relied on;sms-acceptance.mdis the step list to prove it with a real key.Tested against handwritten fixtures built from Bird's public documentation (
test/fixtures/messaging/bird); no live call to Bird was made. Field names Bird's documentation does not give (the text ofsms.received, the name of the auth header) are marked in the guide and are the first things the acceptance steps check.🤖 Generated with Claude Code