Jolly Rogenerator

JOLLY ROGENERATOR

Developer API

Developer API

Integrate with the Jolly Rogenerator API to build your own tools.

API Overview

The Jolly Rogenerator API allows external applications to interact with your characters. Manage character stats, inventory, and advancement programmatically.

Interactive Documentation

Explore the full API specification with our interactive Swagger UI. Test endpoints, view request/response schemas, and understand the complete API capabilities.

Open Swagger UI

API Key

All API endpoints require authentication via the X-Bot-API-Key header.

# Example request

curl -H "X-Bot-API-Key: your-bot-api-key" \

"https://jollyrogenerator.com/api/bot/characters?discordId=123456789"

Contact us to obtain an API key for your integration.

Rate Limits

Rate limits are applied per API key to ensure fair usage and system stability.

Operation TypeLimit
Read (GET)100 requests/minute
Write (POST, PATCH, DELETE)30 requests/minute

Rate limit headers (X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset) are included in all responses.

Endpoints

The API provides complete character management capabilities:

GET/api/bot/characters

List all characters for a Discord user

GET/api/bot/characters/:id

Get full character details including items and abilities

PATCH/api/bot/characters/:id

Update HP, luck, silver, or ability scores

GET/api/bot/characters/:id/inventory

Get character inventory categorized by type

POST/api/bot/characters/:id/inventory

Add a new item to character inventory

DELETE/api/bot/characters/:id/inventory/:itemId

Remove an item from character inventory

POST/api/bot/characters/:id/advance

Level up character with automatic HP roll

View full endpoint documentation

Error Codes

All errors return a JSON response with an error code for easy handling.

CodeDescription
UNAUTHORIZEDAuthentication required
INVALID_API_KEYInvalid API key provided
OWNERSHIP_DENIEDUser does not own the resource
RATE_LIMITEDRate limit exceeded
NOT_FOUNDResource not found
CHARACTER_NOT_FOUNDCharacter not found
ITEM_NOT_FOUNDItem not found
VALIDATION_ERRORRequest validation failed

Ready to integrate? Explore the interactive API documentation or contact us to get your API key.

Open Swagger UIJoin Discord