Wiki Navigation

API Documentation

This documentation provides information on how to use the DZconfig API to interact with your instances and their associated resources. The API allows you to programmatically manage your DayZ server configurations.

Authentication

All API requests require authentication using an API token. You can find your API token in your user profile. The token should be included in the Authorization header of your requests.

Authorization: Bearer YOUR_API_TOKEN

Base URL

All API endpoints are relative to the base URL:

https://dzconfig.com/api

Response Format

All responses are returned in JSON format. Successful responses will have a 2xx status code, while errors will have a 4xx or 5xx status code.

Rate Limiting

API requests are subject to rate limiting to ensure fair usage. The current rate limit is 60 requests per minute. If you exceed this limit, you will receive a 429 Too Many Requests response.

Error Handling

When an error occurs, the API will return a JSON response with an error message and appropriate HTTP status code. Example error response:

{
    "error": "Unauthorized",
    "message": "Invalid API token"
}

Need Help?

If you have any questions or issues with the API, please contact our support team. Each endpoint has its own detailed documentation page with examples and parameter descriptions.