🖥️
RoleplayBot Docs
  • Home
  • Website
  • Support Server
  • Invite
  • Information
    • Configuration
    • Permissions
    • Getting Started
    • Data Transfer
    • RoleplayBot+
  • Advanced Information
    • CAD/MDT Information
      • Law Enforcement MDT
      • Fire Department MDT
      • Dispatcher MDT
    • FAQ
    • Bug Tracker
  • API Documentation
    • API Introduction
    • Guides
      • API Authorization
      • Getting Started
      • Civilian Requests
      • Building a Project
    • Endpoints
      • Civilian Endpoints
      • Vehicle Endpoints
      • Firearm Endpoints
      • Medical Endpoint
      • Law Enforcement Endpoints
    • Errors
      • Error Codes
      • Rate limited
Powered by GitBook
On this page
  • Getting a key
  • Requesting deletion of a key

Was this helpful?

  1. API Documentation
  2. Guides

API Authorization

PreviousGuidesNextGetting Started

Last updated 1 year ago

Was this helpful?

The API has been deprecated and is no longer in use.

To access RoleplayBot's API you must have an Authorization key, These keys are used to secure the API and keep data safe, Without Authorization keys anyone would be able to access and delete your data. These keys are used in request headers alongside your guild to communicate with the server and request specific data.

Getting a key

To create an API key you can head over to , Select your guilds and generate an API key. Alternatively inside your discord guild use RoleplayBot's integrated command /api key view, This will create an API key if one doesn't exist (Restricted to Administrators only). You can also view the API key using the same command.

Requesting deletion of a key

If your API key was generated through the dashboard then head over to , Select your guild and delete the API Key. Alternatively If your key has been exposed or you want it changed then directly contact RoleplayBot's API support team through our . Furthermore, You can use the command /api key delete to instantly delete your API key inside your discord server.

https://dashboard.roleplaybot.xyz/guilds
https://dashboard.roleplaybot.xyz/guilds
support server