← Back to overview

Control your Slack status with one HTTP call.

Generate an API key from your dashboard and pause, resume, activate, or reschedule your presence from Zapier, Make, or your own scripts. No dashboard clicks required.

Start for free → See how it works

Included free on every paid plan · not available during the 14-day trial

api
$ curl -X POST .../functions/v1/api \ -H "Authorization: Bearer sk_live_••••" \ -d '{"action":"pause","hours":4}'
{ "paused_until": "2026-09-04T18:00:00Z", "ok": true }
Quick answer

Stay Green On Slack's Developer API is a single authenticated endpoint — POST /functions/v1/api with an Authorization: Bearer <key> header — that lets you read your presence status and pause, resume, activate, deactivate, or reschedule it from Zapier, Make, or your own code. Generate a key from the Developer API tab in the dashboard. It's included free on every paid plan, but not during the 14-day free trial.

How it works

Five steps to a working automation.

No OAuth flow, no app review, no SDK. It's a plain JSON POST that drops into anything that can send an HTTP request.

1
Be on a paid plan

The API is a paying-subscriber perk. Trial users can still generate and copy a key — it just starts working the moment the trial converts.

2
Open the Developer API tab

In the dashboard sidebar, click </> Developer API, then Generate new key. Copy it immediately — it's shown once and never again.

3
Send a POST request

Call https://xwyjfveddqbefyklnyul.supabase.co/functions/v1/api with an Authorization: Bearer <key> header and a JSON body.

4
Pick an action

Set action to status, pause, resume, activate, deactivate, or schedule, plus whatever fields that action needs.

5
Wire it into Zapier, Make, or cron

Point a Zapier Webhooks action or a Make HTTP module at the endpoint, or hit it from a cron job or your own script. Changes land on the next 60-second worker sync.

Reference

Six actions. One endpoint.

Every call is the same shape: a JSON body with an action field. Here's what each one does.

status

Reads your current presence state, active/paused, and weekly schedule. No extra fields needed.

pause

Turns on vacation mode. Pass hours for a countdown or until for a specific date.

resume

Cancels vacation mode immediately and returns to your normal schedule.

activate

Turns presence on. Optionally scope it with platform: "slack" or "teams".

deactivate

Turns presence off. Same optional platform scoping as activate.

schedule

Sets your weekly hours, timezone, always-on toggle, and holiday-skip country in one call.

curl -X POST https://xwyjfveddqbefyklnyul.supabase.co/functions/v1/api \
  -H "Authorization: Bearer sk_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "action": "schedule",
    "platform": "slack",
    "always_on": false,
    "timezone": "America/New_York",
    "days": { "1": {"start":"09:00","end":"17:00"} }
  }' # applies on the next 60-second sync
Why paid plans only

Not a trial feature — and that's on purpose

The 14-day free trial exists so you can try presence automation risk-free, but the Developer API is built for people running Stay Green On Slack as real infrastructure — behind a Zapier zap, a Make scenario, or a cron job that fires every morning. That's a paying-customer use case, so a key generated during the trial is saved but returns a 402 until the subscription is active. The moment you convert, the same key starts working with no changes needed.

FAQ

Common questions

Is the Developer API included in my plan?
Yes, free on every paid plan, monthly or yearly, at no extra cost. It's not available during the 14-day free trial — a key generated on trial works the moment you convert.
What actions can the API perform?
Six: status, pause, resume, activate, deactivate, and schedule — everything the dashboard can do to your presence, available as plain HTTP calls.
Does it work with Zapier and Make?
Yes. It's a standard authenticated JSON POST endpoint, so it drops straight into a Zapier Webhooks by Zapier action or a Make HTTP module — no custom app or OAuth flow required.
How fast do changes take effect?
API writes are picked up by the worker's regular 60-second sync, so changes land within about a minute.

Automate your presence today.

14-day free trial · no credit card · $3.99/mo after · Developer API included on every paid plan