PostQuest Posts API
Create and manage workspace posts and destination results.
Create and manage workspace posts and destination results.
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/post-quest-com:post-quest-com-posts-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: Post Quest Com Posts API
version: 1.0.0
contact:
name: PostQuest Support
email: support@post-quest.com
license:
name: Proprietary
description: 'Operations tagged Posts across 2 of this provider''s published API definitions: openapi.yaml, post-quest-com-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.post-quest.com/v1
description: Production
security:
- bearerAuth: []
tags:
- name: Posts
description: Create and manage workspace posts and destination results.
paths:
/posts:
get:
tags:
- Posts
operationId: listPosts
summary: List posts
description: Requires `posts:read`. Bare filter dates use the workspace timezone.
parameters:
- name: status
in: query
schema:
$ref: '#/components/schemas/PostStatus'
- name: platform
in: query
schema:
$ref: '#/components/schemas/Platform'
- name: from
in: query
description: Date or ISO-8601 date-time. A bare date begins in the workspace timezone.
schema:
type: string
examples:
- '2026-10-10'
- name: to
in: query
description: Date or ISO-8601 date-time. A bare date includes the whole workspace-local day.
schema:
type: string
examples:
- '2026-10-31'
- $ref: '#/components/parameters/Limit'
- $ref: '#/components/parameters/Offset'
responses:
'200':
description: Offset-paginated posts ordered by latest update.
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/PostListResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/BillingRequired'
'403':
$ref: '#/components/responses/Forbidden'
'422':
$ref: '#/components/responses/ValidationFailed'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
post:
tags:
- Posts
operationId: createPost
summary: Create a post
description: 'Requires `posts:write`. Creation defaults to a draft. Set `is_draft` to
`false` and provide an offset-aware `scheduled_at` to schedule. Immediate
publishing also requires `publish:now`, workspace opt-in, `is_draft: false`,
and `publish_now: true`.'
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreatePostInput'
examples:
draft:
summary: Create a draft for two destinations
value:
caption: A reusable automation draft.
social_account_ids:
- 0195f3a2-6b1c-7d4e-9a10-3c5b7e2f8a01
- 0195f3a2-6b1c-7d4e-9a10-3c5b7e2f8a02
media_ids:
- 0195f3a2-7c20-7a11-8b3d-5e6f7a8b9c44
scheduled:
summary: Schedule with an explicit timezone offset
value:
caption: Scheduled from an automation.
social_account_ids:
- 0195f3a2-6b1c-7d4e-9a10-3c5b7e2f8a01
is_draft: false
scheduled_at: '2026-10-15T09:00:00+08:00'
responses:
'201':
description: Post created.
headers:
Idempotent-Replayed:
$ref: '#/components/headers/IdempotentReplayed'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/PostResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/BillingRequired'
'403':
$ref: '#/components/responses/Forbidden'
'409':
$ref: '#/components/responses/Conflict'
'422':
$ref: '#/components/responses/ValidationFailed'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
x-codeSamples:
- lang: Shell
label: cURL
source: "curl --request POST 'https://api.post-quest.com/v1/posts' \\\n --header 'Authorization: Bearer pq_live_REPLACE_ME' \\\n --header 'Content-Type: application/json' \\\n --header 'Idempotency-Key: post-2026-10-15-linkedin' \\\n --data '{\"caption\":\"Created by automation\",\"social_account_ids\":[\"0195f3a2-6b1c-7d4e-9a10-3c5b7e2f8a01\"]}'\n"
- lang: JavaScript
source: "const response = await fetch('https://api.post-quest.com/v1/posts', {\n method: 'POST',\n headers: {\n Authorization: `Bearer ${process.env.POSTQUEST_API_KEY}`,\n 'Content-Type': 'application/json',\n 'Idempotency-Key': 'post-2026-10-15-linkedin',\n },\n body: JSON.stringify({ caption: 'Created by automation', social_account_ids: ['0195f3a2-6b1c-7d4e-9a10-3c5b7e2f8a01'] }),\n});\nconst post = await response.json();\n"
servers:
- url: https://api.post-quest.com/v1
description: Production
/posts/validate:
post:
tags:
- Posts
operationId: validatePost
summary: Validate a post without saving it
description: Requires `posts:write`. The transaction is rolled back and no quota or job is retained.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreatePostInput'
responses:
'200':
description: Validation result. Platform issues may be returned with a successful HTTP status.
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationResult'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/BillingRequired'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
servers:
- url: https://api.post-quest.com/v1
description: Production
/posts/{post}:
parameters:
- $ref: '#/components/parameters/PostId'
get:
tags:
- Posts
operationId: getPost
summary: Get a post and its destination results
description: Requires `posts:read`. Poll this operation to observe each target's publish status and URL.
responses:
'200':
description: Post found.
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/PostResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/BillingRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
put:
tags:
- Posts
operationId: updatePostWithPut
summary: Update supplied post fields
description: Requires `posts:write`. PUT currently has the same partial-update semantics as PATCH.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdatePostInput'
responses:
'200':
$ref: '#/components/responses/PostUpdated'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/BillingRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/ValidationFailed'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
patch:
tags:
- Posts
operationId: updatePost
summary: Update supplied post fields
description: Requires `posts:write`.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdatePostInput'
responses:
'200':
$ref: '#/components/responses/PostUpdated'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/BillingRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/ValidationFailed'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
delete:
tags:
- Posts
operationId: deletePost
summary: Delete an unpublished post
description: Requires `posts:write`. Published and protected in-flight posts cannot be deleted.
responses:
'200':
description: Post deleted.
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
type: object
required:
- deleted
- post_id
properties:
deleted:
type: boolean
const: true
post_id:
type: string
format: uuid
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/BillingRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'422':
$ref: '#/components/responses/ValidationFailed'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
servers:
- url: https://api.post-quest.com/v1
description: Production
/posts/{post}/schedule:
post:
tags:
- Posts
operationId: schedulePost
summary: Schedule a post
description: Requires `posts:write` and a complete, publishable post configuration.
parameters:
- $ref: '#/components/parameters/PostId'
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SchedulePostInput'
responses:
'200':
$ref: '#/components/responses/IdempotentPostUpdated'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/BillingRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'422':
$ref: '#/components/responses/ValidationFailed'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
servers:
- url: https://api.post-quest.com/v1
description: Production
/posts/{post}/publish:
post:
tags:
- Posts
operationId: publishPost
summary: Publish a post now
description: Requires `posts:write`, `publish:now`, and workspace publish-now opt-in.
parameters:
- $ref: '#/components/parameters/PostId'
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: false
content:
application/json:
schema:
$ref: '#/components/schemas/UpdatePostInput'
responses:
'200':
$ref: '#/components/responses/IdempotentPostUpdated'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/BillingRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'422':
$ref: '#/components/responses/ValidationFailed'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/ServerError'
servers:
- url: https://api.post-quest.com/v1
description: Production
components:
schemas:
Error:
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
PostListResponse:
type: object
required:
- data
- meta
properties:
data:
type: array
items:
$ref: '#/components/schemas/Post'
meta:
$ref: '#/components/schemas/PaginationMeta'
PostTarget:
type: object
required:
- platform
- social_account_id
- caption
- publish_status
- external_url
properties:
platform:
$ref: '#/components/schemas/Platform'
social_account_id:
type:
- string
- 'null'
format: uuid
caption:
type: string
publish_status:
$ref: '#/components/schemas/PublishStatus'
external_url:
type:
- string
- 'null'
format: uri
ValidationIssue:
type: object
required:
- platform
- field
- code
- message
- blocking
properties:
platform:
oneOf:
- $ref: '#/components/schemas/Platform'
- type: 'null'
field:
type: string
code:
type: string
message:
type: string
blocking:
type: boolean
CreatePostInput:
allOf:
- $ref: '#/components/schemas/PostWriteFields'
- type: object
required:
- caption
properties:
is_draft:
type: boolean
default: true
description: Set false before scheduling or publishing from this operation.
YouTubeConfiguration:
type: object
additionalProperties: false
properties:
title:
type:
- string
- 'null'
maxLength: 100
category_id:
type:
- string
- 'null'
enum:
- '1'
- '2'
- '10'
- '15'
- '17'
- '19'
- '20'
- '22'
- '23'
- '24'
- '25'
- '26'
- '27'
- '28'
- '29'
- null
visibility:
type:
- string
- 'null'
enum:
- public
- private
- unlisted
- null
license:
type:
- string
- 'null'
enum:
- youtube
- creativeCommon
- null
notify_subscribers:
type: boolean
default: true
allow_embedding:
type: boolean
default: true
made_for_kids:
type: boolean
default: false
PaginationMeta:
type: object
required:
- total
- limit
- offset
properties:
total:
type: integer
minimum: 0
limit:
type: integer
minimum: 1
maximum: 100
offset:
type: integer
minimum: 0
timezone:
type: string
examples:
- Asia/Singapore
Post:
type: object
required:
- id
- workspace_id
- caption
- status
- content_pillar_id
- scheduled_at
- published_at
- timezone
- media_ids
- targets
- platform_configurations
- validation
- updated_at
properties:
id:
type: string
format: uuid
workspace_id:
type: string
format: uuid
caption:
type: string
status:
$ref: '#/components/schemas/PostStatus'
content_pillar_id:
type:
- string
- 'null'
format: uuid
scheduled_at:
type:
- string
- 'null'
format: date-time
published_at:
type:
- string
- 'null'
format: date-time
timezone:
type: string
media_ids:
type: array
items:
type: string
format: uuid
targets:
type: array
items:
$ref: '#/components/schemas/PostTarget'
platform_configurations:
$ref: '#/components/schemas/PlatformConfigurations'
validation:
type:
- array
- object
- 'null'
updated_at:
type:
- string
- 'null'
format: date-time
PostStatus:
type: string
enum:
- idea
- draft
- needs_improvement
- ready
- scheduled
- publishing
- published
- failed
- skipped
- archived
PublishStatus:
type:
- string
- 'null'
enum:
- published
- pending
- failed
- null
ValidationError:
allOf:
- $ref: '#/components/schemas/Error'
- type: object
properties:
errors:
type: object
additionalProperties:
type: array
items:
type: string
issues:
type: array
items:
$ref: '#/components/schemas/ValidationIssue'
TikTokConfiguration:
type: object
additionalProperties: false
properties:
title:
type:
- string
- 'null'
maxLength: 90
privacy_status:
type:
- string
- 'null'
enum:
- public
- private
- null
allow_comment:
type: boolean
allow_duet:
type: boolean
allow_stitch:
type: boolean
is_ai_generated:
type: boolean
disclose_video_content:
type: boolean
disclose_your_brand:
type: boolean
disclose_branded_content:
type: boolean
PostWriteFields:
type: object
additionalProperties: false
properties:
caption:
type: string
maxLength: 25000
social_account_ids:
type: array
maxItems: 100
items:
type: string
format: uuid
platform_captions:
type: object
description: Platform or `platform:<social account id>` target keys mapped to custom captions.
additionalProperties:
type: string
maxLength: 25000
content_pillar:
type:
- string
- 'null'
maxLength: 255
content_pillar_id:
type:
- string
- 'null'
format: uuid
media_ids:
type: array
maxItems: 35
items:
type: string
format: uuid
scheduled_at:
type:
- string
- 'null'
format: date-time
description: Must contain `Z` or an explicit UTC offset and be in the future.
publish_now:
type: boolean
default: false
platform_configurations:
$ref: '#/components/schemas/PlatformConfigurations'
account_configurations:
$ref: '#/components/schemas/AccountConfigurations'
PostResponse:
type: object
required:
- data
properties:
data:
$ref: '#/components/schemas/Post'
ValidationResult:
type: object
required:
- valid
- issues
properties:
valid:
type: boolean
issues:
type: array
items:
$ref: '#/components/schemas/ValidationIssue'
PlatformConfigurations:
type: object
description: On updates, submitted fields are merged into the stored settings; omitted platforms and fields keep their values.
additionalProperties: false
properties:
tiktok:
$ref: '#/components/schemas/TikTokConfiguration'
youtube:
$ref: '#/components/schemas/YouTubeConfiguration'
Platform:
type: string
enum:
- instagram
- facebook
- x
- youtube
- tiktok
- pinterest
- linkedin
- threads
- bluesky
- mastodon
SchedulePostInput:
allOf:
- $ref: '#/components/schemas/PostWriteFields'
- type: object
required:
- scheduled_at
UpdatePostInput:
$ref: '#/components/schemas/PostWriteFields'
AccountConfigurations:
type: object
description: Keys use `pinterest:{social_account_id}`.
propertyNames:
pattern: ^pinterest:[1-9]\d*$
additionalProperties:
$ref: '#/components/schemas/PinterestConfiguration'
PinterestConfiguration:
type: object
additionalProperties: false
properties:
title:
type:
- string
- 'null'
maxLength: 100
link:
type:
- string
- 'null'
format: uri
maxLength: 500
board_id:
type:
- string
- 'null'
pattern: ^\d+$
maxLength: 64
board_name:
type:
- string
- 'null'
maxLength: 180
RateLimitError:
allOf:
- $ref: '#/components/schemas/Error'
- type: object
required:
- retry_after
properties:
retry_after:
type: integer
minimum: 1
parameters:
PostId:
name: post
in: path
required: true
schema:
type: string
format: uuid
Limit:
name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 100
default: 20
Offset:
name: offset
in: query
schema:
type: integer
minimum: 0
default: 0
IdempotencyKey:
name: Idempotency-Key
in: header
required: false
description: Unique visible-ASCII key, 1–255 characters. Retained for 24 hours.
schema:
type: string
minLength: 1
maxLength: 255
pattern: ^[!-~]+$
responses:
NotFound:
description: The resource does not exist or belongs to another workspace.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
code: not_found
message: The requested resource was not found.
PostUpdated:
description: Post updated.
headers:
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/PostResponse'
ServerError:
description: Unexpected server failure. Internal details are never exposed.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
code: server_error
message: The request failed. Try again later.
BadRequest:
description: Malformed request, invalid idempotency key, or credential in the query string.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
queryCredential:
value:
code: credential_query_not_supported
message: Credentials are not accepted in URLs. Use OAuth or the Authorization bearer header.
Unauthorized:
description: Missing, invalid, expired, revoked, or unbound API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
code: unauthenticated
message: A valid API key is required.
ValidationFailed:
description: Request fields, platform capability, media, schedule, or quota validation failed.
content:
application/json:
schema:
$ref: '#/components/schemas/ValidationError'
Forbidden:
description: The key lacks an ability, onboarding is incomplete, or publish-now is disabled.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
code: forbidden
message: This API token does not allow posts:write.
BillingRequired:
description: The workspace does not have effective paid REST access.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
code: billing_access_required
message: The REST API requires an active Solo, Pro, or Agency subscription.
Conflict:
description: Resource state, idempotency payload, or in-progress idempotency conflict.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
idempotency:
value:
code: idempotency_conflict
message: This Idempotency-Key was already used with a different request payload.
mediaInUse:
value:
code: media_in_use
message: Media attached to a post cannot be deleted.
RateLimited:
description: The per-key global or media-specific request limit was exceeded.
headers:
Retry-After:
$ref: '#/components/headers/RetryAfter'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/RateLimitError'
example:
code: rate_limited
message: Too many requests. Retry after 18 seconds.
retry_after: 18
IdempotentPostUpdated:
description: Post updated.
headers:
Idempotent-Replayed:
$ref: '#/components/headers/IdempotentReplayed'
X-RateLimit-Limit:
$ref: '#/components/headers/XRateLimitLimit'
X-RateLimit-Remaining:
$ref: '#/components/headers/XRateLimitRemaining'
X-RateLimit-Reset:
$ref: '#/components/headers/XRateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/PostResponse'
headers:
XRateLimitReset:
description: Unix timestamp when the active limiting window resets.
schema:
type: integer
format: int64
XRateLimitRemaining:
description: Requests remaining in the active limiting window.
schema:
type: integer
IdempotentReplayed:
description: Present and `true` only when a stored response was replayed.
schema:
type: string
const: 'true'
XRateLimitLimit:
description: Maximum requests in the active limiting window.
schema:
type: integer
RetryAfter:
description: Seconds until another request should be attempted.
schema:
type: integer
minimum: 1
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: pq_live_
description: Workspace-scoped PostQuest API key sent only in the Authorization header.
x-refined-from:
- openapi.yaml
- post-quest-com-openapi.yaml