Get activity by ID
Returns a single activity with its full content. Activities with a call transcript include a `meeting` object with the summary, topics, objections, and call score. API keys aren't tied to a user, so calls whose visibility is limited to participants or managers are returned as restricted. Restricted calls are left out entirely when filtering by `account_id`, `contact_id`, `opportunity_id`, or `has_transcript`.
Returns a single activity with its full content. Activities with a call transcript include a meeting object with the summary, topics, objections, and call score. API keys aren't tied to a user, so calls whose visibility is limited to participants or managers are returned as restricted. Restricted calls are left out entirely when filtering by account_id, contact_id, opportunity_id, or has_transcript.
Authorization
apiKey In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/activities/497f6eca-6276-4993-bfeb-53cbbbba6f08"{
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"content": "string",
"interaction_type": "string",
"external_id": "string",
"direction": "inbound",
"source": "string",
"tags": [
"string"
],
"date_time": "2019-08-24T14:15:22Z",
"end_date_time": "2019-08-24T14:15:22Z",
"owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
"contact_ids": [
"f4ae0292-6c1e-4caf-903f-b55ea2c1670a"
],
"opportunity_ids": [
"442ff20a-27ed-4afe-8d6e-bbeed36d9e69"
],
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"restricted": true,
"meeting": {
"transcript_id": "215670dc-b708-4c27-9393-0b9ca7d8935d",
"title": "string",
"call_type": "string",
"participants": [
"string"
],
"topics": [
"string"
],
"summary": null,
"call_url": "string",
"objections": [
"string"
],
"call_score": 0,
"call_score_reasoning": "string"
}
}
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}Create an activity POST
Creates an activity in the authenticated organization. `interaction_type` defaults to `custom`. Supply `external_id` to make the call idempotent. Set `process` to have GTM Engine re-process the associated contacts and opportunities against the new activity, for example after uploading the text of a conversation that wasn't recorded.
Get activity transcript GET
Returns the text of an activity's call transcript. Long transcripts are read in parts: pass the returned `next_offset` as `offset` until it is `null`.