APIs & Integrations

ZNavasardyan
Membro

Meetings endpoint - get all meetings within a time range

I am trying to get all meetings within a time range given some date filters. I see the only way to filter meetings when requesting through API is the meeting ID filter. Are there any other filtering options like date filters?

See below the endpoint to which I am using the GET request.

 

 

0 Avaliação positiva
1 Resposta 1
cooperelias
Colaborador(a)

Meetings endpoint - get all meetings within a time range

You would want to use the Search endpoint instead with the BETWEEN filter.

 

Here is an example using the Meeting Start Time property:

curl https://api.hubapi.com/crm/v3/objects/meetings/search \
  --request POST \
  --header "Content-Type: application/json" \
  --data '{
 "filterGroups":[{
    "filters":[
        {
    "propertyName":"hs_meeting_start_time",
     "operator":"BETWEEN",
     "highValue": "1642672800000",
      "value":"1579514400000"
        }
]
}
]
}'
0 Avaliação positiva