numbers
Get Messages
Changed onGet messages for a specific phone number.
Newest first. Pass the previous response's nextCursor as cursor to walk older history without skipping or repeating records, even when several messages share a timestamp. before/after timestamp filters are still accepted.
get/v1/numbers/{number_id}/messages
Request
- Base URLhttps://api.agentphone.ai
- URLhttps://api.agentphone.ai/v1/numbers/{number_id}/messages
- AuthHTTP bearer
Path parameters
number_idstring required
Query parameters
limitinteger
beforestring date-time nullable
afterstring date-time nullable
cursorstring nullable
Opaque cursor from a previous response's nextCursor. Takes precedence over before/after.
Response
Successful Response
Changes
- warning
for the
queryrequest parameterlimit, the min was set to1.00 - info
added the new optional
queryrequest parametercursor - info
added the optional property
to the response with the status
- warning
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info