Quick Start
Get up and running with Saasco in minutes
Get up and running with the Saasco API in just a few minutes. This guide walks you through creating your account, generating an API key, and making your first request.
Setup
Create an Account
Sign up at saasco.com to create your account. You'll get access to all features immediately — no credit card required.
Create a Project
Once logged in, create your first project from the dashboard. Each project is an isolated environment with its own data, API keys, and configuration.
Generate an API Key
Navigate to Settings > API Keys in your project dashboard and click Create key.
- Enter a descriptive name for your key (e.g.
my-app-production) - Click Create key
- Copy the key immediately — you won't be able to see it again
Your API key is only shown once at creation time. Store it somewhere safe like a password manager or environment variable. If you lose it, you'll need to generate a new one.
Store the key in your environment:
# .env
SAASCO_API_KEY=sk_live_your_api_key_hereMake Your First API Call
All API requests require your key in the Authorization header. The base URL for all endpoints is:
https://www.saasco.com/api/v2/Here's a quick example to verify your key is working:
curl https://www.saasco.com/api/v2/contacts \
-H "Authorization: Bearer $SAASCO_API_KEY" \
-H "Content-Type: application/json"Or using JavaScript:
const response = await fetch("https://www.saasco.com/api/v2/contacts", {
headers: {
Authorization: `Bearer ${process.env.SAASCO_API_KEY}`,
"Content-Type": "application/json",
},
});
const data = await response.json();
console.log(data);A successful response looks like:
{
"result": {
"data": {
"items": [],
"nextCursor": null
}
}
}Authentication Errors
If your API key is missing or invalid, you'll receive a 401 response:
{
"error": {
"code": "UNAUTHORIZED",
"message": "You must be logged in or use a valid API key to access this resource"
}
}Double-check that you're passing the key correctly in the Authorization: Bearer <key> header.