Auth. HMAC v1 or bearer token — see Authentication.
Status. Live · Idempotent: No (sends a fresh handshake each call).
send-contact; it is the more predictable vCard flow.
Addressing the recipient
| Form | Use when |
|---|---|
POST /api/v1/chats/{id}/share-contact-info | A chat already exists for this recipient. |
POST /api/v1/chats/share-contact-info with { "to": "+1..." } body | First-touch — no chat yet. Chert resolves or creates the chat in-line. |
Request
POST /api/v1/chats/{id}/share-contact-info
Response
Path parameters
Chat identifier (
ch_…). The chat must have a pinned line. Omit and use body.to for first-touch recipients.Body
Recipient phone in E.164 format. Use instead of the
{id} path segment when no chat exists yet. Ignored when {id} is supplied.Response fields
The chat the line’s “Me” card was shared into.
Always
"shared" on success.Errors
| Code | HTTP | When |
|---|---|---|
1002 | 400 | Chat has no recipient phone. |
2002 | 404 | Chat not found. |
4001 | 502 | Delivery failed. |
4099 | 501 | No pinned line, or the line does not support contact sharing. |

