Authentication
Authentication
Authentication can be done in one of these methods: API Key
, SideDish User token
, or an End User token
. A SideDish User token
is associated with a specific team member of yours, while an API Key
provides admin all-access.
One of the methods is required on all endpoints.
API Keys (Admin permissions)
Get your API key
Go to your account organization page on https://auth.sidedish.dev/org/api_keys to get your API key.
You can also access this page from the admin in the upper right corner, click on the avatar of your organization and then choose “Authenciation settings” from the dropdown menu. Then choose “Organization API keys” from the sidebar on the left.
Create an API key
Click on “New API key” and choose an expiration period.
Copy the API key
Copy the API key and use it in the X-API-KEY
header of your request.