List deliveries
The deliveries of the endpoint, newest first, each with the body sent and every try: HTTP status, error, the start of the response body, duration. Filter by `status` or `event_type`; pass `next_cursor` as `before` to get the next page. Deleted endpoints keep their log.
The deliveries of the endpoint, newest first, each with the body sent and every try: HTTP status, error, the
start of the response body, duration. Filter by status or event_type; pass next_cursor as before to get
the next page. Deleted endpoints keep their log.
apiKeyAuthorizationBearer <token>Your API key, 06l_…. For servers only.
endpoint_id*string^whe_[0-9a-z]{26}$status?string"pending""succeeded""failed"event_type?string"sms.received""sms.status""call.recorded""webhook.test"before?stringCursor from the previous page (next_cursor).
limit?integer1 <= value <= 10020OK.
application/json- response
deliveries*array<>next_cursor*|Null on the last page.
curl -X GET 'https://api.06line.com/v1/webhook-endpoints/string/deliveries'{ "deliveries": [ { "id": "string", "event_id": "string", "event_type": "sms.received", "status": "pending", "last_http_status": 0, "last_error": "string", "next_attempt_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "payload": { "id": "string", "type": "sms.received", "created_at": "2019-08-24T14:15:22Z", "data": {} }, "attempts": [ { "attempt": 0, "http_status": 0, "error": "string", "response_body": "string", "duration_ms": 0, "at": "2019-08-24T14:15:22Z" } ] } ], "next_cursor": "string"}Send a test event POST
Sends a `webhook.test` event to the endpoint now, once and without retry, and answers with the delivery and its try: whether your endpoint answered, with what, and how fast. Use it to check your signature verification.
Open a WebRTC session POST
Exchanges an SDP offer for an answer, the way WHIP does. The offer holds one audio transceiver (`sendrecv`) and one data channel labelled `06line`, with every ICE candidate already gathered (no trickle ICE). Use the `ice_servers` returned with the ephemeral key. The session lives as long as the peer connection: it carries the audio of the calls placed or answered with its `id`, one at a time, and pushes `call.incoming`, `call.state` and `line.state` on the data channel. Audio is G.711 µ-law (PCMU), 8 kHz, which every WebRTC stack supports; an offer without PCMU gets no audio. Every session of the company hears `call.incoming` (a session of a key restricted to a line, only for its line), right after `session.ready` for a call already ringing, then `call.state` when the call stops ringing. A session closed with `DELETE` ends its call `hangup`; a session lost on the way (ICE failed) ends it `failed`.