Docs

Search documentation

Jump to a documentation page.

PricingMarketingApp

Search documentation

Jump to a documentation page.

Public Api

Public HTTP API (v1)

Org API keys (yns_...) authenticate GET routes on the product app. Pass the key in the header:

Authorization: Bearer yns_...

Base URL is the product origin (same host as /api/auth), e.g. https://app.example.com or http://localhost:3001 in local dev.

Endpoints

MethodPathDescription
GET/api/v1/meAPI key id/name and organization summary.
GET/api/v1/orgOrganization id, name, slug.
GET/api/v1/projectsList projects for the key's workspace.
GET/api/v1/tasksList tasks; optional query ?projectId=<uuid> to filter.

Errors

JSON body shape on failure:

{ "error": "unauthorized", "message": "Invalid or missing API key" }
HTTP statusTypical cause
401Missing/invalid/revoked API key.
400Invalid projectId query parameter (malformed UUID).

Related