{"openapi":"3.1.0","info":{"title":"creatif.space API","version":"v1","description":"The creatif.space v1 API. Authenticate with an API key or OAuth token (Authorization: Bearer) \u2014 it reaches only operations with an x-token-scope, and only with that scope \u2014 or with the app session. Errors are JSON {message, \u2026}; 422 adds errors per field; 429 adds retry_after. MCP server: https://mcp.creatif.space."},"servers":[{"url":"https://api.creatif.space/api/v1"}],"paths":{"/a/{token}":{"get":{"operationId":"api.v1.approval-links.show","summary":"Open an approval link or Content Plan (client view)","tags":["a"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/a/{token}/approve-all":{"post":{"operationId":"api.v1.approval-links.approve-all","summary":"Approve every post shown on the link","tags":["a"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/a/{token}/documents/{document}/decision":{"post":{"operationId":"api.v1.a.documents.decision","summary":"The client approves a Blog post, or asks for changes","tags":["a"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}},{"name":"document","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/a/{token}/email-link":{"post":{"operationId":"api.v1.approval-links.email-link","summary":"Email the approver a one-time sign-in link","tags":["a"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"5,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/a/{token}/posts/{post}/comments":{"post":{"operationId":"api.v1.approval-links.comment","summary":"Comment on a post from the approval link","tags":["a"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}},{"name":"post","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/a/{token}/posts/{post}/decision":{"post":{"operationId":"api.v1.approval-links.decide","summary":"Approve or request changes on a post (signed-in approver)","tags":["a"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}},{"name":"post","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/a/{token}/posts/{post}/retract":{"post":{"operationId":"api.v1.approval-links.retract","summary":"Take a decision back","tags":["a"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}},{"name":"post","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/affiliates/apply":{"post":{"operationId":"api.v1.affiliates.apply","summary":"Apply to the affiliate program","tags":["affiliates"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"5,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/approval-reminders/{link}/off":{"get":{"operationId":"api.v1.approval-links.reminders-off","summary":"Content Plan reminders: confirm page to turn them off (signed link)","tags":["approval-reminders"],"parameters":[{"name":"link","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"description":"Signed URL: open the link exactly as it was handed out (signature and expires in the query).","x-rate-limit":"20,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"post":{"operationId":"api.v1.approval-links.reminders-off.store","summary":"Content Plan reminders: turn them off (signed link)","tags":["approval-reminders"],"parameters":[{"name":"link","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"description":"Signed URL: open the link exactly as it was handed out (signature and expires in the query).","x-rate-limit":"20,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/billing/google/credits":{"post":{"operationId":"api.v1.billing.google.credits","summary":"Add Credits from a Google Play top-up","tags":["billing"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"20,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/billing/google/verify":{"post":{"operationId":"api.v1.billing.google.verify","summary":"Verify a Google Play purchase","tags":["billing"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"20,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/blog-posts":{"get":{"operationId":"api.v1.blog-posts.index","summary":"List the owner's Blog posts across Blogs (status filter)","tags":["blog-posts"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"120,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/blog-posts/{blogPost}":{"get":{"operationId":"api.v1.blog-posts.show","summary":"Get a Blog post with its blocks","tags":["blog-posts"],"parameters":[{"name":"blogPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"120,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"patch":{"operationId":"api.v1.blog-posts.update","summary":"Edit a Blog post","tags":["blog-posts"],"parameters":[{"name":"blogPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"120,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.blog-posts.destroy","summary":"Delete a Blog post","tags":["blog-posts"],"parameters":[{"name":"blogPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/blog-posts/{blogPost}/publish":{"post":{"operationId":"api.v1.blog-posts.publish","summary":"Publish a Blog post (approved first when it needs approval)","tags":["blog-posts"],"parameters":[{"name":"blogPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"publish","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/blog-posts/{blogPost}/send-for-approval":{"post":{"operationId":"api.v1.blog-posts.send-for-approval","summary":"Send a Blog post to the client for approval","tags":["blog-posts"],"parameters":[{"name":"blogPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"approve","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/blog-posts/{blogPost}/unpublish":{"post":{"operationId":"api.v1.blog-posts.unpublish","summary":"Take a Blog post off the public Blog","tags":["blog-posts"],"parameters":[{"name":"blogPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/client-labels":{"get":{"operationId":"api.v1.client-labels.index","summary":"List your clients (labels on social accounts)","tags":["client-labels"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"120,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"post":{"operationId":"api.v1.client-labels.store","summary":"Create a client label, optionally on accounts","tags":["client-labels"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/client-labels/{clientLabel}":{"get":{"operationId":"api.v1.client-labels.show","summary":"Get one client label with its accounts","tags":["client-labels"],"parameters":[{"name":"clientLabel","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"120,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"patch":{"operationId":"api.v1.client-labels.update","summary":"Rename a client, change its colour, approver or accounts","tags":["client-labels"],"parameters":[{"name":"clientLabel","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.client-labels.destroy","summary":"Remove a client label (accounts and posts stay)","tags":["client-labels"],"parameters":[{"name":"clientLabel","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/client-reports":{"get":{"operationId":"api.v1.client-reports.index","summary":"List this month's scheduled client reports and the ones sent","tags":["client-reports"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"post":{"operationId":"api.v1.client-reports.store","summary":"Open (or make) a client's monthly report","tags":["client-reports"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/client-reports/{clientReport}":{"get":{"operationId":"api.v1.client-reports.show","summary":"Get a client's monthly report","tags":["client-reports"],"parameters":[{"name":"clientReport","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"patch":{"operationId":"api.v1.client-reports.update","summary":"Edit a report's summary or visibility","tags":["client-reports"],"parameters":[{"name":"clientReport","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/client-reports/{clientReport}/link":{"delete":{"operationId":"api.v1.client-reports.revoke","summary":"Turn a report's share link off","tags":["client-reports"],"parameters":[{"name":"clientReport","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/client-reports/{clientReport}/send":{"post":{"operationId":"api.v1.client-reports.send","summary":"Email a report to the client's approver now","tags":["client-reports"],"parameters":[{"name":"clientReport","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"approve","x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/content-plans/{token}/calendar.ics":{"get":{"operationId":"api.v1.content-plans.calendar","summary":"Content Plan calendar feed (ICS, signed link)","tags":["content-plans"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/credits":{"get":{"operationId":"api.v1.credits.show","summary":"Credit balance","tags":["credits"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/credits/ledger":{"get":{"operationId":"api.v1.credits.ledger","summary":"Credit history","tags":["credits"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/credits/top-up":{"post":{"operationId":"api.v1.credits.top-up","summary":"Buy Credits","tags":["credits"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/devices":{"post":{"operationId":"api.v1.devices.store","summary":"Register this phone for push notifications (Android app)","tags":["devices"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/devices/{token}":{"delete":{"operationId":"api.v1.devices.destroy","summary":"Forget this phone for push notifications (on sign-out)","tags":["devices"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/enterprise/contact":{"post":{"operationId":"api.v1.enterprise.contact","summary":"Contact sales about Enterprise","tags":["enterprise"],"security":[],"x-rate-limit":"5,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/feedback":{"post":{"operationId":"api.v1.feedback.store","summary":"Send feedback to the creatif.space team","tags":["feedback"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"10,60","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files":{"get":{"operationId":"api.v1.files.index","summary":"List library files","tags":["files"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/move":{"post":{"operationId":"api.v1.files.move","summary":"Move files to a folder","tags":["files"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/presign":{"post":{"operationId":"api.v1.files.presign","summary":"Start an upload (presigned URL)","tags":["files"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/trash":{"get":{"operationId":"api.v1.files.trash","summary":"List the Trash","tags":["files"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.files.trash.empty","summary":"Empty the Trash","tags":["files"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/trash/{ulid}":{"delete":{"operationId":"api.v1.files.trash.force","summary":"Delete a file from the Trash for good","tags":["files"],"parameters":[{"name":"ulid","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/trash/{ulid}/restore":{"post":{"operationId":"api.v1.files.trash.restore","summary":"Restore a file from the Trash","tags":["files"],"parameters":[{"name":"ulid","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/usage":{"get":{"operationId":"api.v1.files.usage","summary":"Library storage usage","tags":["files"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/{file}":{"get":{"operationId":"api.v1.files.show","summary":"One file","tags":["files"],"parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.files.destroy","summary":"Move a file to the Trash","tags":["files"],"parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/{file}/complete":{"post":{"operationId":"api.v1.files.complete","summary":"Finish an upload","tags":["files"],"parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/{file}/download":{"get":{"operationId":"api.v1.files.download","summary":"Download a file","tags":["files"],"parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/{file}/keep":{"post":{"operationId":"api.v1.files.keep","summary":"Keep a file (exempt from media retention)","tags":["files"],"parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.files.unkeep","summary":"Stop keeping a file","tags":["files"],"parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/{file}/versions":{"get":{"operationId":"api.v1.files.versions.index","summary":"List a file's versions","tags":["files"],"parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/{file}/versions/complete":{"post":{"operationId":"api.v1.files.versions.complete","summary":"Finish uploading a new version","tags":["files"],"parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/{file}/versions/presign":{"post":{"operationId":"api.v1.files.versions.presign","summary":"Start uploading a new version","tags":["files"],"parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/{file}/versions/{version}":{"delete":{"operationId":"api.v1.files.versions.destroy","summary":"Delete a version","tags":["files"],"parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/files/{file}/versions/{version}/restore":{"post":{"operationId":"api.v1.files.versions.restore","summary":"Restore an older version","tags":["files"],"parameters":[{"name":"file","in":"path","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/folders":{"post":{"operationId":"api.v1.folders.store","summary":"Create a folder","tags":["folders"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/folders/{folder}":{"patch":{"operationId":"api.v1.folders.update","summary":"Rename or move a folder","tags":["folders"],"parameters":[{"name":"folder","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.folders.destroy","summary":"Delete a folder","tags":["folders"],"parameters":[{"name":"folder","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/handles":{"post":{"operationId":"api.v1.handles.claim","summary":"Claim a handle","tags":["handles"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/handles/availability":{"get":{"operationId":"api.v1.handles.availability","summary":"Check whether a handle is free","tags":["handles"],"security":[],"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/health":{"get":{"operationId":"api.v1.health","summary":"Liveness check","tags":["health"],"security":[],"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/health/deep":{"get":{"operationId":"api.v1.health.deep","summary":"Readiness check (database, queue, storage)","tags":["health"],"security":[],"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/comments":{"get":{"operationId":"api.v1.inbox.comments.index","summary":"List comments on your posts","tags":["inbox"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/comments/{comment}/private-reply":{"post":{"operationId":"api.v1.inbox.comments.private-reply","summary":"Reply privately to a comment","tags":["inbox"],"parameters":[{"name":"comment","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/comments/{comment}/read":{"post":{"operationId":"api.v1.inbox.comments.read","summary":"Mark a comment read","tags":["inbox"],"parameters":[{"name":"comment","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/comments/{comment}/reply":{"post":{"operationId":"api.v1.inbox.comments.reply","summary":"Reply publicly to a comment","tags":["inbox"],"parameters":[{"name":"comment","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/conversations":{"get":{"operationId":"api.v1.inbox.conversations.index","summary":"List DM conversations","tags":["inbox"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/conversations/{conversation}":{"get":{"operationId":"api.v1.inbox.conversations.show","summary":"One DM conversation","tags":["inbox"],"parameters":[{"name":"conversation","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"patch":{"operationId":"api.v1.inbox.conversations.update","summary":"Update a conversation (archive, label)","tags":["inbox"],"parameters":[{"name":"conversation","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/conversations/{conversation}/messages":{"post":{"operationId":"api.v1.inbox.conversations.messages.store","summary":"Send a DM","tags":["inbox"],"parameters":[{"name":"conversation","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/conversations/{conversation}/read":{"post":{"operationId":"api.v1.inbox.conversations.read","summary":"Mark a conversation read","tags":["inbox"],"parameters":[{"name":"conversation","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/feed":{"get":{"operationId":"api.v1.inbox.feed.index","summary":"Comments and DMs in one feed","tags":["inbox"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/feed/drafts":{"post":{"operationId":"api.v1.inbox.feed.drafts","summary":"Reply all with AI: one draft per feed item, up to 20 (Pro/Max, Credits)","tags":["inbox"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/feed/{item}":{"get":{"operationId":"api.v1.inbox.feed.show","summary":"One feed item","tags":["inbox"],"parameters":[{"name":"item","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/feed/{item}/reply":{"post":{"operationId":"api.v1.inbox.feed.reply","summary":"Reply to a feed item","tags":["inbox"],"parameters":[{"name":"item","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"publish","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/feed/{item}/suggestions":{"post":{"operationId":"api.v1.inbox.feed.suggestions","summary":"AI reply suggestions for a feed item (Pro/Max, Credits)","tags":["inbox"],"parameters":[{"name":"item","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"20,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/feedback":{"get":{"operationId":"api.v1.inbox.feedback.index","summary":"Client feedback from approval links (open, unread, done)","tags":["inbox"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/inbox/summary":{"get":{"operationId":"api.v1.inbox.summary","summary":"Engage inbox counts","tags":["inbox"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"120,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/best-times":{"get":{"operationId":"api.v1.insight.best-times","summary":"Best times to post, from the workspace\u2019s own posts","tags":["insight"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/best-times.csv":{"get":{"operationId":"api.v1.insight.best-times.csv","summary":"Best times to post per channel and slot, as CSV","tags":["insight"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/clients":{"get":{"operationId":"api.v1.insight.clients","summary":"Insight clients (workspaces you report on)","tags":["insight"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/export-csv-link":{"post":{"operationId":"api.v1.insight.export-csv-link","summary":"A 24-hour signed link to the Insight CSV","tags":["insight"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/export-link":{"post":{"operationId":"api.v1.insight.export-link","summary":"A short-lived signed link to an Insight PDF","tags":["insight"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"20,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/export.csv":{"get":{"operationId":"api.v1.insight.export","summary":"Insight export as CSV","tags":["insight"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/export.csv/signed":{"get":{"operationId":"api.v1.insight.export.csv.signed","summary":"Download an Insight CSV (signed link)","tags":["insight"],"security":[],"description":"Signed URL: open the link exactly as it was handed out (signature and expires in the query).","x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/export.pdf":{"get":{"operationId":"api.v1.insight.export.pdf","summary":"Insight report as PDF","tags":["insight"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/export.pdf/signed":{"get":{"operationId":"api.v1.insight.export.signed","summary":"Download an Insight PDF (signed link)","tags":["insight"],"security":[],"description":"Signed URL: open the link exactly as it was handed out (signature and expires in the query).","x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/reports":{"post":{"operationId":"api.v1.insight.reports.store","summary":"Build an Insight report","tags":["insight"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/reports/{insightReport}":{"get":{"operationId":"api.v1.insight.reports.show","summary":"Status and download of an Insight report","tags":["insight"],"parameters":[{"name":"insightReport","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/share":{"post":{"operationId":"api.v1.insight.share.store","summary":"Create an Insight share link","tags":["insight"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"approve","x-rate-limit":"20,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"get":{"operationId":"api.v1.insight.share.index","summary":"List Insight share links","tags":["insight"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/share/{insightShareLink}":{"delete":{"operationId":"api.v1.insight.share.destroy","summary":"Revoke an Insight share link","tags":["insight"],"parameters":[{"name":"insightShareLink","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"approve","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/summary":{"get":{"operationId":"api.v1.insight.summary","summary":"Insight numbers for a period","tags":["insight"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/top-posts":{"get":{"operationId":"api.v1.insight.top-posts","summary":"The top five posts of a period by engagement","tags":["insight"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/insight/top-posts.csv":{"get":{"operationId":"api.v1.insight.top-posts.csv","summary":"The top five posts of a period by engagement, as CSV","tags":["insight"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me":{"delete":{"operationId":"api.v1.me.destroy","summary":"Request account deletion","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"5,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"get":{"operationId":"api.v1.me","summary":"The signed-in user","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/activity":{"get":{"operationId":"api.v1.me.activity","summary":"Recent workspace activity","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/affiliate":{"get":{"operationId":"api.v1.me.affiliate","summary":"Affiliate status and earnings","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/analytics":{"get":{"operationId":"api.v1.me.analytics","summary":"Space analytics","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/api-keys":{"get":{"operationId":"api.v1.me.api-keys.index","summary":"List API keys","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"post":{"operationId":"api.v1.me.api-keys.store","summary":"Create an API key","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/api-keys/{apiKey}":{"delete":{"operationId":"api.v1.me.api-keys.destroy","summary":"Revoke an API key","tags":["me"],"parameters":[{"name":"apiKey","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/approvals/waiting":{"get":{"operationId":"api.v1.me.approvals.waiting","summary":"Posts waiting for your approval (sent to your email)","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"approvals:decide","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/approvals/{post}/decision":{"post":{"operationId":"api.v1.me.approvals.decide","summary":"Decide on a post sent to you (with the preview's token)","tags":["me"],"parameters":[{"name":"post","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"approvals:decide","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/approvals/{post}/preview":{"get":{"operationId":"api.v1.me.approvals.preview","summary":"Preview a decision on a post sent to you","tags":["me"],"parameters":[{"name":"post","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"approvals:decide","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/attention":{"get":{"operationId":"api.v1.me.attention","summary":"What needs your attention","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/connected-apps":{"get":{"operationId":"api.v1.me.connected-apps.index","summary":"List connected apps (OAuth/MCP)","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/connected-apps/{clientId}":{"delete":{"operationId":"api.v1.me.connected-apps.destroy","summary":"Disconnect an app","tags":["me"],"parameters":[{"name":"clientId","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/deletion":{"get":{"operationId":"api.v1.me.deletion.show","summary":"Account deletion status: active, or pending with requested_at, purge_at, days_left and can_cancel","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"description":"Session only. Reachable while the account is pending deletion (every other route answers 423). data: {status: \"active\" | \"pending_deletion\", requested_at: ISO 8601 | null, purge_at: ISO 8601 | null, grace_days: 30, days_left: integer | null (whole days until purge_at, rounded up), can_cancel: boolean}.","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/deletion/cancel":{"post":{"operationId":"api.v1.me.deletion.cancel","summary":"Cancel a pending account deletion during the 30-day grace period (409 when not pending or past purge_at)","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"description":"Session only. Brings a pending account back to active and emails the person. Answers the same data as GET /me/deletion. 409 {reason: \"not_pending\"} when the account is not pending, 409 {reason: \"grace_ended\"} once purge_at has passed. What the deletion request stopped (scheduled posts, approval links, connected channels, the subscription) stays stopped.","x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/deliveries":{"get":{"operationId":"api.v1.me.deliveries","summary":"Email delivery log","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/domain":{"get":{"operationId":"api.v1.me.domain","summary":"Get the custom domain and its DNS record","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"put":{"operationId":"api.v1.me.domain.update","summary":"Connect a custom domain (Pro and Max)","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"20,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.me.domain.destroy","summary":"Remove the custom domain","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"20,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/domain/check":{"post":{"operationId":"api.v1.me.domain.check","summary":"Check the custom domain's CNAME now","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"20,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/export":{"post":{"operationId":"api.v1.me.export.store","summary":"Request an account data export (emailed as a link)","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"5,60","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"get":{"operationId":"api.v1.me.export.show","summary":"Status of the latest account export","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/export/{export}/download":{"get":{"operationId":"api.v1.me.export.download","summary":"Download an account export (signed link from the email)","tags":["me"],"parameters":[{"name":"export","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"description":"Signed URL: open the link exactly as it was handed out (signature and expires in the query).","x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/handle":{"patch":{"operationId":"api.v1.me.handle.change","summary":"Change the handle","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/insight-settings":{"get":{"operationId":"api.v1.me.insight-settings.show","summary":"Insight settings (monthly email)","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"patch":{"operationId":"api.v1.me.insight-settings.update","summary":"Update Insight settings","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/invoices":{"get":{"operationId":"api.v1.me.invoices","summary":"List invoices","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/link-taps":{"get":{"operationId":"api.v1.me.link-taps","summary":"Taps per profile link, last 30 days","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/mcp-activity":{"get":{"operationId":"api.v1.me.mcp-activity","summary":"Recent activity of connected apps","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/notification-preferences":{"get":{"operationId":"api.v1.me.notification-preferences","summary":"Notification preferences","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"patch":{"operationId":"api.v1.me.notification-preferences.update","summary":"Update notification preferences","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/notification-settings":{"get":{"operationId":"api.v1.me.notification-settings","summary":"Email settings: publish_failed, approval_decided, weekly_digest","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"patch":{"operationId":"api.v1.me.notification-settings.update","summary":"Turn the publish_failed, approval_decided or weekly_digest email on or off","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/notifications":{"get":{"operationId":"api.v1.me.notifications","summary":"List notifications","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/notifications/read":{"post":{"operationId":"api.v1.me.notifications.read","summary":"Mark notifications read","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/onboarding":{"get":{"operationId":"api.v1.me.onboarding","summary":"Get started checklist: channel, draft, sent to a client, published","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/profile":{"get":{"operationId":"api.v1.me.profile.show","summary":"Your public profile settings","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"patch":{"operationId":"api.v1.me.profile.update","summary":"Update your public profile","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/profile/font":{"post":{"operationId":"api.v1.me.profile.font","summary":"Upload a profile font","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/report-settings":{"get":{"operationId":"api.v1.me.report-settings","summary":"Get Report emails settings (schedule, sender, per client)","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"patch":{"operationId":"api.v1.me.report-settings.update","summary":"Change Report emails settings","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/reports/shared":{"get":{"operationId":"api.v1.me.reports.shared","summary":"Reports shared with you","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"approvals:decide","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/sample-data":{"get":{"operationId":"api.v1.me.sample-data.show","summary":"Is there sample data on the account (new accounts start with some)","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.me.sample-data.destroy","summary":"Remove all sample data in one call","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/sessions":{"get":{"operationId":"api.v1.me.sessions.index","summary":"List signed-in devices","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.me.sessions.destroy-others","summary":"Sign out every other device","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/sessions/{key}":{"delete":{"operationId":"api.v1.me.sessions.destroy","summary":"Sign out one device","tags":["me"],"parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"20,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/social-settings":{"get":{"operationId":"api.v1.me.social-settings.show","summary":"Social settings","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"patch":{"operationId":"api.v1.me.social-settings.update","summary":"Update social settings","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/storage":{"get":{"operationId":"api.v1.me.storage","summary":"Storage usage","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/storage/scan":{"get":{"operationId":"api.v1.me.storage.scan","summary":"Scan storage for large or unused files","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/subscription":{"get":{"operationId":"api.v1.me.subscription","summary":"Your subscription","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/subscription/cancel":{"post":{"operationId":"api.v1.me.subscription.cancel","summary":"Cancel the subscription","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/subscription/change-preview":{"get":{"operationId":"api.v1.me.subscription.change-preview","summary":"Preview what a change of plan would charge (read-only)","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/subscription/checkout":{"post":{"operationId":"api.v1.me.subscription.checkout","summary":"Start a subscription checkout","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/subscription/portal":{"post":{"operationId":"api.v1.me.subscription.portal","summary":"Open the billing portal","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/subscription/seats":{"post":{"operationId":"api.v1.me.subscription.seats","summary":"Change the number of seats","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/me/tour":{"post":{"operationId":"api.v1.me.tour","summary":"Mark the dashboard tour as seen","tags":["me"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/openapi.json":{"get":{"operationId":"api.v1.openapi","summary":"This document (OpenAPI 3.1)","tags":["openapi.json"],"security":[],"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/plan/{token}":{"get":{"operationId":"api.v1.plan-links.show","summary":"Open a read-only Content Plan share link","tags":["plan"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/plans":{"get":{"operationId":"api.v1.plans","summary":"List the plans and their prices","tags":["plans"],"security":[],"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/profiles/{handle}":{"get":{"operationId":"api.v1.profiles.show","summary":"Public profile by handle","tags":["profiles"],"parameters":[{"name":"handle","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"300,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/profiles/{handle}/spaces/{slug}":{"get":{"operationId":"api.v1.profiles.spaces.show","summary":"Public Space on a profile","tags":["profiles"],"parameters":[{"name":"handle","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"300,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/profiles/{handle}/spaces/{slug}/archive":{"get":{"operationId":"api.v1.profiles.spaces.archive","summary":"Download a public Space as a ZIP","tags":["profiles"],"parameters":[{"name":"handle","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/profiles/{handle}/spaces/{slug}/items/{item}/download":{"get":{"operationId":"api.v1.profiles.spaces.download","summary":"Download one item of a public Space","tags":["profiles"],"parameters":[{"name":"handle","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"item","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/profiles/{handle}/spaces/{slug}/posts/{post}":{"get":{"operationId":"api.v1.profiles.spaces.posts.show","summary":"A published Blog post on a public Blog","tags":["profiles"],"parameters":[{"name":"handle","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}},{"name":"post","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"300,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/profiles/{handle}/spaces/{slug}/unlock":{"post":{"operationId":"api.v1.profiles.spaces.unlock","summary":"Unlock a password-protected Space","tags":["profiles"],"parameters":[{"name":"handle","in":"path","required":true,"schema":{"type":"string"}},{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/profiles/{handle}/taps":{"post":{"operationId":"api.v1.profiles.taps","summary":"Count a tap on a public profile link","tags":["profiles"],"parameters":[{"name":"handle","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"120,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/public/client-reports/{token}":{"get":{"operationId":"api.v1.public.client-reports.show","summary":"A client report by its share token (no sign-in)","tags":["public"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/public/domains/{host}":{"get":{"operationId":"api.v1.public.domains.show","summary":"The handle behind a verified custom domain","tags":["public"],"parameters":[{"name":"host","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"600,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/public/insight/{token}":{"get":{"operationId":"api.v1.public.insight.show","summary":"Open a shared Insight report (token link)","tags":["public"],"parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/public/report-page":{"post":{"operationId":"api.v1.public.report-page","summary":"Report a public page to the Creatif Space team (no sign-in)","tags":["public"],"security":[],"x-rate-limit":"5,10","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/referrals/{code}/click":{"post":{"operationId":"api.v1.referrals.click","summary":"Record a referral link click","tags":["referrals"],"parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-accounts":{"get":{"operationId":"api.v1.social-accounts.index","summary":"List connected channels","tags":["social-accounts"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","description":"Each channel also carries its last live check: health_status: \"ok\" | \"failed\" | null (null: not checked yet; failed whenever the channel cannot be posted to, e.g. disconnected), health_reason: string | null (why, in the owner's words), last_verified_at: ISO 8601 | null, needs_attention: boolean. Connected channels are checked right after they connect and once a day; a failed daily check emails the owner once (publish_failed switch). Removed channels are not listed.","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-accounts/auth-url":{"post":{"operationId":"api.v1.social-accounts.auth-url","summary":"Start connecting a channel","tags":["social-accounts"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-accounts/claim":{"post":{"operationId":"api.v1.social-accounts.claim","summary":"Claim a channel connected elsewhere","tags":["social-accounts"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-accounts/connect-status":{"get":{"operationId":"api.v1.social-accounts.connect-status","summary":"Status of a channel connection in progress","tags":["social-accounts"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-accounts/pending":{"get":{"operationId":"api.v1.social-accounts.pending","summary":"Channels waiting to be chosen after connecting","tags":["social-accounts"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"post":{"operationId":"api.v1.social-accounts.pending.finalize","summary":"Choose which pending channels to connect","tags":["social-accounts"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-accounts/sync":{"post":{"operationId":"api.v1.social-accounts.sync","summary":"Refresh connected channels","tags":["social-accounts"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-accounts/{socialAccount}":{"delete":{"operationId":"api.v1.social-accounts.destroy","summary":"Disconnect a channel, or remove a disconnected one","tags":["social-accounts"],"parameters":[{"name":"socialAccount","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"description":"Owner only. A connected channel is disconnected (it stays listed as disconnected). A disconnected channel (or one connected only through the provider before the move) is removed, even when the old provider cannot be reached: hidden from GET /social-accounts, its posts still to go lose it (a post aimed only there goes back to draft), its published history kept. Connecting the same account again brings it back. 204 either way; removing twice is a no-op.","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-accounts/{socialAccount}/client-labels":{"put":{"operationId":"api.v1.social-accounts.client-labels","summary":"Set the clients on one social account","tags":["social-accounts"],"parameters":[{"name":"socialAccount","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-accounts/{socialAccount}/feed":{"get":{"operationId":"api.v1.social-accounts.feed","summary":"A channel's recent posts and metrics","tags":["social-accounts"],"parameters":[{"name":"socialAccount","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-accounts/{socialAccount}/pinterest-boards":{"get":{"operationId":"api.v1.social-accounts.pinterest-boards","summary":"A Pinterest channel's boards","tags":["social-accounts"],"parameters":[{"name":"socialAccount","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-accounts/{socialAccount}/verify":{"post":{"operationId":"api.v1.social-accounts.verify","summary":"Check a channel still works","tags":["social-accounts"],"parameters":[{"name":"socialAccount","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"description":"Check now: one live, read-only check of a connected channel through the publishing relay. Nothing is posted. Answers {data: account}, the channel as GET /social-accounts lists it (health_status, health_reason, last_verified_at). 429 {reason: \"too_soon\", retry_after} more than once a minute per channel; 409 {reason: \"not_connected\"} for a channel that is not connected; 503 {reason: \"upstream_unavailable\"} when the relay did not answer (the last result is kept).","x-rate-limit":"20,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-approval-links":{"get":{"operationId":"api.v1.social-approval-links.index","summary":"List approval links and Content Plans","tags":["social-approval-links"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"post":{"operationId":"api.v1.social-approval-links.store","summary":"Create an approval link or Content Plan","tags":["social-approval-links"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"approve","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-approval-links/{socialApprovalLink}":{"get":{"operationId":"api.v1.social-approval-links.show","summary":"One approval link with its posts","tags":["social-approval-links"],"parameters":[{"name":"socialApprovalLink","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"patch":{"operationId":"api.v1.social-approval-links.update","summary":"Update an approval link (title, approver, expiry, scope, reminders)","tags":["social-approval-links"],"parameters":[{"name":"socialApprovalLink","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.social-approval-links.destroy","summary":"Revoke an approval link","tags":["social-approval-links"],"parameters":[{"name":"socialApprovalLink","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"approve","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-approval-links/{socialApprovalLink}/approve":{"post":{"operationId":"api.v1.social-approval-links.approve","summary":"Approve a link's posts as the owner","tags":["social-approval-links"],"parameters":[{"name":"socialApprovalLink","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-approval-links/{socialApprovalLink}/audit.csv":{"get":{"operationId":"api.v1.social-approval-links.audit","summary":"Approval audit as CSV (who, what, when, decision, comment)","tags":["social-approval-links"],"parameters":[{"name":"socialApprovalLink","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-approval-links/{socialApprovalLink}/calendar":{"get":{"operationId":"api.v1.social-approval-links.calendar.show","summary":"A Content Plan calendar feed URL","tags":["social-approval-links"],"parameters":[{"name":"socialApprovalLink","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"post":{"operationId":"api.v1.social-approval-links.calendar.store","summary":"Turn a Content Plan calendar feed back on, or give it a new URL","tags":["social-approval-links"],"parameters":[{"name":"socialApprovalLink","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.social-approval-links.calendar.destroy","summary":"Turn off a Content Plan calendar feed","tags":["social-approval-links"],"parameters":[{"name":"socialApprovalLink","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-approval-links/{socialApprovalLink}/remind":{"post":{"operationId":"api.v1.social-approval-links.remind","summary":"Send the approver a reminder now","tags":["social-approval-links"],"parameters":[{"name":"socialApprovalLink","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"approve","x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-captions/assist":{"post":{"operationId":"api.v1.social-captions.assist","summary":"Caption help (hashtags, rewrite)","tags":["social-captions"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"20,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-comments/{socialPostComment}/apply":{"post":{"operationId":"api.v1.social-comments.apply","summary":"Apply a comment's suggested caption","tags":["social-comments"],"parameters":[{"name":"socialPostComment","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-comments/{socialPostComment}/resolve":{"post":{"operationId":"api.v1.social-comments.resolve","summary":"Resolve a comment","tags":["social-comments"],"parameters":[{"name":"socialPostComment","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-plan-links":{"get":{"operationId":"api.v1.social-plan-links.index","summary":"List read-only Content Plan share links","tags":["social-plan-links"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"post":{"operationId":"api.v1.social-plan-links.store","summary":"Create a read-only Content Plan share link","tags":["social-plan-links"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-plan-links/{socialPlanLink}":{"delete":{"operationId":"api.v1.social-plan-links.destroy","summary":"Revoke a Content Plan share link","tags":["social-plan-links"],"parameters":[{"name":"socialPlanLink","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts":{"get":{"operationId":"api.v1.social-posts.index","summary":"List posts","tags":["social-posts"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"post":{"operationId":"api.v1.social-posts.store","summary":"Create a post (draft, scheduled or held for approval)","tags":["social-posts"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/send-batch":{"post":{"operationId":"api.v1.social-posts.send-batch","summary":"Schedule up to 10 drafts, all or none","tags":["social-posts"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"publish","x-rate-limit":"10,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/swap":{"post":{"operationId":"api.v1.social-posts.swap","summary":"Swap two posts' slots","tags":["social-posts"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/{socialPost}":{"get":{"operationId":"api.v1.social-posts.show","summary":"One post","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"patch":{"operationId":"api.v1.social-posts.update","summary":"Update a post","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.social-posts.destroy","summary":"Delete a post","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/{socialPost}/approval-audit":{"get":{"operationId":"api.v1.social-posts.approval-audit","summary":"Every approval decision on a post (approver email masked)","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/{socialPost}/approval-link":{"get":{"operationId":"api.v1.social-posts.approval-link","summary":"The approval link a post is on","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/{socialPost}/approve":{"post":{"operationId":"api.v1.social-posts.approve","summary":"Approve a post held for the editor","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/{socialPost}/auto-dm":{"get":{"operationId":"api.v1.social-posts.auto-dm","summary":"Auto DM on comment: the post's rule and how many DMs it sent","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"put":{"operationId":"api.v1.social-posts.auto-dm.update","summary":"Auto DM on comment: set the keyword and DM (Pro/Max; 100 or 300 Credits a DM)","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.social-posts.auto-dm.destroy","summary":"Auto DM on comment: turn it off for the post","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/{socialPost}/comments":{"get":{"operationId":"api.v1.social-posts.comments.index","summary":"List a post's comments","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"post":{"operationId":"api.v1.social-posts.comments.store","summary":"Comment on a post","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/{socialPost}/draft":{"delete":{"operationId":"api.v1.social-posts.discard","summary":"Turn a post back into a draft","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/{socialPost}/metrics":{"get":{"operationId":"api.v1.social-posts.metrics","summary":"A published post's reach, views and engagement per account (Pro and Max)","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/{socialPost}/retry":{"post":{"operationId":"api.v1.social-posts.retry","summary":"Retry the failed destinations of a post (409 not_failed when none failed)","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"publish","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/{socialPost}/retry-preview":{"get":{"operationId":"api.v1.social-posts.retry-preview","summary":"Preview retrying a failed publish: why each destination failed, and the price","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/{socialPost}/review":{"post":{"operationId":"api.v1.social-posts.review","summary":"Show or hide a draft on Content Plans","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/{socialPost}/send":{"post":{"operationId":"api.v1.social-posts.send","summary":"Send or schedule a post","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"publish","x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/{socialPost}/send-preview":{"get":{"operationId":"api.v1.social-posts.send-preview","summary":"Preview what sending a post costs and does","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/social-posts/{socialPost}/spaces":{"put":{"operationId":"api.v1.social-posts.spaces","summary":"Set the Galleries / Blogs a social post also goes into when published","tags":["social-posts"],"parameters":[{"name":"socialPost","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/spaces":{"get":{"operationId":"api.v1.spaces.index","summary":"List Spaces","tags":["spaces"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"post":{"operationId":"api.v1.spaces.store","summary":"Create a Space","tags":["spaces"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/spaces/{space}":{"get":{"operationId":"api.v1.spaces.show","summary":"One Space","tags":["spaces"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"patch":{"operationId":"api.v1.spaces.update","summary":"Update a Space","tags":["spaces"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.spaces.destroy","summary":"Delete a Space","tags":["spaces"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/spaces/{space}/archive":{"post":{"operationId":"api.v1.spaces.archive","summary":"Archive a Space","tags":["spaces"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/spaces/{space}/duplicate":{"post":{"operationId":"api.v1.spaces.duplicate","summary":"Duplicate a Space","tags":["spaces"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/spaces/{space}/events":{"post":{"operationId":"api.v1.spaces.events","summary":"Record a Space view or download event","tags":["spaces"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string"}}],"security":[],"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/spaces/{space}/items":{"post":{"operationId":"api.v1.spaces.items.store","summary":"Add items to a Space","tags":["spaces"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/spaces/{space}/posts":{"get":{"operationId":"api.v1.spaces.posts.index","summary":"List a Blog's posts","tags":["spaces"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"120,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"post":{"operationId":"api.v1.spaces.posts.store","summary":"Write a new Blog post (draft)","tags":["spaces"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"draft","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/spaces/{space}/publish":{"post":{"operationId":"api.v1.spaces.publish","summary":"Publish a Space","tags":["spaces"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"publish","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/spaces/{space}/publish-preview":{"get":{"operationId":"api.v1.spaces.publish-preview","summary":"Preview publishing a Space","tags":["spaces"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":"read","x-rate-limit":"60,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/spaces/{space}/reactivate":{"post":{"operationId":"api.v1.spaces.reactivate","summary":"Reactivate an archived Space","tags":["spaces"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/spaces/{space}/unpublish":{"post":{"operationId":"api.v1.spaces.unpublish","summary":"Unpublish a Space","tags":["spaces"],"parameters":[{"name":"space","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/team/members":{"get":{"operationId":"api.v1.team.index","summary":"List team members","tags":["team"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"post":{"operationId":"api.v1.team.store","summary":"Invite a team member","tags":["team"],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"x-rate-limit":"20,1","responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/team/members/{teamMember}":{"patch":{"operationId":"api.v1.team.update","summary":"Change a team member's role","tags":["team"],"parameters":[{"name":"teamMember","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}},"delete":{"operationId":"api.v1.team.destroy","summary":"Remove a team member","tags":["team"],"parameters":[{"name":"teamMember","in":"path","required":true,"schema":{"type":"string"}}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"x-token-scope":null,"responses":{"2XX":{"description":"Success"},"401":{"description":"Not signed in, or the token is invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Not allowed (e.g. token without the scope)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/waitlist":{"post":{"operationId":"api.v1.waitlist.join","summary":"Join the waitlist","tags":["waitlist"],"security":[],"x-rate-limit":"5,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/waitlist/confirm":{"get":{"operationId":"api.v1.waitlist.confirm","summary":"Confirm a waitlist email","tags":["waitlist"],"security":[],"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}},"/waitlist/status":{"get":{"operationId":"api.v1.waitlist.status","summary":"Waitlist position","tags":["waitlist"],"security":[],"x-rate-limit":"30,1","responses":{"2XX":{"description":"Success"},"404":{"description":"Not found (another workspace\u2019s id is 404 too)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited; retry_after says when to try again","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"Retry-After":{"$ref":"#/components/headers/Retry-After"}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"API key (Settings \u2192 API keys) or OAuth access token"},"sessionCookie":{"type":"apiKey","in":"cookie","name":"creatif-space-session","description":"The app session (first-party only)"}},"headers":{"X-RateLimit-Limit":{"description":"Requests allowed in the window of the limit that applies","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the window (0 on a 429)","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before trying again","schema":{"type":"integer"}}},"schemas":{"Error":{"type":"object","required":["message"],"properties":{"message":{"type":"string"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"retry_after":{"type":"integer"}}}}}}