Cursion DocsCursion Docs
Home
Dashboard
Home
Dashboard
  • Guides

    • Account
    • Billing
    • Selfhost
    • App
    • API
    • CLI
  • API

    • Site
    • Page
    • Scan
    • Test
    • Case
    • CaseRun
    • Flow
    • FlowRun
    • Issue
    • Schedule
    • Alert
    • Report
  • CLI

    • Site
    • Page
    • Scan
    • Test
    • Case
    • Flow

API

Follow these quick steps to setup your environment for working with the Cursion API

API structure

Tips

All of the API endpoints follow the same basic structure.

PathAllowed methodsUsage
/<object>POSTcreate object
/<object>s/deletePOSTdelete many objects
/<object>/<object:id>GET, DELETEretrieve or delete single object
/<object>?limit=10&offset=0GETretrieve paginated object list
/<object>/<object:id>/leanGETretrieve abbreviated object

API Setup

  1. Set an env variable, CURSION_API_BASE_URL to https://api.cursion.dev/v1/ops
  2. Retrieve your API token located in your account page
  3. Set another env variable, CURSION_API_TOKEN to Token <your_super_secret_api_token>
  4. Be sure to export / import these variables into your working directory when using
Last Updated:
Contributors: Landon, landon
Prev
App
Next
CLI