Get agent conversation by ID
Changed onReturns the conversation with paginated/sorted messages and filter metadata.
Message Pagination:
Messages are paginated newest-first: page=1 returns the most recent batch. Increment page to load older batches (used by the infinite-scroll "load older messages" feature).
- page: Page number (default: 1)
- limit: Messages per page (default: 20, max: 100)
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/agents/{agentKey}/conversations/{conversationId}
- Auth
- HTTP bearer
- or OAuth 2Authorization code: /api/v1/oauth2/authorizeClient credentialsToken URL: /api/v1/oauth2/token scopes: agent:read
Path parameters
Query parameters
Page number for message pagination (1 = most recent batch)
Number of messages per page
Field to sort messages by
Sort direction. asc sorts ascending; any other value, including an unrecognised one, is read as desc and is not refused.
Filter messages created on or after this date, as an ISO 8601 date or date-time. The validator accepts any string JavaScript Date can parse (so also forms like May 1 2020 or 2999/01/01); one it cannot parse returns HTTP 400. An empty value is read as not sent.
Filter messages created on or before this date, as an ISO 8601 date or date-time. The validator accepts any string JavaScript Date can parse (so also forms like May 1 2020 or 2999/01/01); one it cannot parse returns HTTP 400. An empty value is read as not sent.
Filter messages by type. An empty value is read as not sent.
Response
Agent conversation detail
Changes
- breaking
removed the enum value
ascfrom thequeryrequest parametersortOrder - breaking
removed the enum value
descfrom thequeryrequest parametersortOrder - breaking
added the pattern
^$|^\d{4}-\d{2}-\d{2}([T ]\d{2}:\d{2}(:\d{2}(\.\d+)?)?(Z|[+-]\d{2}:?\d{2})?)?$to thequeryrequest parameterendDate - breaking
added the pattern
^$|^\d{4}-\d{2}-\d{2}([T ]\d{2}:\d{2}(:\d{2}(\.\d+)?)?(Z|[+-]\d{2}:?\d{2})?)?$to thequeryrequest parameterstartDate - breaking
the
/////response's property type changed fromobjectto no type for status - breaking
the
/////response's property type changed fromobjectto no type for status - breaking
the
/////response's property type changed fromobjectto no type for status - breaking
the
/////response's property type changed fromobjectto no type for status - breaking
the
/////response's property type changed fromobjectto no type for status - breaking
the
////response's property type changed fromobjectto no type for status - breaking
the
////response's property type changed fromobjectto no type for status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
//////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - warning
removed the optional property
/////from the response with the status - info
added the new enum value
to thequeryrequest parametermessageType - info
for the
queryrequest parameterendDate, the format was generalized fromdate-timeto no format - info
for the
queryrequest parameterstartDate, the format was generalized fromdate-timeto no format - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
/////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
//to the response with the status - info
added to the
////response propertyanyOflist for the response status - info
added to the
/////response propertyanyOflist for the response status - info
added to the
/////response propertyanyOflist for the response status - info
added to the
/////response propertyanyOflist for the response status - info
added to the
/////response propertyanyOflist for the response status - info
added to the
/////response propertyanyOflist for the response status - info
added
subschema #1to the////response propertyanyOflist for the response status
- breaking
- breaking
the response property
/became optional for the status - info
added the optional property
/to the response with the status - info
added the optional property
///to the response with the status
- breaking