Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Agent C Auth API
description: AI COO platform — Jarvis Jr. manages your social media content.
version: 0.1.0
tags:
- name: Auth
paths:
/v1/auth/onboard:
post:
tags:
- Auth
summary: Onboard User
description: 'Called once after Firebase signup to create the user + workspace in Postgres.
Requires a valid Firebase token in the Authorization header.'
operationId: onboard_user_v1_auth_onboard_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UserCreate'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/UserRead'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/v1/me:
get:
tags:
- Auth
summary: Get Me
description: 'Returns the current user''s profile + workspace details.
This is the first call the dashboard makes after login.
Freemium invariant (2026-06-20): free is the DEFAULT state — there is no
walled state. Legacy pre-freemium workspaces can still carry
status="pending_payment" (created before the pivot, never paid) or
"churned" (sub ended); both used to dead-end users on /choose-plan with
no way into the free tier (the client guard bounced the "keep using
free" link straight back). Normalize them to free/active lazily here —
/me is the dashboard''s first call, so the account self-heals on login.
past_due is left alone (Stripe is still retrying; the client guard keeps
the dashboard accessible for it).'
operationId: get_me_v1_me_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
title: Response Get Me V1 Me Get
security:
- HTTPBearer: []
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
UserCreate:
properties:
email:
type: string
title: Email
display_name:
anyOf:
- type: string
- type: 'null'
title: Display Name
workspace_name:
type: string
title: Workspace Name
type: object
required:
- email
- workspace_name
title: UserCreate
description: Used during onboarding — creates user + workspace.
UserRead:
properties:
id:
type: string
format: uuid
title: Id
uid:
type: string
title: Uid
email:
type: string
title: Email
display_name:
anyOf:
- type: string
- type: 'null'
title: Display Name
avatar_url:
anyOf:
- type: string
- type: 'null'
title: Avatar Url
workspace_id:
type: string
format: uuid
title: Workspace Id
role:
type: string
title: Role
created_at:
type: string
format: date-time
title: Created At
type: object
required:
- id
- uid
- email
- display_name
- avatar_url
- workspace_id
- role
- created_at
title: UserRead
securitySchemes:
HTTPBearer:
type: http
scheme: bearer