Skip to main content
Community Member
March 21, 2024
Question

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

  • March 21, 2024
  • 2 replies
  • 440 views

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
March 21, 2024

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
July 31, 2026

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.