Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

REST API Query parameters not working for events endpoint (/admin/v1/orgs/{orgId}/events)

The REST API calls with query parameter `to` and `from` does not return any results for the events endpoint (/admin/v1/orgs/{orgId}/events). 


The API documentation does mention these parameters and I would like to use them to filter events. (


I am using `curl` to query the results. The query calls for me looks as shown below.  The date and time are provided in the Unix timestamp format.


curl --request GET --url '{orgId}/events?from=1634642484&to=1634828884' --header 'Authorization: Bearer <API-Key>'

There are events generated in this time interval but the API call shows no results. Could you look into it and let me know if I am doing something wrong? 


This is what I see as output. It does not show any error. I am using an account with the trial plan for testing. 



2 answers

how you resolved this problem any idea ?

Hi @kumarak 


It seems that you do not have any events yet in your organization. Make actions in your organization by adding users to groups, creating a new user, etc.

Hi @Prince Nyeche , Thanks for the reply. I have events generated with the organization.

Should the Unix timestamp be in milliseconds? The document does not mention anything about it but it does work for me on using timestamps in milliseconds. 

Hi @kumarak 

I'm not sure about that but if it works for you that's great.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Atlassian Access

Atlassian Access Demo Q&A Recap

Hi Community! Thank you to all who joined our ongoing monthly Atlassian Access demo! We have an engaging group of attendees who asked many great questions. I’ll share a recap of frequently ask...

1,167 views 4 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you