List messages
openphone_list_messagesList messages in a conversation between one of your OpenPhone numbers and one or more participants. Returns text, direction, status and timestamps. OpenPhone REST: GET /messages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | Scope results to a user's access (a user id starting with 'US'). From openphone_list_users. | |
| pageToken | No | Pagination token from a previous response's nextPageToken. | |
| maxResults | No | Results per page, 1-100. Default 10. | |
| createdAfter | No | Only messages created after as an ISO-8601 datetime, e.g. '2026-07-01T00:00:00Z'. | |
| participants | Yes | Participant phone numbers in E.164 format (e.g. '+15555555555'), 1-10 items (required). | |
| createdBefore | No | Only messages created before as an ISO-8601 datetime, e.g. '2026-07-01T00:00:00Z'. | |
| phoneNumberId | Yes | An OpenPhone phone-number id (starts with 'PN'). Get it from openphone_list_phone_numbers. |