Skip to main content
POST
/
v1.0
/
agent
/
communication
Search by Agent
curl --request POST \
  --url https://api.lofty.com/v1.0/agent/communication \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "type": "CALL",
  "startTime": 946710000000,
  "endTime": 946710000000,
  "offset": 0,
  "limit": 50,
  "teamView": false
}
'
{
  "offset": 0,
  "limit": 500,
  "pageData": [
    {}
  ],
  "hasMore": true
}

Documentation Index

Fetch the complete documentation index at: https://developer.lofty.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
required

Bearer [access_token]

Content-Type
string
required

application/json

Body

application/json

Communication search request payload.

type
enum<string>
required

CALL, EMAIL OR TEXT

Available options:
CALL,
TEXT,
EMAIL
Example:

"CALL"

startTime
integer<int64>
required

startTimestamp

Example:

946710000000

endTime
integer<int64>
required

endTimestamp (The maximum time interval for a single query is 24 hours)

Example:

946710000000

offset
integer<int32>

offset default Value 0

Example:

0

limit
integer<int32>

limit default Value 10,max value 1000

Example:

50

teamView
boolean

search team lead's communication, default false

Example:

false

Response

Page of communication entries.

offset
integer<int32>

current offset

Example:

0

limit
integer<int32>

limit

Example:

500

pageData
object[]

page data

hasMore
boolean

has more

Example:

true