Skip to main content
Community Member
Mar 21, 2024 10:46 AM UTC
Question

Getting "invalid argument" error when trying to list events from organization

I cannot figure out why my request is wrong. My Curl looks like this:
curl --request GET \

--url 'https://api.calendly.com/scheduled_events?organization=14b0c407-b454-4059-8830-eaf5c92ab325' \

--header 'Authorization: Bearer [Here I introduce my personal token, which works in other requests : ) ] \

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

 

But I keep getting “invalid argument” parameter: “organization”. I have no idea what the problem is, since I did a request to find out the organization URI and copy-pasted it as you can see. Any help is appreciated :)

2 replies

tcampb
Employee
Employee
Mar 21, 2024 12:01 PM UTC

Hello,

The organization parameter needs to be the full URI, not just the uuid.

For example:

https://api.calendly.com/scheduled_events?organization=https://api.calendly.com/organizations/14b0c407-b454-4059-8830-eaf5c92ab325

New Community Member
Jul 31, 2026 6:55 AM UTC

Thanks for sharing the solution—it explains the issue clearly. The key detail is that the organization parameter expects the full organization URI, not just the UUID. That's an easy mistake to make, especially since many other API endpoints accept UUIDs directly. Hopefully this saves other developers some debugging time when working with the scheduled_events endpoint.