Changelog
Breaking changes ship only in a new AirFone-Version. Your pinned version keeps working until its deprecation date, announced here at least 6 months ahead.
Sending messages
- POST /v1/messages answers 202 with status queued when the provider has not answered within the request. It answers 201 with status sent when it has. Read a 202 message with GET /v1/messages/{id}; it is listed once the provider accepts it.
Error codes, paging and step-up
- Breaking. A request refused for low balance now has the code insufficient_credit (it was forbidden). The HTTP status is still 402.
- Breaking. Asking a sandbox for a live key now has the code sandbox_workspace (it was forbidden). The HTTP status is still 403.
- Sensitive actions made by a signed-in person can answer 403 reauthentication_required. Enter the password again, then repeat the request. Calls with an API key are not affected.
- Live keys are made, rolled and revoked by an admin only (production_requires_administrator).
- GET /v1/request-logs and GET /v1/events take starting_after for paging.
- Webhook endpoints must be https on a public address. Private and internal addresses are refused, and checked again at every delivery.
Developer portal opens
- Docs, quick starts and API reference for /v1.
- Console for apps, keys, webhooks, logs, usage, widget and connectors.
- widget.js and @airfone/web 0.1.0.