message.received
Emitted when an inbound SMS arrives on one of your Dial numbers. This is the event you wait for when receiving a one-time code or any inbound SMS reply.
Schema
Shares the common event envelope (id, object, type, version, createdAt, relatedObject). relatedObject is { id: <messageId>, type: "message", url: null } — messages have no get-by-id endpoint yet. The data payload:
Example
When it fires
- Every time a carrier delivers an SMS to one of your Dial numbers.
- Once per inbound message — no retries on the stream itself.
- Internal test traffic (from dashboard or
/api/v1/test/*helpers) carriesdata.source: "internal"; ignore those unless you’re explicitly testing.