# Send Postqued API to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "postqued-api",
    "name": "Postqued API",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/syeddhasnainn/postqued-api",
    "canonicalUrl": "https://clawhub.ai/syeddhasnainn/postqued-api",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/postqued-api",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=postqued-api",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "postqued-api",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T08:39:26.979Z",
      "expiresAt": "2026-05-14T08:39:26.979Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=postqued-api",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=postqued-api",
        "contentDisposition": "attachment; filename=\"postqued-api-1.0.6.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "postqued-api"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/postqued-api"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/postqued-api",
    "downloadUrl": "https://openagent3.xyz/downloads/postqued-api",
    "agentUrl": "https://openagent3.xyz/skills/postqued-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/postqued-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/postqued-api/agent.md"
  }
}
```
## Documentation

### Setup

Add your PostQued API key to your workspace .env file:

POSTQUED_API_KEY=pq_your_api_key_here

API keys are created in the PostQued dashboard at https://postqued.com/console. Keys start with pq_ prefix.

### Authentication

All API requests require authentication via Bearer token:

Authorization: Bearer $POSTQUED_API_KEY

### Base URL

https://api.postqued.com

### API Documentation

OpenAPI spec: https://api.postqued.com/v1/docs/openapi.json

### Step 1: Upload Content

For videos (presigned URL upload):

# Start upload session
curl -X POST https://api.postqued.com/v1/content/upload \\
  -H "Authorization: Bearer $POSTQUED_API_KEY" \\
  -H "Content-Type: application/json" \\
  -d '{
    "filename": "video.mp4",
    "contentType": "video/mp4",
    "fileSize": 52428800
  }'
# Response: { "contentId": "uuid", "upload": { "url": "presigned-url", "method": "PUT", "headers": {...} } }

# Upload file to presigned URL
curl -X PUT "PRESIGNED_URL" \\
  -H "Content-Type: video/mp4" \\
  --data-binary @video.mp4

# Confirm upload
curl -X POST https://api.postqued.com/v1/content/upload/complete \\
  -H "Authorization: Bearer $POSTQUED_API_KEY" \\
  -H "Content-Type: application/json" \\
  -d '{
    "contentId": "uuid-from-step-1",
    "key": "content/user-id/content-id.mp4",
    "filename": "video.mp4",
    "contentType": "video/mp4",
    "size": 52428800,
    "width": 1920,
    "height": 1080,
    "durationMs": 30000
  }'

For images (direct upload):

curl -X POST https://api.postqued.com/v1/content/upload-image \\
  -H "Authorization: Bearer $POSTQUED_API_KEY" \\
  -H "Content-Type: multipart/form-data" \\
  -F "file=@image.jpg"

### Step 2: Get Platform Account ID

curl https://api.postqued.com/v1/platform-accounts?platform=tiktok \\
  -H "Authorization: Bearer $POSTQUED_API_KEY"
# Response: { "accounts": [{ "id": "account-uuid", "username": "@user", ... }] }

### Step 3: Publish Content

Important: Always include a unique Idempotency-Key header (valid 24h).

curl -X POST https://api.postqued.com/v1/content/publish \\
  -H "Authorization: Bearer $POSTQUED_API_KEY" \\
  -H "Content-Type: application/json" \\
  -H "Idempotency-Key: unique-uuid-per-request" \\
  -d '{
    "contentIds": ["content-uuid"],
    "targets": [{
      "platform": "tiktok",
      "accountId": "account-uuid",
      "intent": "draft",
      "caption": "Check this out! #fyp",
      "dispatchAt": null,
      "options": {
        "privacyLevel": "SELF_ONLY",
        "disableDuet": false,
        "disableStitch": false,
        "disableComment": false
      }
    }]
  }'
# Response: { "publishId": "uuid", "status": "pending", "targets": [...] }

### Step 4: Check Publish Status

curl https://api.postqued.com/v1/content/publish/PUBLISH_ID \\
  -H "Authorization: Bearer $POSTQUED_API_KEY"

### API Reference

See references/api.md for complete endpoint documentation.

### TikTok-Specific Options

OptionTypeDescriptionprivacyLevelstringPUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLYdisableDuetbooleanDisable duetdisableStitchbooleanDisable stitchdisableCommentbooleanDisable commentsvideoCoverTimestampMsintegerCover frame timestamp (videos)autoAddMusicbooleanAuto-add music (photos)brandContentTogglebooleanPaid partnership disclosurebrandOrganicTogglebooleanPromotional content disclosure

### Intent Values

draft - Send to TikTok inbox as draft (user publishes manually)
publish - Direct publish to user's TikTok profile

### Status Values

Publish Request: pending | processing | completed | partial_failed | failed | canceled

Target: queued | scheduled | processing | sent | published | failed | canceled

### Scheduling

Set dispatchAt to a future UTC ISO timestamp:

{
  "dispatchAt": "2026-02-20T15:00:00Z"
}

Set to null for immediate dispatch.

### Rate Limits

OperationLimitUpload20/minRead30/minPublish10/minDelete20/min

### Error Handling

Errors return:

{
  "error": "Message",
  "code": "ERROR_CODE"
}

Common codes: MISSING_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, SUBSCRIPTION_REQUIRED
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: syeddhasnainn
- Version: 1.0.6
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-07T08:39:26.979Z
- Expires at: 2026-05-14T08:39:26.979Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/postqued-api)
- [Send to Agent page](https://openagent3.xyz/skills/postqued-api/agent)
- [JSON manifest](https://openagent3.xyz/skills/postqued-api/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/postqued-api/agent.md)
- [Download page](https://openagent3.xyz/downloads/postqued-api)