Can't Pull Activity Log Data with cURL command

Hi All,

To make a long story short, I find reporting and 3rd party apps to be incredibly lackluster. The data I want to gather and manipulate is in the Activity Log, but exporting that to excel gives me way more data than I want, so I want to customize what I pull. Which is how I arrived here.

Below is my command in linux, minus the key (for obvious reasons). The only return I get is {} from instead of the data I want. I know I haven’t put more filters on the command yet. I wanted to see what it pulls first before filtering. Can anyone assist?

Does the cookie need to be changed? If so, where do I gather that data? I’m using the example command provided on for cURL.

curl --location --request POST ‘’ \

–header 'Authorization: ’ \

–header ‘Content-Type: application/json’ \

–header ‘Cookie: __cfduid=d4512e647bd3dd90706f5673d6041f7c51618840981’ \

–data-raw '{“query”: "query { boards (ids: 1476816006) { activity_logs

(from: "2022-05-1T00:00:00Z) (to: “2022-05-6T00:00:00Z) (column_ids: ) { id event data }}}”}’ > data.txt

Hello @stephenlittle and welcome to the community!

I hope you like it here :muscle:

Would you please try this and tell me if it works for you?

curl --location --request POST '' \

--header 'Authorization: YOURAPIKEY' \

--header 'Content-Type: application/json' \

--data-raw '{"query":"query { boards (ids: YOURBOARDID) { activity_logs \n (from: \"2021-07-23T00:00:00Z\") { id event data }}}","variables":{}}'