Errors
Status codes shared by every route. Error bodies are a single message.
Error bodies are { "error": "..." }.
| Status | When |
|---|---|
| 401 | The key is missing or unknown. |
| 403 | The key cannot send leads. |
| 404 | The agreement or lead is outside this key. |
| 409 | The idempotency key was already used for a different phone or email. |
| 422 | The body, phone, consent time, category, service, or member email is invalid. |
| 503 | The lead was not saved, or the same key is still in flight. Retry a 503 that says the lead was not saved. |