List activity for a client
GET
/organizations/{oid}/clients/{clientId}/activity
const url = 'https://apisandbox.puurk.com/organizations/example/clients/example/activity';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://apisandbox.puurk.com/organizations/example/clients/example/activity \ --header 'Authorization: Bearer <token>'Returns a paginated activity timeline for a client within an organization
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”oid
required
string
Organization ID
clientId
required
string
Client (lead) ID
Query Parameters
Section titled “Query Parameters”cursor
string
Pagination cursor
limit
integer
Number of results to return
Responses
Section titled “Responses”Successful operation
Media typeapplication/json
object
data
Array<object>
object
id
string
oid
Organization ID
string
eid
Employee/entity ID
string
client_id
Client (lead) ID
string
location_id
string
type
Type of activity notification
string
category
string
reference_id
ID of the referenced entity (offer, contract, payment, etc.)
string
timestamp
string format: date-time
uid
string
title
string
description
string
metadata
object
key
additional properties
any
related_uids
Array<string>
pagination
object
limit
Page size used for this response
integer
hasMore
Whether more results are available
boolean
nextCursor
Cursor for the next page, null when no more results
string
Example
{ "data": [ { "type": "offer_accepted", "category": "offer" } ]}Unauthorized