No credit card required
Get started for free
Save time and avoid manual screenshot hassle β keep your docs and helpdesk perfectly up to date with automated, consistent visuals that impress users and cut support requests.
Get started nowFreshShots lets you programmatically trigger screenshot workflows and monitor their execution status. This guide covers scheduling automated updates and tracking job progress.
To trigger a screenshot workflow:
curl -X POST https://api.freshshots.io/v1/run/{workflow_id} \
-H "x-api-key: YOUR_API_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{
"webhook_url": "https://your-server.com/webhook"
}'
You can also find the workflow id from within the “Advanced Editor” tab.
Scroll to the bottom for personalized info on how to trigger each workflow.
{workflow_id}
with your actual workflow IDYOUR_API_KEY_HERE
with your FreshShots API keywebhook_url
with the URL to receive screenshot completion data (optional)If you don’t need a webhook, you can omit the -d
flag entirely.
After triggering a workflow, you can monitor its execution status:
curl -X GET https://api.freshshots.io/v1/job/{job_id}/status \
-H "x-api-key: YOUR_API_KEY_HERE" \
-H "Content-Type: application/json"
queued
- Job is waiting to be processedrunning
- Job is currently being executedcompleted
- Job finished successfullyfailed
- Job encountered an erroraborted
- Job was manually stoppedCommon scheduling patterns:
You can use tools like:
Edit your crontab:
crontab -e
Add a line like:
0 9 * * 1 curl -X POST https://api.freshshots.io/v1/run/23 \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json"
This example runs every Monday at 9:00 AM.
Use schedule
and curl
:
name: FreshShots Weekly Screenshots
on:
schedule:
- cron: "0 9 * * 1" # Every Monday at 9AM UTC
jobs:
trigger-freshshots:
runs-on: ubuntu-latest
steps:
- name: Trigger Screenshot Workflow
run: |
curl -X POST https://api.freshshots.io/v1/run/23 \
-H "x-api-key: ${{ secrets.FRESHSHOTS_API_KEY }}" \
-H "Content-Type: application/json"
Works great with:
Just configure them to make the POST
request on your desired interval.
Set a webhook_url
in the API call to be notified when screenshots are ready.
Youβll receive a POST request like this:
{
"workflow_id": "23",
"status": "completed",
"screenshots": [
{
"id": "abc123",
"cdn_url": "https://cdn.freshshots.io/screenshots/..."
}
]
}
Weekly Docs UI
)Weβre happy to help set up automated screenshot updates. Reach us at [email protected].
Save time and avoid manual screenshot hassle β keep your docs and helpdesk perfectly up to date with automated, consistent visuals that impress users and cut support requests.
Get started now