Quickstart
This guide will get you all set up and ready to use the Cake Slice API.
Before you can make requests to the Cake Slice API, you will need an API token for your account. You find it under Settings » API Tokens.
Making your first API request
After generating an API token, you are ready to make your first call to the Cake Slice API. Below, you can see how to send a GET request to the default v1 endpoint to get details on your token and what you can request next.
GET
/v1const headers = { "Authorization": `Bearer ${token}` }
const response = await fetch("https://api.cakeslice.com/v1", { headers })
await response.json()
What's next?
Great, you're now set up with an API token and have made your first request to the API. Here are a few links that might be handy as you venture further into the Cake Slice API: