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: Oli by Thommidhi Plans API
version: 0.1.0
description: Clarity for your next creative move. Bring your ideas, brand offers and work plans into the AI assistant you already use. Never returns YouTube data.
contact:
email: hello@thommidhi.com
servers:
- url: https://thommidhi.com/api/v1
tags:
- name: Plans
paths:
/plans:
post:
operationId: save_work_plan
summary: Save a plan
description: 'Saves a plan the creator agreed in this conversation: title, concept, format, language, shoot and due dates and tasks, optionally linked to a deal. It appears in their Thommidhi Lab.'
security:
- bearer: []
- oauth:
- deals:write
x-oli-scope: deals:write
responses:
'201':
description: OK
content:
application/json:
schema:
type: object
properties:
data: {}
'400':
$ref: '#/components/responses/Error'
'401':
$ref: '#/components/responses/Error'
'403':
$ref: '#/components/responses/Error'
'429':
$ref: '#/components/responses/Error'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
title:
type: string
description: A short working title.
concept:
type: string
description: The idea in two or three sentences.
format:
type: string
description: e.g. long video, Short, Reel.
language:
type: string
description: Language of the video.
shoot_on:
type: string
description: Shoot date, YYYY-MM-DD.
due_on:
type: string
description: Publish or delivery date, YYYY-MM-DD.
tasks:
type: array
items:
type: string
maxLength: 300
maxItems: 12
description: Steps, in order, one short line each.
deal_id:
type: string
description: The id of the deal this plan is for, as returned when the deal was listed or saved.
required:
- title
additionalProperties: false
tags:
- Plans
components:
responses:
Error:
description: An error
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
type:
type: string
message:
type: string
request_id:
type: string
securitySchemes:
bearer:
type: http
scheme: bearer
description: A personal access key (oli_sk_…) made in your Lab, or an OAuth access token.
oauth:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://thommidhi.com/oauth/authorize
tokenUrl: https://thommidhi.com/oauth/token
refreshUrl: https://thommidhi.com/oauth/token
scopes:
profile:read: Your creator profile
terms:read: Your terms for brand work
deals:read: Your deals and plans
briefs:read: Paid briefs open to you
deals:write: Save deals and plans
terms:write: Update your terms
description: PKCE (S256) required. Access tokens last 60 minutes; refresh tokens rotate.