Google Voice API guide

voice.google.com

Browse your Google Voice conversations, search your local message history, and check which parts of that history have been collected.

Actions and inputs

threads get

Read one page of a conversation without marking it as read.

Inputs thread ID

history query

Search your local message history by text, direction, or date range.

Inputs text, direction, date range, result limit

history context

Read the messages immediately before and after a known message.

Inputs message ID, number before, number after

mirror coverage

Check when the local mirror was last updated and what collection work is unfinished.

Text conversations

Create

Start a conversation from your Voice number by sending a text to an eligible recipient.

Inputs Recipient number, message text, send confirmation

Read

Open a conversation in your Voice account and read its messages.

Inputs Contact or phone number

Update

Archive or unarchive a conversation in your account; sent texts cannot be edited.

Inputs Conversation, archive or unarchive

Delete

Delete a conversation from your own history after confirmation; this does not remove messages from recipients' devices.

Inputs Conversation, deletion confirmation