For the complete documentation index, see llms.txt. This page is also available as Markdown.

Authorization

Authorization

The Graspil API uses API keys to provide access to the API. You can get a key in your dashboard.

To get a key, go to the "My Bots" section, select the relevant bot, and click the key icon.

Each bot has its own unique key.

The Graspil API expects the API key to be included in all API requests in a header that looks like this:

Api-Key: meowmeowmeow

Replace the placeholder meowmeowmeow with your API key.

$ch = curl_init($url);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Api-Key: ' . $api_key]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);

Last updated