đAPI Reference
Base URL: https://api.policeroleplay.community/v1
All requests should be sent with authentication headers:
Header Name | Description | Required |
---|---|---|
Server-Key | Server-Key, obtained in-game from private server settings | On all /server/ requests |
Authorization | Global API key. You will only have a global API key if your application has been approved for increased rate limits! | Not required |
All requests must start with the base URL.
Listed code examples in this section are not up to date due to issues with our documentation site, please only use this as a reference. If you do not know how to code without examples, the API is not for you - use a pre-made bot.
Please be aware of higher rate-limits on all POST routes. Respect the rate limit headers!
Last updated