Skip to main content
POST

Authorizations

Authorization
string
header
required

Bearer token authentication. Include your API token in the Authorization header.

Format: Authorization: Bearer <your-token>

Headers

Idempotency-Key
string

Optional 1–255 character key for safe retries, per sending agent, as for sends.

Required string length: 1 - 255

Path Parameters

chatId
string<uuid>
required

Unique identifier of the chat

Body

application/json
handle
string

The agent to recommend, trimmed and lowercased. Omit it and user_id to share your own configured card.

Required string length: 1 - 255
user_id
string<uuid>

The person to share: someone who has sent a message in a chat with you and has not blocked you. Case-insensitive. Send handle or user_id, not both.

Response

Contact shared successfully, or an Idempotency-Key replay that shared nothing