The Stairoids REST API base URL is
https://api.stairoids.com/v1. All endpoints described in this documentation are relative to this base URL.Generating an API Key
Create a new API key from the Stairoids dashboard. You can create as many keys as you need — one per integration is the recommended practice.Log in to Stairoids
Navigate to app.stairoids.com and sign in with your account credentials.
Name your key and choose a scope
Enter a descriptive name (e.g.,
hubspot-integration or zapier-readonly) and select either Read-only or Read-Write scope. See Key Scopes below for guidance.Making Authenticated Requests
Pass your API key in theAuthorization header of every request using the Bearer scheme.
Example: cURL
Example: Node.js (fetch)
Example: Python (requests)
Key Scopes
When generating an API key, choose the scope that matches the integration’s actual needs. Follow the principle of least privilege — give each key only the access it requires.Read-Only
Allows
GET requests only. Use this scope for dashboards, reporting tools, and any integration that needs to pull data from Stairoids without writing signals or triggering automations. Read-only keys cannot create, update, or delete any resource.Read-Write
Allows all HTTP methods:
GET, POST, PUT, PATCH, and DELETE. Use this scope for integrations that send signals to Stairoids, manage automations, or update account and contact records. Most server-side integrations require Read-Write access.Rotating Keys
Rotating API keys periodically — or immediately after a suspected compromise — is a security best practice. Follow this zero-downtime rotation procedure to avoid interrupting active integrations.Generate a new API key
In Settings → API Keys, click New API Key. Give it the same name as the key you’re replacing with a version suffix (e.g.,
hubspot-integration-v2) and select the same scope.Update your integrations
Replace the old key value with the new one in every integration, environment variable, or secrets manager entry that references it. Deploy or restart the affected services to pick up the new key.
Verify the new key is working
Make a test API call using the new key and confirm you receive a
200 OK response before proceeding.Error Responses
When authentication fails, the API returns a standard error response with a descriptive message.Returned when the
Authorization header is missing, malformed, or contains an invalid or revoked API key.Returned when the API key is valid but lacks the required scope for the requested operation. For example, using a Read-only key to create a signal returns this error.
Every API error response includes a
request_id field. Keep this value handy — Stairoids support can use it to look up the exact request when investigating an issue. Include it in any support ticket you raise.