APIsPostPost Without Image

Twitter Post Scheduling API - Without Image

Endpoint Details

POST https://portfolio.tigest.club/api/v1/dashboard/post/webhook

Content-Type: multipart/form-data

Request Parameters

ParameterTypeRequiredDescriptionValid ValuesExample
contentstringYesThe text content of your tweetText up to 280 characters”Excited to announce our new feature! 🚀“
channelstringYesTarget platform (always Twitter)"Twitter"”Twitter”
post_typestringYesType of content being posted"post"”post”
calendar_uuidstringYesUnique identifier for your content calendarValid UUID format”69a1bf45-c48e-46cf-bd53-f47f3efa9763”
scheduled_atstringYesPublication date and time in ISO 8601 formatFuture datetime in UTC”2025-05-30T21:30:00Z”
statusstringYesPost publication status"draft", "published", "scheduled"”scheduled”

Example Requests

Schedule Tweet for Peak Hours

curl --location 'https://portfolio.tigest.club/api/v1/dashboard/post/webhook' \
--header 'X-API-KEY: your_api_key_here' \
--form 'content="🚀 Just launched our new dashboard! Clean design, powerful features, and lightning-fast performance. What do you think? #ProductLaunch #SaaS"' \
--form 'channel="Twitter"' \
--form 'post_type="post"' \
--form 'scheduled_at="2025-05-29T14:30:00Z"' \
--form 'status="scheduled"' \
--form 'calendar_uuid="69a1bf45-c48e-46cf-bd53-f47f3efa9763"'

Create Draft Tweet for Review

curl --location 'https://portfolio.tigest.club/api/v1/dashboard/post/webhook' \
--header 'X-API-KEY: your_api_key_here' \
--form 'content="Monday motivation: Every expert was once a beginner. Keep pushing forward, keep learning, and never stop growing! 💪 #MondayMotivation #Growth"' \
--form 'channel="Twitter"' \
--form 'post_type="post"' \
--form 'scheduled_at="2025-06-02T09:00:00Z"' \
--form 'status="draft"' \
--form 'calendar_uuid="69a1bf45-c48e-46cf-bd53-f47f3efa9763"'

Response Format

Successful Response

Status Code: 200 OK

{
  "data": {
    "id": 1073216,
    "uuid": "d569c678-1601-4474-b359-84fa9dc53f29",
    "calendar_uuid": "69a1bf45-c48e-46cf-bd53-f47f3efa9763",
    "calendar_user_uuid": "cb3c071c-319a-4dfb-ab0c-538339d18325",
    "content": "🚀 Just launched our new dashboard! Clean design, powerful features, and lightning-fast performance. What do you think? #ProductLaunch #SaaS",
    "channel": "Twitter",
    "images": [],
    "status": "scheduled",
    "scheduled_at": "2025-05-29T14:30:00Z",
    "created_at": "2025-05-28T11:22:18.930968916Z",
    "is_active": true,
    "updated_at": "2025-05-28T11:22:18.930968916Z",
    "post_type": "post",
    "post_content": {},
    "metadata": {},
    "campaign_uuid": null,
    "analytics": {}
  },
  "success": true
}

Response Fields Explained

FieldTypeDescription
idintegerUnique numeric identifier for the tweet
uuidstringUnique string identifier (use for API references)
calendar_uuidstringLinks the tweet to your content calendar
calendar_user_uuidstringIdentifies the calendar owner
contentstringYour original tweet content
channelstringAlways “Twitter” for this endpoint
imagesarrayEmpty array (text-only posts)
statusstringCurrent tweet status (draft/scheduled/published)
scheduled_atstringScheduled publication time in UTC
created_atstringTweet creation timestamp
is_activebooleanWhether the tweet is active in the system
updated_atstringLast modification timestamp
post_typestringAlways “post” for this endpoint
post_contentobjectAdditional tweet configuration
metadataobjectAdditional metadata about the tweet
campaign_uuidstringAssociated campaign identifier (if any)
analyticsobjectTweet performance data (populated after publication)

Error Handling

Common Error Codes

Past Date Scheduling (Code: 4001)

{
  "errors": {
    "code": 4001,
    "message": "Oops! You can't schedule a post in the past. Please choose a future date and time."
  },
  "success": false
}

Tweet Creation Failed (Code: 4005)

{
  "errors": {
    "code": 4005,
    "message": "We hit a snag while creating your post. Mind trying again?"
  },
  "success": false
}

Validation Errors

  • Content Too Long: Tweet content must be 280 characters or less
  • Missing Required Fields: All parameters marked as required must be provided
  • Invalid Date Format: Use ISO 8601 format for scheduled_at
  • Invalid Status: Use only “draft”, “scheduled”, or “published”
  • Invalid UUID: Ensure calendar_uuid follows proper UUID format

Last updated: May 28, 2025