Base URL
https://api.chatwithlead.comOr use your mapped custom domain.
Complete reference for authentication, endpoint behavior, request contracts, response schemas, and field-level specifications.
Use your API domain, select the right token type, and send JSON payloads.
Base URL
https://api.chatwithlead.comOr use your mapped custom domain.
Default Headers
{
"Content-Type": "application/json",
"Authorization": "Bearer <token>"
}Documentation is separated by token scope and resource domain.
Endpoints for fetching and sending chat messages.
Project-level APIs for metadata, conversations, and leads.
Document lifecycle APIs for listing, creating, updating, and deleting.
Use the token type matching the endpoint family.
| Section | Token | Header Format |
|---|---|---|
| Chat-Public | chatKey | Authorization: Bearer {{chatKey}} |
| Project API-Key | API-KEY | Authorization: Bearer {{API-KEY}} |
| Document API-Key | API-KEY | Authorization: Bearer {{API-KEY}} |