Get Contact Activities
GET/api/contacts/:id/activities
Get Contact Activities
Request
Path Parameters
id integerrequired
Header Parameters
X-Company-Slug stringrequired
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
meta
object
total numberrequired
per_page numberrequired
current_page numberrequired
last_page numberrequired
first_page numberrequired
first_page_url stringrequired
last_page_url stringrequired
next_page_url stringnullablerequired
previous_page_url stringnullablerequired
data
object[]
id integer
contact_id string
created_by string
type ActivityTypeEnum (string)
Possible values: [phone
, mail
, sms
, note
, meeting
]
content string
activity_date date
created_at date-time
updated_at date-time
{
"meta": {
"total": 0,
"per_page": 0,
"current_page": 0,
"last_page": 0,
"first_page": 0,
"first_page_url": "string",
"last_page_url": "string",
"next_page_url": "string",
"previous_page_url": "string"
},
"data": [
{
"id": 2,
"contact_id": "47",
"created_by": "1",
"type": "phone",
"content": "Aradım ulaşamadım",
"activity_date": "2023-12-21 22:56",
"created_at": "2024-07-31T20:28:22.729+03:00",
"updated_at": "2024-07-31T20:28:22.729+03:00"
}
]
}
Loading...