dystro-dev Accounts API
The accounts API from dystro-dev — 17 operation(s) for accounts.
The accounts API from dystro-dev — 17 operation(s) for accounts.
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/dystro-dev:dystro-dev-accounts-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. 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: Dystro Dev Accounts API
version: 1.0.0
description: 'Operations tagged accounts across 2 of this provider''s published API definitions: dystro-dev-openapi.json, dystro-dev-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://lovable-anaconda-804.convex.site
security:
- bearerAuth: []
tags:
- name: Accounts
paths:
/v1/twitter/bookmarks:
get:
operationId: twitter_list_bookmarks
summary: List a connected X account’s own bookmarks (accountId, limit 1–100 default 20…
tags:
- Accounts
x-required-scope: accounts:read
description: 'Query: accountId (required), limit (integer 1–100, default 20), cursor (optional opaque token), folderId (optional X bookmark folder id; hydrates ids via GET /2/tweets, two billable reads at approximately $0.010 per bookmark). Requires accounts:read. Accounts connected before this change must reconnect to grant bookmark.read. X bills approximately $0.005 per bookmark returned.'
responses:
'200':
description: Object with bookmarks[] (id, text, createdAt, url, nullable author, metrics, media[]) and nextCursor (string or null at the end). Missing metrics are zero; missing profile/media URLs are null.
'400':
description: Invalid limit/accountId or DY_UNSUPPORTED_PLATFORM for a non-X account
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: 'Missing accounts:read or dystro_auth_scope_missing with missing_scopes: ["bookmark.read"]'
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'404':
description: Account not found in this organization
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/twitter/bookmarks/folders:
get:
operationId: twitter_list_bookmark_folders
summary: List the account’s X bookmark folders (accountId, limit 1–100 default 50…
tags:
- Accounts
x-required-scope: accounts:read
description: 'Query: accountId (required), limit (integer 1–100, default 50), cursor (optional opaque token). Requires accounts:read and bookmark.read. Lists the account’s X bookmark folders; meters approximately $0.005 per folder as a conservative upper bound. X limits folder endpoints to 50 requests per 15 minutes per user.'
responses:
'200':
description: Object with folders[] ({ id, name }) and nextCursor (string or null, including when X omits meta).
'400':
description: Invalid limit/accountId or DY_UNSUPPORTED_PLATFORM for a non-X account
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: 'Missing accounts:read or dystro_auth_scope_missing with missing_scopes: ["bookmark.read"]'
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'404':
description: Account not found in this organization
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/accounts/connect:
post:
operationId: accounts_connect
summary: Start a sandbox or hosted OAuth account connection
tags:
- Accounts
x-required-scope: accounts:write
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the accounts:write scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/accounts:
get:
operationId: accounts_list
summary: List connected accounts for a project.
tags:
- Accounts
x-required-scope: accounts:read
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the accounts:read scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/accounts/health:
get:
operationId: accounts_health
summary: Get connector health for every account in a project
tags:
- Accounts
x-required-scope: accounts:read
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the accounts:read scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/accounts/follower-stats:
get:
operationId: accounts_follower_stats
summary: Get the latest follower metric for each account in a project
tags:
- Accounts
x-required-scope: analytics:read
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the analytics:read scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/accounts/{accountId}:
get:
operationId: accounts_get
summary: Get one connected account with credentials redacted
tags:
- Accounts
x-required-scope: accounts:read
parameters:
- name: accountId
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the accounts:read scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
patch:
operationId: accounts_update
summary: Update a connected account display name
tags:
- Accounts
x-required-scope: accounts:write
parameters:
- name: accountId
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the accounts:write scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
delete:
operationId: accounts_disconnect
summary: Disconnect a connected social account
tags:
- Accounts
x-required-scope: accounts:write
parameters:
- name: accountId
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the accounts:write scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/accounts/{accountId}/reconnect:
post:
operationId: accounts_reconnect
summary: Start a fresh OAuth connection for a connected account
tags:
- Accounts
x-required-scope: accounts:write
parameters:
- name: accountId
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the accounts:write scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/accounts/{accountId}/health:
get:
operationId: accounts_get_health
summary: Get token expiry and recent delivery health for one account
tags:
- Accounts
x-required-scope: accounts:read
parameters:
- name: accountId
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the accounts:read scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/accounts/{accountId}/subresources:
get:
operationId: accounts_list_subresources
summary: List pages or channels available to a connected account
tags:
- Accounts
x-required-scope: accounts:read
parameters:
- name: accountId
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the accounts:read scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/accounts/{accountId}/subresource:
put:
operationId: accounts_select_subresource
summary: Select the page or channel used by a connected account
tags:
- Accounts
x-required-scope: accounts:write
parameters:
- name: accountId
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the accounts:write scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/accounts/{accountId}/youtube-playlists:
get:
operationId: accounts_list_youtube_playlists
summary: List YouTube playlists, including private playlists, and the stored default
tags:
- Accounts
x-required-scope: accounts:read
parameters:
- name: accountId
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the accounts:read scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
put:
operationId: accounts_select_youtube_playlist
summary: Store defaultPlaylistId (non-empty) and optional defaultPlaylistName for YouTube
tags:
- Accounts
x-required-scope: accounts:write
parameters:
- name: accountId
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the accounts:write scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/accounts/{accountId}/analytics:
get:
operationId: accounts_get_analytics
summary: Get daily analytics snapshots for a connected account
tags:
- Accounts
x-required-scope: analytics:read
parameters:
- name: accountId
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the analytics:read scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/projects/{projectId}/analytics:
get:
operationId: projects_get_analytics
summary: Get daily analytics aggregated across a project
tags:
- Accounts
x-required-scope: analytics:read
parameters:
- name: projectId
in: path
required: true
schema:
type: string
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
'403':
description: Missing the analytics:read scope
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/sandbox/accounts/connect:
post:
operationId: sandbox_accounts_connect
summary: Connect a sandbox account to a project
tags:
- Accounts
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/sandbox/inject:
post:
operationId: sandbox_inject
summary: Inject a synthetic interaction into a sandbox account
tags:
- Accounts
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
/v1/sandbox/inject-failure:
post:
operationId: sandbox_inject_failure
summary: Make the next sandbox publish fail with a structured error
tags:
- Accounts
responses:
'200':
description: OK
'401':
description: Missing or invalid bearer token
content:
application/json:
schema:
type: object
properties:
error:
$ref: '#/components/schemas/ErrorEnvelope'
servers:
- url: https://lovable-anaconda-804.convex.site
components:
schemas:
ErrorEnvelope:
type: object
properties:
code:
type: string
human_message:
type: string
remediation:
type: string
retry_strategy:
type: string
enum:
- none
- immediate
- backoff
- manual
retry_after_ms:
type: number
trace_id:
type: string
cause:
type: string
violations:
type: array
items:
type: object
properties:
platform:
type: string
code:
type: string
rule:
type: string
message:
type: string
required:
- code
- human_message
- remediation
- retry_strategy
- trace_id
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Org-wide API key from Settings → API keys, or an OAuth 2.1 access token from "Sign in with Dystro". The project is a per-call argument, not part of the credential.
x-refined-from:
- dystro-dev-openapi.json
- dystro-dev-openapi.json