---
title: "Keyless Test Webhook"
method: POST
path: "/v1/x402/webhooks/test"
tags: ["x402 Keyless"]
---

# Keyless Test Webhook

`POST /v1/x402/webhooks/test`

## Request

- Base URL: `https://api.agentline.cloud`
- URL: `https://api.agentline.cloud/v1/x402/webhooks/test`
- Auth: none declared

Fire a signed `webhook.test` event at your agent's webhook.

## Query parameters

- `lease_token` string, nullable

## Headers

- `authorization` string, nullable

## Request body

- KeylessWebhookBody
  - `phone_number` string, required: Your wallet-owned number whose agent gets the webhook
  - `url` string, required: HTTPS URL receiving the agent's events as signed JSON POSTs
  - `secret` string, nullable: HMAC signing secret (auto-generated if omitted)
  - `signature_header` string, nullable: HMAC header name (default 'X-Webhook-Signature')

## Response `200`

Successful Response

- unknown

## Other responses

- `401`: Agent access token required
- `422`: Validation Error

---

[API](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents.md) · [All operations](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/agentline/apis/agentline-prepaid-phone-service-for-ai-agents/revisions/18c0bdbb4b30?raw)
