Thanks @elisa.zoom . I tried that with all possible location ids for our organization and again received http status code 200 but no data. Requests and responses are below though I replaced the actual IDs for our locations with [redacted]. If you need to see them can I message them to you privately somehow? Again I made sure that I can see actual invitations for this date range.
I got the location ids for the requests below from the /rooms/locations API endpoint and cross-checked them with the resource_id that I see in the query string in the address bar in the browser on those locations in the web portal (Admin → Workspaces Management → Visitor Management)
The invitations I see in this date range in the web portal should all be for our single building location. That building is set to “Allow visitors at this location” while all 4 floors under the building are set to not “Allow visitors at this location”.
/visitor/invitation?invite_location_id=[redacted]&from=2025-03-15T00%3A00%3A00Z&to=2025-04-11T00%3A00%3A00Z
{“next_page_token”:“”,“page_size”:30,“total_records”:0,“invitations”:null}
/visitor/invitation?invite_location_id=[redacted]&from=2025-03-15T00%3A00%3A00Z&to=2025-04-11T00%3A00%3A00Z
{“next_page_token”:“”,“page_size”:30,“total_records”:0,“invitations”:null}
/visitor/invitation?invite_location_id=[redacted]&from=2025-03-15T00%3A00%3A00Z&to=2025-04-11T00%3A00%3A00Z
{“next_page_token”:“”,“page_size”:30,“total_records”:0,“invitations”:null}
/visitor/invitation?invite_location_id=[redacted]&from=2025-03-15T00%3A00%3A00Z&to=2025-04-11T00%3A00%3A00Z
{“next_page_token”:“”,“page_size”:30,“total_records”:0,“invitations”:null}
/visitor/invitation?invite_location_id=[redacted]&from=2025-03-15T00%3A00%3A00Z&to=2025-04-11T00%3A00%3A00Z
{“next_page_token”:“”,“page_size”:30,“total_records”:0,“invitations”:null}
Additionally, I want to mention that the API docs don’t specify that the invite_location_id is a required query string parameter for calls to this endpoint.