GET
/
v1
/
conversations

Query Parameters

phoneNumber
required

Filters results to only include conversations with the specified OpenPhone phone number. Can be either your OpenPhone phone number ID or the full phone number in E.164 format.

userId
string

The unique identifier of the user the making the request. Defaults to the phone number owner.

createdAfter
string

Filter results to only include conversations created after the specified date and time, in ISO_8601 format.

createdBefore
string

Filter results to only include conversations created before the specified date and time, in ISO_8601 format.

maxResults
integer
default:
10
required

Maximum number of results to return per page.

Required range: 1 < x < 100
pageToken
string

Response

200 - application/json
data
object[]
required

Array of items

nextPageToken
string | null
required
totalItems
integer
required

Total number of items available. ⚠️ Note: totalItems is not accurately returning the total number of items that can be paginated. We are working on fixing this issue.