ADMI ENTERPRISES s.r.o. Tags API
Labels such as a campaign, client or topic, for filtering posts; and short links through the workspace's own shortener.
Labels such as a campaign, client or topic, for filtering posts; and short links through the workspace's own shortener.
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/preflight-social:preflight-social-tags-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: Preflight Tags API
version: 2026.10.24
summary: Schedule, validate and publish social media posts to twelve networks.
description: 'Preflight (preflight.social) is a social media scheduler that checks every post against each network''s real publishing rules before it leaves. This is its REST API: upload a file, create and schedule a post to YouTube, TikTok, Instagram, Facebook, Threads, LinkedIn, Pinterest, Bluesky, Mastodon, Telegram, Discord and Tumblr, read its figures, act on comments, edit or take it down. The same workspace is reachable by AI assistants over MCP at https://preflight.social/mcp. Prose documentation: https://preflight.social/documentation. API keys, webhooks and the MCP server come with every plan, Free included.'
termsOfService: https://preflight.social/terms
contact:
name: Preflight
url: https://preflight.social
email: info@preflight.social
servers:
- url: https://preflight.social/v1
security:
- apiKey: []
tags:
- name: Tags
description: Labels such as a campaign, client or topic, for filtering posts; and short links through the workspace's own shortener.
paths:
/workspace/tags:
get:
tags:
- Tags
operationId: listTags
summary: The workspace's tags
description: By name, each with how many posts carry it. Scope posts:read.
responses:
'200':
description: Tags.
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Tag'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
post:
tags:
- Tags
operationId: createTag
summary: Make a tag
description: A name that exists already returns that tag. Without a colour it takes the next one in turn. Scope posts:write.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
properties:
name:
type: string
minLength: 1
maxLength: 40
color:
type: string
pattern: ^#[0-9a-fA-F]{6}$
responses:
'201':
description: The tag.
content:
application/json:
schema:
$ref: '#/components/schemas/Tag'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'409':
description: 'limit_reached: the workspace already keeps 200 tags.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/workspace/tags/{id}:
parameters:
- name: id
in: path
required: true
schema:
type: string
format: uuid
patch:
tags:
- Tags
operationId: updateTag
summary: Rename or recolour a tag
description: Scope posts:write.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
minLength: 1
maxLength: 40
color:
type: string
pattern: ^#[0-9a-fA-F]{6}$
responses:
'200':
description: The tag.
content:
application/json:
schema:
$ref: '#/components/schemas/Tag'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
description: 'name_taken: another tag has that name.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
delete:
tags:
- Tags
operationId: deleteTag
summary: Delete a tag
description: Takes it off every post that had it; the posts stay as they are. Scope posts:write.
responses:
'204':
description: Deleted.
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
/workspace/shortener/shorten:
post:
tags:
- Tags
operationId: shortenLinks
summary: Make the links in a text short with the workspace's own shortener
description: Through the Dub, Short.io or Kutt account connected in Settings, with its key. A link already on the short domain is left alone; one the shortener refuses stays long and is listed in failed. Up to 20 links. Scope posts:write. 409 no_shortener when none is connected.
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- text
properties:
text:
type: string
maxLength: 64000
responses:
'200':
description: The text rewritten.
content:
application/json:
schema:
type: object
properties:
text:
type: string
links:
type: array
items:
type: object
properties:
from:
type: string
to:
type: string
failed:
type: array
items:
type: object
properties:
url:
type: string
reason:
type: string
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'409':
description: no_shortener.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
responses:
BadRequest:
description: The body did not validate (invalid_request; field says which).
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: No such post, file or account in this workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing, expired or unrecognised key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Forbidden:
description: The key lacks the scope for this call.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
ValidationIssue:
type: object
required:
- severity
- message
properties:
platform:
$ref: '#/components/schemas/Platform'
description: Absent for a problem with the post as a whole, such as a file.
severity:
type: string
enum:
- error
- warning
message:
type: string
code:
type: string
description: 'For a plan limit: post_limit, upload_limit or channel_limit.'
Tag:
type: object
properties:
id:
type: string
format: uuid
name:
type: string
color:
type: string
pattern: ^#[0-9a-fA-F]{6}$
posts:
type: integer
description: How many posts carry it. Only in the list.
Platform:
type: string
enum:
- youtube
- tiktok
- instagram
- facebook
- threads
- twitter
- linkedin
- pinterest
- bluesky
- mastodon
- telegram
- discord
- tumblr
description: A network's name. twitter (X) is text-only and not offered to new accounts.
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
description: 'Stable: invalid_request, unauthorized, forbidden, not_found, post_limit, upload_limit, file_too_large, channel_limit, api_not_on_plan, ai_limit, ai_daily_limit, ai_not_in_plan, account_not_connected, media_unusable, already_started, targets_locked, in_flight, nothing_to_retry, nothing_waiting, unsupported, not_published, in_use, video_on_youtube, payload_too_large, validation_failed, ai_declined, rate_limited, ai_unavailable.'
message:
type: string
description: Meant to be read by a person.
field:
type: string
description: 'For invalid_request: which field.'
limit:
type: integer
description: 'For a plan refusal: the allowance.'
upgradeTo:
type: string
description: 'For a plan refusal: the first plan that would allow it.'
issues:
type: array
items:
$ref: '#/components/schemas/ValidationIssue'
description: For validation_failed.
securitySchemes:
apiKey:
type: http
scheme: bearer
bearerFormat: sk_live_…
description: 'An API key from Settings → API keys (every plan). Scopes: posts:read, posts:write (drafts), posts:publish (anything that goes live), media:read, media:write, webhooks:read, webhooks:write, or * for everything. A missing scope answers 403 forbidden and names it.'
externalDocs:
description: Documentation
url: https://preflight.social/documentation