API Reference
Last updated
Last updated
Base URL: https://api.policeroleplay.community/v1
All requests should be sent with authentication headers:
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
Please be aware of higher rate-limits on all POST routes. Respect the rate limit headers!
Resetting a global API key:
If you were issued a global API key, you can reset it by sending a POST to /v1/api-key/reset with the "authorization" header set as your API key. This will send a new key which can only be viewed once. If you lose the key, the person who requested the API key must contact PRC.