Logo
Openapi.it Public API Documentation

Oauth

Number of APIs: 12


Oauth is our essential authentication web service to use our services safely. Through this service you can receive, modify and see essential tokens to access all the rest methods of the bees that we provide.

Check out more at https://developers.openapi.it/services/oauth
Explore all our services at https://developers.openapi.it/services

Contact Support: Name: Support


1. {{baseUrl}}/scopes

GET {{baseUrl}}/scopes

Method that returns the list of all scopes for which you have requested the token and therefore associated with your account



2. {{baseUrl}}/credit

GET {{baseUrl}}/credit

Method that returns your remaining Openapi credit



3. token-{token} - {{baseUrl}}/token/:token

GET {{baseUrl}}/token/:token

Method that returns the token you passed in the path



4. token-{token} - {{baseUrl}}/token/:token

PUT {{baseUrl}}/token/:token

Method that allows you to modify the entire token object by passing it new ones or the same reference scopes with a new expiration

Please note that the TTL option is not available for this method.



5. token-{token} - {{baseUrl}}/token/:token

PATCH {{baseUrl}}/token/:token

Method that allows you to modify individual fields of the token object by passing it new ones or the same reference scopes or a new expiration



6. token-{token} - {{baseUrl}}/token/:token

DELETE {{baseUrl}}/token/:token

Method that allows you to delete a token object from your account



7. token - {{baseUrl}}/token

POST {{baseUrl}}/token

With this call passing one or more scopes you receive a token that you will need to authenticate with the same scopes you passed. Tokens with expiration dates can be very useful if you want to restrict access to just the small number of scopes that your application/service needs: in this way you can avoid unwanted requests



8. token - {{baseUrl}}/token

GET {{baseUrl}}/token?scope=<string>

Method that returns all the tokens with their scopes still active for your account



9. counters - {{baseUrl}}/counters/total

GET {{baseUrl}}/counters/total

Get your usage stats by scope



10. counters - {{baseUrl}}/counters/day/:day

GET {{baseUrl}}/counters/day/:day

Get your usage stats by scope



11. counters - {{baseUrl}}/counters/month/:month

GET {{baseUrl}}/counters/month/:month

Get your usage stats by scope



12. counters - {{baseUrl}}/counters/year/:year

GET {{baseUrl}}/counters/year/:year

Get your usage stats by scope



ENDPOINTS