Back to Helpdesk

How to get and use your Swipekit API key

Use this guide to create an API key and make your first request to the Swipekit API.

Why this helps

The API lets you pull your Swipekit data directly into your own tools, dashboards, and automations.

Step 1: Get your API key

  1. Sign in to Swipekit app.
  2. Open your workspace settings at https://app.swipekit.app/profile/workspace.
  3. Go to the API key section.
  4. Create a new key and copy it.

Your key is used as a Bearer token and looks like sk_xxxxxxxxxxxxxxxx.

Swipekit API settings

Step 2: Make your first request

Use your API key in the Authorization header.

curl "https://api.swipekit.app/api/v1/library?page=1&take=10" \
  -H "Authorization: Bearer sk_your_api_key"

Step 3: Try other endpoints

You can use the same header for all endpoints in the docs:

Example:

curl "https://api.swipekit.app/api/v1/usage" \
  -H "Authorization: Bearer sk_your_api_key"

Common issues

  1. 401 Unauthorized: check that your key is correct and sent as Authorization: Bearer ....
  2. 403 Forbidden: your workspace or key may not have access to that resource.
  3. 429 Too Many Requests: slow down request rate and retry.

The easiest way to find & save winning Ads

Get started today and see how easy it is to save Ads.

14 Day Free Trial Priority Support Ads are stored forever
Start Saving Ads today!
Swipekit Ad library Ads