Skip to content

Endpoints

Account, organizations, projects, the board, sessions, uploads, credits, limits and notifications.

Applies to EngineCloud
View as Markdown
On this page
  1. You, your devices
  2. Organizations
  3. Projects and the board
  4. Sessions
  5. Credits and limits
  6. Notifications

You, your devices

Method and pathDoes
GET /meyou, your level, your organizations
GET /me/devices, DELETE /me/devices/{id}where you are signed in; sign one out

Organizations

Method and pathDoes
GET /orgs, POST /orgsyour organizations; create one
GET /orgs/{org}/membersmembers and roles
PATCH /orgs/{org}/members/{user}, DELETE …change a role, remove a member
POST /orgs/{org}/invitations, DELETE /invitations/{id}invite by e-mail (valid 7 days), cancel

Projects and the board

Method and pathDoes
GET /projects, POST /projectsthe organization’s projects; create one
GET /projects/{project}a project and the products it uses
GET /projects/{project}/boardevery card, with when each was read

Sessions

Method and pathDoes
GET /sessions?project=, POST /sessionslist, create
GET /sessions/{id}, PATCH …, DELETE …read with its messages, rename/pin/archive, delete
POST /sessions/{id}/messagessend a message; the answer streams as text/event-stream
POST /sessions/{id}/answersanswer a question or an approval (people only)
POST /sessions/{id}/shareshare with members, or hand over
POST /uploadsattach a file (up to 25 MB) → an id to send with a message
POST /sessions/ses_8k2…/messages → text/event-stream
event: text
data: {"text":"I'd add one case: «Order for today»."}

event: panel
data: {"tab":"map","case":"place-order"}

event: approval
data: {"id":"apr_41…","what":"Approve the case place-order","undo":"Retire the case"}

event: done
data: {}

Credits and limits

Method and pathDoes
GET /creditsbalance, held credits, and the credits that expire next with their date
GET /credits/ledger?project=&group=&from=&to=&cursor=the ledger (Accept: text/csv for CSV)
POST /credits/top-upsstart a top-up of amount USD (at least 5; less answers 400 amount_too_small) → a PayPal address for a person to pay (people only)
GET /credits/top-ups/{id}its state: waiting, paid, failed
GET /limits, PUT /limitsspending limits
POST /spending-requests, POST /spending-requests/{id}/approveask to spend; approve (owner or billing)

Notifications

Method and pathDoes
GET /notifications, POST /notifications/readlist, mark read
GET /notifications/settings, PUT …what reaches you, where
POST /push-subscriptionsregister a phone or browser for notifications

The OpenAPI document is in the App repository, at spec/openapi.yaml.

  1. You, your devices
  2. Organizations
  3. Projects and the board
  4. Sessions
  5. Credits and limits
  6. Notifications

    Search pages, sections and terms