api.contacts.post_history
POST /contacts/{contactId}/history— ACPortal
Python
api.contacts.post_history(contact_id: str, *, data: ContactHistoryCreateRequest | dict) -> ContactHistory
CLI
ab contacts post_history <contact_id> [--data ...]
POST /contacts/{contactId}/history.
Args:
contact_id: Contact identifier.
data: History creation payload.
Accepts a :class:ContactHistoryCreateRequest instance or a dict.
Request model: :class:ContactHistoryCreateRequest
Request body — ContactHistoryCreateRequest
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Comma-separated status filters |
Response
Returns ContactHistory.
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
History events |
|
|
no |
Total event count |