REST API overview
The Hype Doc REST API is a JSON API for wins, spaces, tags, attachments, exports, API tokens, and sign-in.
Base URL
Section titled “Base URL”https://app.myhypedoc.com/api/v1IDs are UUID strings. Timestamps are RFC 3339 UTC strings. Dates use
YYYY-MM-DD.
Authentication
Section titled “Authentication”Send an API token or OAuth access token in the Authorization header:
GET /api/v1/wins HTTP/1.1Host: app.myhypedoc.comAuthorization: Bearer <token>The email code flow creates a device API token. You can also create named API tokens in Settings. See Authentication and API tokens.
Common response rules
Section titled “Common response rules”- Every response sets
Cache-Control: private, no-store. - Mutating authenticated API requests create an audit log entry.
- List endpoints accept
pageandper_page, defaulting to 1 and 25. The maximumper_pageis 100. - List responses include
X-Total-Count,X-Page, andX-Per-Pageheaders. - Plan limit errors use status
402and includeupgrade_url. - Rate-limited responses use status
429and includeRetry-After.
See Pagination, Rate limits, and Error codes.
Generated operation reference
Section titled “Generated operation reference”The API reference is generated from the server’s checked-in OpenAPI document. It contains the request parameters, request bodies, response schemas, and code snippets for the documented API operations.
Start with List wins, or browse the full operation reference.