Get all campaign IDs for always null

I used this api https://api.hubapi.com/email/public/v1/campaigns/by-id?limit=3,but always get response like this

return

{

"campaigns": \[],

"hasMore": false

}

but it works in few days ago

Is this API stop support?

Hi, @Swinwin :waving_hand: Thanks for reaching out. I just ran a quick test in Postman using a similar request to the one you shared. It returned a 200 OK response in all of my quick tries. Here’s what I did:

Best,

Jaycee

Hi @Jaycee_Lewis

I found the issue, I input the wrong scope, so I got the bad token.

Thanks for your help.

Swinwin