Retrieve the full details of a specific activity by its numeric ID.
Request
GET
GET /v1/activity/:id
Path Parameter
- id
integerThe numeric ID of the activity to retrieve.
Headers
- Authorization: Bearer your_access_token
Response
200
Body
- id
numberExample: 42
- title
stringExample: Team Sync
- activity_type
objectExample:
"id": 2,
"label": "Meeting" - related_to
stringSlug of the related record.
- related_record
objectExpanded related record details (always maximized on this endpoint).
- related_to_type
stringExample: candidate
- collaborators
arrayExample:
"id": 1,
"slug": "user_abc",
"full_name": "John Doe",
"email": "john@example.com" - start_date
stringExample: 2024-06-15
- start_time
stringExample: 10:00
- end_time
stringExample: 11:00
- attendees
objectContains three arrays: candidates (slug, full_name), contacts (slug, full_name), users (id, full_name, email).
- meeting_link
stringExample: https://meet.google.com/abc-xyz
- importance
stringOne of: low, normal, high, critical
- location
stringExample: Conference Room A
- description
stringExample: Monthly team sync
- do_not_send_calendar_invite
booleanExample: false
- mark_as_done
booleanExample: false
- attachment
object or nullExample:
"file_name": "agenda.pdf",
"file_link": "https://..." - created_by
objectExample:
"id": 1,
"slug": "user_abc",
"full_name": "John Doe",
"email": "john@example.com" - updated_by
objectExample:
"id": 1,
"slug": "user_abc",
"full_name": "John Doe",
"email": "john@example.com" - created_at
string (ISO 8601)Example: 2024-06-15T10:00:00Z
- updated_at
string (ISO 8601)Example: 2024-06-15T10:00:00Z
400
Body
- Invalid activity ID
401
Body
- Unauthorized
404
Body
- Activity not found
Response Example
{
"id": 42,
"title": "Team Sync",
"activity_type": {
"id": 2,
"label": "Meeting"
},
"related_to": "candidate_abc123",
"related_record": {
"slug": "candidate_abc123"
},
"related_to_type": "candidate",
"collaborators": [
{
"id": 1,
"slug": "user_abc",
"full_name": "John Doe",
"email": "john@example.com"
}
],
"start_date": "2024-06-15",
"start_time": "10:00",
"end_time": "11:00",
"attendees": {
"candidates": [
{ "slug": "cand_abc", "full_name": "Jane Smith" }
],
"contacts": [
{ "slug": "cont_xyz", "full_name": "Bob Jones" }
],
"users": [
{ "id": 2, "full_name": "Alice Johnson", "email": "alice@example.com" }
]
},
"meeting_link": "https://meet.google.com/abc-xyz",
"importance": "high",
"location": "Conference Room A",
"description": "Monthly team sync",
"do_not_send_calendar_invite": false,
"mark_as_done": false,
"attachment": {
"file_name": "agenda.pdf",
"file_link": "https://cdn.atzcrm.com/files/agenda.pdf"
},
"created_by": {
"id": 1,
"slug": "user_abc",
"full_name": "John Doe",
"email": "john@example.com"
},
"updated_by": {
"id": 1,
"slug": "user_abc",
"full_name": "John Doe",
"email": "john@example.com"
},
"created_at": "2024-06-15T10:00:00Z",
"updated_at": "2024-06-15T10:00:00Z"
}