Get deal activities
GET {{baseUrl}}/iq/deals/:dealId/activities?conversation_topic=<string>&callout_type=engagingQuestions&indicator_id=<string>&mentioned_topic_id=<string>&page_size=30&next_page_token=<string>
Get activities for a specific deal.
Scopes:
iq_deal:read:admin
,
iq_deal:read
Rate Limit Label
:
MEDIUM
Request Params
| Key | Datatype | Required | Description |
| conversation_topic
| string | | The conversation topic |
| callout_type
| string | | The callout type of conversations to query:
engagingQuestions
— Only query conversations that include engaging questions indicator.nextSteps
— Only query conversations that include next steps indicator. | |indicator_id
| string | | The indicator id to query. | |mentioned_topic_id
| string | | The mentioned topic id to query. | |page_size
| number | | The number of records returned within a single API call. | |next_page_token
| string | | The next page token is used to paginate through large result sets. A next page token will be returned whenever the set of available results exceeds the current page size. The expiration period for this token is 15 minutes. |
HEADERS
| Key | Datatype | Required | Description |
| Accept
| string | | |
RESPONSES
status: OK
{"next_page_token":"\u003cstring\u003e","page_size":30,"activities":[{"conversation_topic":"\u003cstring\u003e","deal_stage":"\u003cstring\u003e","sentiment_score":"\u003cinteger\u003e","engagement_score":"\u003cinteger\u003e","host_id":"\u003cstring\u003e","direction":"\u003cstring\u003e","start_date":"\u003cstring\u003e","activity_type":"\u003cstring\u003e","stage_during_conversation":"\u003cstring\u003e","processing_analysis":"\u003cboolean\u003e","message_ids":"\u003cstring\u003e","number_of_message_in_thread":"\u003cinteger\u003e","conversation_id":"\u003cstring\u003e","duration":"\u003cinteger\u003e"},{"conversation_topic":"\u003cstring\u003e","deal_stage":"\u003cstring\u003e","sentiment_score":"\u003cinteger\u003e","engagement_score":"\u003cinteger\u003e","host_id":"\u003cstring\u003e","direction":"\u003cstring\u003e","start_date":"\u003cstring\u003e","activity_type":"\u003cstring\u003e","stage_during_conversation":"\u003cstring\u003e","processing_analysis":"\u003cboolean\u003e","message_ids":"\u003cstring\u003e","number_of_message_in_thread":"\u003cinteger\u003e","conversation_id":"\u003cstring\u003e","duration":"\u003cinteger\u003e"}]}