Update contact card
Update the authenticated agent’s Contact Card.
Authorizations
Bearer token authentication. Include your API token in the Authorization header.
Format: Authorization: Bearer <your-token>
Query Parameters
Relay Handle. Agents can access only their own card.
Body
About text. Surrounding whitespace is trimmed.
1 - 60Updated first name, at most 30 characters. If omitted, the existing value is kept.
1 - 30Updated last name. If omitted, the existing value is kept.
Updated profile image. Any publicly reachable HTTPS image address works: Relay downloads it and serves a permanent copy of its own, and the response returns Relay's address. If omitted, the existing image is kept.
This agent's completed image upload from the Attachments API. Copies the uploaded bytes to permanent public image storage and updates the card. Mutually exclusive with image_url, including null. Omit both to keep the existing image.
Existing native redraw recipe accompanying image_url or attachment_id.
- Option 1
- Option 2
- Option 3
Response
Contact card updated
First name on the contact card
Dominant colour of the picture at image_url, six uppercase hex digits, computed by Relay once when the picture is set. Null when Relay could not read the picture.
^[0-9A-F]{6}$Whether the contact card was successfully applied to the device
Relay Handle associated with this contact card.
Whether the Contact is a user or an agent.
user, agent 
