Documentation Index
Fetch the complete documentation index at: https://docs.router.so/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint allows you to create a new lead for a given endpoint ID.
Authentication
Your API key. Include this in the request header as Authorization: Bearer YOUR_API_KEY
Path Parameters
The unique identifier for the user’s endpoint
Request Body
Response
The unique identifier for the created lead
The timestamp of when the lead was created (in ISO 8601 format)
curl -X POST https://app.router.so/api/endpoints/{endpointId} \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "John Doe"}'
{
"id": "lead_123456",
"name": "John Doe",
"createdAt": "2023-04-01T12:00:00Z"
}