06 Line
API

Send a test event

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.

POST
/v1/webhook-endpoints/{endpoint_id}/test

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.

Authorization

apiKey
headerAuthorizationBearer <token>

Your API key, 06l_…. For servers only.

Path Parameters

endpoint_id*string
Match^whe_[0-9a-z]{26}$

Response Body

The delivery, succeeded or failed, with its try.

application/json
  1. response
id*string
Match^whd_[0-9a-z]{26}$
event_id*string
Match^evt_[0-9a-z]{26}$
event_type*string
Value in"sms.received""sms.status""call.recorded""webhook.test"
status*string

pending while tries remain, succeeded on the first 2xx, failed after 24 hours or when the endpoint is deleted.

Value in"pending""succeeded""failed"
last_http_status?integer|null
last_error?string
next_attempt_at?|

When the next try is scheduled, while pending.

Formatdate-time
created_at*Timestamp

RFC 3339, UTC.

Formatdate-time
payload*

The body sent to the endpoint, the same for every try.

attempts*array<>
Example Request
curl -X POST 'https://api.06line.com/v1/webhook-endpoints/string/test'
Example Response
{  "id": "whd_01jbqb3m7x9k2t4v6r8c0d2yb5",  "event_id": "evt_01jbqb3m6v8k1t3x5r7c9d1yb4",  "event_type": "webhook.test",  "status": "succeeded",  "last_http_status": 200,  "next_attempt_at": null,  "created_at": "2026-10-21T16:05:00Z",  "payload": {    "id": "evt_01jbqb3m6v8k1t3x5r7c9d1yb4",    "type": "webhook.test",    "created_at": "2026-10-21T16:05:00Z",    "data": {      "message": "Test event from 06 Line: if you read this, your endpoint works.",      "endpoint_id": "whe_01jbqb2k4x8k1t3x5r7c9d1ya2"    }  },  "attempts": [    {      "attempt": 1,      "http_status": 200,      "response_body": "{\"ok\":true}",      "duration_ms": 84,      "at": "2026-10-21T16:05:00Z"    }  ]}