Contacts

List contact activities

Retrieve the activity timeline for a contact, sorted by creation date (newest first).

get/orgs/contacts/{contact_id}/activities

Request

  • Base URL: https://api.useinvent.com
  • URL: https://api.useinvent.com/orgs/contacts/{contact_id}/activities
  • Auth: HTTP bearer

Path parameters

contact_idstring required

Contact ID

Query parameters

type'comment_created' | 'file_uploaded' | 'segment_added' | 'segment_removed' | 'contact_blocked' | 'contact_unblocked' | 'contact_unsubscribed' | 'contact_resubscribed' | 'contact_ai_replies_disabled' | 'contact_ai_replies_enabled' | 'contact_updated'

Only activities of this type.

contact_idstring

Filter to activities scoped to this contact.

table_idstring

Filter to activities scoped to this table.

record_idstring

Filter to activities scoped to this table record.

actor_idstring

Filter to activities performed by this user.

assistant_idstring

Filter to activities performed by this assistant.

segment_idstring

Filter to activities involving this segment.

pagenumber

Page number

takenumber

Number of items to take

nextstring

Next page token (Only used on special endpoints)

progressiveboolean

Skip the total count: pagination-count is exact on the last page, and one more than the items so far while more pages exist (Only used on special endpoints)

Response

idstring required
type'comment_created' | 'file_uploaded' | 'segment_added' | 'segment_removed' | 'contact_blocked' | 'contact_unblocked' | 'contact_unsubscribed' | 'contact_resubscribed' | 'contact_ai_replies_disabled' | 'contact_ai_replies_enabled' | 'contact_updated' required

Schema for the type of an activity event

commentstring nullable

Comment body when type='comment' (null/undefined otherwise)

message_idstring

The private note this comment mirrors, when it was written in a conversation

created_atstring date-time nullable required
updated_atstring date-time nullable required

Example response

[
  {
    "attachments": [
      {
        "file_filename": "document.pdf",
        "file_size": 1024,
        "file_mimetype": "application/pdf"
      }
    ]
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.