Requests Authorization and Rate Limiting

You need a token to make requests to our API.

The rate limit now is 5 requests per sec per company.

To authorize a request, you need to use a header with a token you can issue in your plugin settings section.

  1. Here is an example of curl request

curl --location --request GET 'https://okr-api.com/api/v1/objectives/children?parentId=6915&workspaceIds=141' \ --header 'API-Token: 20204c288d97719ec52332bdbb96f53f59b38f2a92fd2194aadc2566d7ff2a9'

2. And pure HTTP request

GET /api/v1/intervals?workspaceId=141 HTTP/1.1 Host: okr-api.com API-Token: 2222225022297719ec52332bdbb96f53f59b38f2a92fd2194aadc2566222222

3. ✅Remember you can always use our postman collection and generate code snippets there.