Test Webhook
Send a test webhook to verify the endpoint is working.
Sends a synthetic agent.message payload (flagged "test": true) through
the real delivery path to the configured URL. The optional JSON body
overrides from, to, message and channel so a handler can be
exercised with the numbers it actually routes on.
Pass ?agentId=… to control which agent appears in the payload;
otherwise the first agent in the account is used.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
X-Sub-Account-Id
Query parameters
agentId
Agent ID to include in the test payload
Request
This endpoint expects a nullable object.
from
Sender number, E.164
to
Recipient number, E.164
message
Message text
channel
Channel to report in the payload (default sms)
Allowed values:
Response
Successful Response
Errors
422
Unprocessable Entity Error

