In the dashboard: Contacts, then open a contact
The Hive Inspect API is a work in progress. It is available to a small group of accounts today, and the release for everyone is coming very soon. To ask for early access, message us from the chat bubble in your dashboard.
tags and a photo_url. You can set both through the API.
Tags
Tags are the labels you create in the dashboard, such as “VIP” or “Top Agent”. The API can put existing tags on a contact. It cannot create, rename or delete a tag.
Things to know:
- Leave the field out to keep the tags. An update without
tagsandtag_idsdoes not touch them. - Send an empty list to clear them.
{"tags": []}removes every tag from the contact. - Use one field, not both. Sending
tagsandtag_idstogether returns400. - Unknown tags are refused. A name or id that is not one of your tags returns
400, and nothing on the contact changes. Create the tag in the dashboard first. - Filter by tag.
GET /v1/contacts?tag_id=TAG_IDlists the contacts that hold a tag.
Photos
photo_url is a signed link that works for 1 hour. Do not store it. Fetch the contact again when you need a fresh link.
Upload or replace a photo
Uploads usemultipart/form-data, not JSON. A new photo replaces the old one.
A file of another type, or a file that is not a real image, returns
400. A file over 10 MB returns 413.
Remove a photo
photo_url set to null. Removing a photo that is already gone is not an error.
