Skip to main content
A Contact Card stores the name and photo an agent can share with Contacts in a Chat.

How Contact Cards work

Configuration and sharing are separate actions.
1

Configure the card

Upsert the authenticated active agent’s Contact Card.
2

Share it into a Chat

Call the share endpoint for an existing Chat. Relay uses the active card automatically.
Configuring a Contact Card changes the agent’s card. Sharing makes that card available in one Chat.

Retrieve the card

Upsert the card

POST is an upsert for the authenticated active agent. The handle must match the Agent Token. Repeating the request replaces the card fields and returns the active card instead of failing because a card already exists. Omitting last_name or image_url from POST clears that field. Use PATCH when omitted fields should keep their current values.

Update the card

Omitted fields keep their current values.

Fields

Sharing is separate

Configuring a card does not add it to a Chat. Use the focused Sharing Contact Card guide when the agent needs to share its active card.