ReelDrop Auth API
The auth API from ReelDrop — 2 operation(s) for auth.
The auth API from ReelDrop — 2 operation(s) for auth.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/reeldrop-io:reeldrop-io-auth-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: ReelDrop Auth API
version: 0.1.0
tags:
- name: Auth
paths:
/auth/me:
get:
tags:
- Auth
summary: Me
description: 'Returns the current user + their personal workspace.
JIT-provisions both if this is their very first API call.
Frontend calls this immediately after Clerk sign-in/sign-up.'
operationId: me_auth_me_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/MeOut'
security:
- HTTPBearer: []
delete:
tags:
- Auth
summary: Delete Account Endpoint
description: 'Permanently delete the signed-in account — the Settings danger-zone action.
Order matters. The cascade runs first and the Clerk user is deleted second,
so a failure in the middle leaves the account still signed-in-able and
retryable rather than orphaned: a live Clerk user with no data is
recoverable, a deleted Clerk user with live Instagram tokens is not.'
operationId: delete_account_endpoint_auth_me_delete
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteAccountRequest'
required: true
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
patch:
tags:
- Auth
summary: Update Me
description: 'Update the user''s onboarding profile (name, role, niches, referral source).
Name is also written to Clerk by the client before this call — Clerk is the
source of truth for display name everywhere else, and the `user.updated`
webhook copies Clerk → Mongo unconditionally. Writing both keeps the two
stores holding the same value, so that echoing webhook is a harmless no-op
instead of a silent revert.'
operationId: update_me_auth_me_patch
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MeUpdate'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/MeOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/auth/attribution:
post:
tags:
- Auth
summary: Set Attribution
description: 'Persist the referral token captured pre-signup (localStorage / rd_ref or
rd_uref cookie, pushed by ReferralAttribution after sign-in).
First-touch wins and is server-enforced across both programs: once either
`referred_by_creator` or `referred_by_user_id` is set, neither is ever
overwritten. Replays and later clicks on other links are harmless no-ops
(204 either way — idempotent by design).'
operationId: set_attribution_auth_attribution_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AttributionRequest'
required: true
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
components:
schemas:
MeOut:
properties:
clerk_id:
type: string
title: Clerk Id
email:
type: string
title: Email
name:
anyOf:
- type: string
- type: 'null'
title: Name
avatar_url:
anyOf:
- type: string
- type: 'null'
title: Avatar Url
role:
anyOf:
- type: string
- type: 'null'
title: Role
niches:
items:
type: string
type: array
title: Niches
default: []
referral_source:
anyOf:
- type: string
- type: 'null'
title: Referral Source
onboarding_completed_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Onboarding Completed At
email_ig_disconnected:
type: boolean
title: Email Ig Disconnected
default: true
email_publish_failed:
type: boolean
title: Email Publish Failed
default: true
email_weekly_digest:
type: boolean
title: Email Weekly Digest
default: true
email_monthly_digest:
type: boolean
title: Email Monthly Digest
default: true
email_product_updates:
type: boolean
title: Email Product Updates
default: true
email_referral_updates:
type: boolean
title: Email Referral Updates
default: true
email_plan_nudges:
type: boolean
title: Email Plan Nudges
default: true
email_milestones:
type: boolean
title: Email Milestones
default: true
referral_promo_seen:
type: integer
title: Referral Promo Seen
default: 0
admin_bootstrap:
type: boolean
title: Admin Bootstrap
default: false
personal_workspace:
$ref: '#/components/schemas/routers__auth__WorkspaceOut'
default_workspace_id:
anyOf:
- type: string
- type: 'null'
title: Default Workspace Id
created_at:
type: string
format: date-time
title: Created At
type: object
required:
- clerk_id
- email
- name
- avatar_url
- personal_workspace
- created_at
title: MeOut
MeUpdate:
properties:
name:
anyOf:
- type: string
- type: 'null'
title: Name
role:
anyOf:
- $ref: '#/components/schemas/OnboardingRole'
- type: 'null'
niches:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Niches
referral_source:
anyOf:
- $ref: '#/components/schemas/ReferralSource'
- type: 'null'
email_ig_disconnected:
anyOf:
- type: boolean
- type: 'null'
title: Email Ig Disconnected
email_publish_failed:
anyOf:
- type: boolean
- type: 'null'
title: Email Publish Failed
email_weekly_digest:
anyOf:
- type: boolean
- type: 'null'
title: Email Weekly Digest
email_monthly_digest:
anyOf:
- type: boolean
- type: 'null'
title: Email Monthly Digest
email_product_updates:
anyOf:
- type: boolean
- type: 'null'
title: Email Product Updates
email_referral_updates:
anyOf:
- type: boolean
- type: 'null'
title: Email Referral Updates
email_plan_nudges:
anyOf:
- type: boolean
- type: 'null'
title: Email Plan Nudges
email_milestones:
anyOf:
- type: boolean
- type: 'null'
title: Email Milestones
complete_onboarding:
type: boolean
title: Complete Onboarding
default: false
type: object
title: MeUpdate
description: 'Partial profile update. Used by both the onboarding modal and the
"About you" section of Settings — the only difference is that Settings
omits `complete_onboarding`.'
routers__auth__WorkspaceOut:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
slug:
type: string
title: Slug
plan:
$ref: '#/components/schemas/WorkspacePlan'
personal:
type: boolean
title: Personal
avatar_url:
anyOf:
- type: string
- type: 'null'
title: Avatar Url
hook_photo_url:
anyOf:
- type: string
- type: 'null'
title: Hook Photo Url
type: object
required:
- id
- name
- slug
- plan
- personal
- avatar_url
title: WorkspaceOut
WorkspacePlan:
type: string
enum:
- starter
- influencer
- creator
title: WorkspacePlan
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
AttributionRequest:
properties:
ref:
anyOf:
- type: string
- type: 'null'
title: Ref
uref:
anyOf:
- type: string
- type: 'null'
title: Uref
utm:
additionalProperties:
type: string
type: object
title: Utm
default: {}
type: object
title: AttributionRequest
OnboardingRole:
type: string
enum:
- creator
- influencer
- founder
- marketer
- agency
- coach
- business_owner
- student
- freelancer
- other
title: OnboardingRole
description: What the user does. Single-select.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
ReferralSource:
type: string
enum:
- instagram
- youtube
- tiktok
- linkedin
- x
- reddit
- google
- friend
- newsletter
- podcast
- ad
- other
title: ReferralSource
description: How the user found ReelDrop. Optional.
DeleteAccountRequest:
properties:
confirmation:
type: string
title: Confirmation
type: object
required:
- confirmation
title: DeleteAccountRequest
description: 'Typed confirmation, echoed from the danger-zone modal.
Checked server-side as well as in the UI so that neither a stray client
call nor a hand-rolled request can delete an account without the user
having spelled out what they were doing.'
securitySchemes:
HTTPBearer:
type: http
scheme: bearer