POST /generate

  • This endpoint is used to generate a license key. It only requires the authorization header to be set to the API key.
    • Docs on the Authorization header can be found here.

Response

The response of this endpoint will be a JSON object with the following properties:

{
    "status": "ok",
    "message": "The key that was generated"
}

Example

A basic example of how to use this endpoint in JavaScript:

fetch('https://api.corlink.xyz/generate', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'authorization': 'Bearer YOUR_TOKEN'
    },
})
Table of Contents