Skip to main content
A chat is one conversation between one of your Blujay phone numbers and one or more people. A chat with one person is direct; a chat with two or more is a group.

Create a chat

You create a chat by sending its first message with POST /v1/chats. See Sending Messages.

List chats

Chats come back most recently active first. Pass next_cursor as cursor for the next page. See Pagination.

Find a person’s chats

Add to to list only the chats a person is in, direct and group, by their phone number or email address. Add from to keep only the chats on one of your numbers. Together they find the direct chat between your number and that person:
  • to takes a US phone number, in E.164 or US format, or an email address. Groups the person has left aren’t included.
  • Passing one of your own numbers in to returns 400 VALIDATION_ERROR; use from for that.
  • A from number that isn’t in your workspace returns an empty list.

Retrieve a chat

Read a chat’s messages

GET /v1/chats/{chat_id}/messages returns the messages in one chat. See Sending Messages.

Mark a chat as read

POST /v1/chats/{chat_id}/read marks the chat read and, in direct iMessage and RCS chats, sends a read receipt. See Typing and Read Receipts.

Group Chats

Start a group, change its name and photo, and manage who’s in it.

Number Lookup

Check whether a number uses iMessage before you text it.

Typing and Read Receipts

Show typing and mark chats as read.

Name and Photo Sharing

Share your number’s name and photo with the people you text.