Tool ID:
zernio_get_postRun this action
Use the TypeScript SDK for one call. Usectx.tools.execute(...) inside a Play for durable calls, scheduled calls, or CSV processing.
import { Deepline } from 'deepline';
const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
'zernio_get_post',
{
"postId": "post_123"
},
);
console.log(result.toolResponse.raw);
CLI
deepline run zernio_get_post --input '{
"postId": "post_123"
}'
Example response
The SDK returns this shape atresult.toolResponse.raw. The example values illustrate the response.
{
"data": {
"post": {
"_id": "_123",
"userId": "user_123",
"title": "VP of Engineering"
}
}
}
deepline describe zernio_get_post --json for the latest machine-readable contract.
Input reference
Fetch a single post by ID. For published posts, this returns platformPostUrl for each platform. To wait for a post to publish, subscribe to thepost.published, post.failed and post.partial webhooks instead of polling this endpoint. Each event carries the post, so no follow-up read is needed.
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
payload.postId | string | Yes | — | — |
Output reference
Standard tool result payload.| Name | Type | Required | Default | Details |
|---|---|---|---|---|
result.data | object | Yes | — | Provider response payload. |
result.data.post | object | No | — | — |
result.data.post._id | string | No | — | — |
result.data.post.userId | string | object | No | — | — |
result.data.post.userId._id | string | No | — | — |
result.data.post.userId.email | string | No | — | — |
result.data.post.userId.name | string | No | — | — |
result.data.post.userId.role | string | No | — | — |
result.data.post.userId.disabledResourceGroups | array | No | — | Resource groups turned off for this team member. Empty for owners and unrestricted members. |
result.data.post.userId.createdAt | string | No | — | — |
result.data.post.title | string | null | No | — | Stored on the post for reference/display only. This field is NOT used as the video title when publishing. To set a YouTube video title, use platformSpecificData.title on the youtube platform target (falls back to the first line of content when omitted). |
result.data.post.content | string | null | No | — | Null once publishing finishes when the team does not retain content. |
result.data.post.contentNotRetained | boolean | No | — | True when this team does not retain content, so title, content and every customContent are null after publishing. Identifiers and metadata stay. |
result.data.post.mediaItems | array | No | — | — |
result.data.post.mediaItems[].type | "image" | "video" | "gif" | "document" | No | — | Optional when the item names a connected file (fileId): inferred from the file’s MIME type. Allowed: image, video, gif, document. |
result.data.post.mediaItems[].url | string | No | — | A media item with a null, missing or empty url is dropped, unless it names a connected file with fileId + accountId. A Google Drive share link is accepted here and in thumbnail, instagramThumbnail, customMedia and cover fields such as TikTok’s video_cover_image_url (drive.google.com/file/d/{id}/view, open?id={id}, uc?id={id}, drive.usercontent.google.com/download?id={id}). Zernio copies the file into its media storage when the post is created or updated and stores that copy’s See the live schema for the complete constraint. |
result.data.post.mediaItems[].fileId | string | No | — | A file of a connected Google Drive or OneDrive account (see the Files endpoints). Requires accountId. The file is copied into Zernio media storage when the post is created, and the item is stored as a plain url. A folder, an undownloadable file or an unknown id fails the request with a 4xx naming mediaItems[i].fileId. |
result.data.post.mediaItems[].accountId | string | No | — | The connected Google or Microsoft account the fileId belongs to (must have the files area). Required with fileId. |
result.data.post.mediaItems[].title | string | No | — | Optional title for the media item. Used as the document title for LinkedIn PDF/carousel posts. If omitted, falls back to the post title, then the filename. |
result.data.post.mediaItems[].altText | string | No | — | Accessibility alternative text for an image. Set once per image. The same value is sent to each selected platform. - Applied on: Instagram (feed images only, not Reels/Stories), Facebook, Threads, X (max 1000 chars), LinkedIn, Bluesky, Pinterest (max 500 chars). - Ignored on platforms without alt-text support (TikTok, YouTube, Snapchat, Telegram, Reddit, Google Business Profile, WhatsApp) and on video items where the platform does not accept it. |
result.data.post.mediaItems[].filename | string | No | — | — |
result.data.post.mediaItems[].size | integer | No | — | Optional file size in bytes |
result.data.post.mediaItems[].mimeType | string | No | — | Optional MIME type (e.g. image/jpeg, video/mp4) |
result.data.post.mediaItems[].thumbnail | string | No | — | Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, YouTube videos and Shorts, and LinkedIn video posts. Max 50 MB on YouTube (JPEG, PNG or GIF) and 10 MB elsewhere, JPG/PNG recommended. Format: uri. |
result.data.post.mediaItems[].instagramThumbnail | string | No | — | Custom cover image URL for Instagram Reels. Can also be set via platformSpecificData.instagramThumbnail or platformSpecificData.reelCover. Resolution order: this field > platformSpecificData.instagramThumbnail > platformSpecificData.reelCover > platformSpecificData.thumbnailUrl (legacy). Format: uri. |
result.data.post.mediaItems[].subtitles | array | No | — | Subtitle (closed caption) files for a video item, in SRT or WebVTT. Each language may appear once per video. Zernio downloads each file when the post is created or updated and converts it to the format each platform requires. Sent to YouTube, Facebook videos, LinkedIn, X and Bluesky. ignored with a warning elsewhere. Per platform: - YouTube: every track. - Facebook: every track, up to 200 KB each. - Bluesky: every track, up to 20 KB each after conversion to WebVTT. - X: the first track only (one See the live schema for the complete constraint. |
result.data.post.mediaItems[].subtitles[].url | string | Yes | — | Public http(s) URL of an SRT or WebVTT file: your own host, or an upload from POST /v1/media/presign (contentType application/x-subrip or text/vtt). It must serve the file directly, since redirects are refused. Format: uri. |
result.data.post.mediaItems[].subtitles[].language | string | Yes | — | BCP-47 language code with a two-letter language, e.g. en, es or pt-BR. Viewers see the track labelled with the language name, e.g. English. |
result.data.post.mediaItems[].tiktokProcessed | boolean | No | — | Internal flag indicating the image was resized for TikTok |
result.data.post.platforms | array | No | — | — |
result.data.post.platforms[].platform | string | No | — | Supported values: twitter, threads, instagram, youtube, facebook, linkedin, pinterest, reddit, tiktok, bluesky, googlebusiness, telegram |
result.data.post.platforms[].accountId | string | object | No | — | — |
result.data.post.platforms[].accountId._id | string | Yes | — | — |
result.data.post.platforms[].accountId.platform | "tiktok" | "instagram" | "facebook" | "youtube" | "linkedin" | "twitter" | "threads" | "pinterest" | "reddit" | "bluesky" | "googlebusiness" | "telegram" | "snapchat" | "discord" | "slack" | "whatsapp" | "shopify" | "wordpress" | "wix" | "linkedinads" | "metaads" | "pinterestads" | "tiktokads" | "xads" | "googleads" | "openaiads" | "redditads" | "sms" | "phone" | "rcs" | "whopads" | "applovinads" | "snapchatads" | "taboolaads" | "outbrainads" | "criteoads" | "spotifyads" | "klaviyo" | "attentive" | "mailchimp" | "customendpoint" | "impact" | "awin" | "google" | "microsoft" | "imap" | "hubspot" | "salesforce" | "webflow" | "googleanalytics" | "imessage" | "tiktokshop" | "microsoftads" | "line" | "wechat" | "googletagmanager" | "stripe" | "paddle" | "chargebee" | "googlesearchconsole" | "campaignmanager360" | "tradedeskads" | "tradedeskdsp" | "amazonads" | "gohighlevel" | Yes | — | — |
result.data.post.platforms[].accountId.profileId | string | object | Yes | — | — |
result.data.post.platforms[].accountId.profileId._id | string | No | — | — |
result.data.post.platforms[].accountId.profileId.userId | string | No | — | — |
result.data.post.platforms[].accountId.profileId.name | string | No | — | — |
result.data.post.platforms[].accountId.profileId.description | string | No | — | — |
result.data.post.platforms[].accountId.profileId.color | string | No | — | — |
result.data.post.platforms[].accountId.profileId.timezone | string | null | No | — | IANA timezone new posts on this profile use when the request names no timezone. Null means UTC. |
result.data.post.platforms[].accountId.profileId.externalId | string | null | No | — | Your own identifier for this profile, set on create or update. Null when none is set. |
result.data.post.platforms[].accountId.profileId.contentRetention | "standard" | "none" | No | — | This profile’s own zero content retention setting. none stores identifiers and metadata only for this profile. Change it with contentRetention on update. Only the team owner can. |
result.data.post.platforms[].accountId.profileId.effectiveContentRetention | "standard" | "none" | No | — | The mode that applies to this profile: none when the profile or the whole team uses zero content retention. |
result.data.post.platforms[].accountId.profileId.maxOutboundCallsPerHour | integer | null | No | — | Most outbound calls placed from this profile’s numbers in any rolling hour. Null means only the team limits apply. |
result.data.post.platforms[].accountId.profileId.maxDailyCallSpendUsd | number | null | No | — | Most billed spend, in USD, on outbound calls and calls forwarded to a phone from this profile’s numbers in any rolling 24 hours. Null means only the team limits apply. |
result.data.post.platforms[].accountId.profileId.maxForwardedMinutesPerDay | integer | null | No | — | Most minutes of inbound calls forwarded to a phone from this profile’s numbers in any rolling 24 hours. Null means only the team limits apply. |
result.data.post.platforms[].accountId.profileId.isDefault | boolean | No | — | — |
result.data.post.platforms[].accountId.profileId.isOverLimit | boolean | No | — | Only present when includeOverLimit=true. Indicates if this profile exceeds the plan limit. |
result.data.post.platforms[].accountId.profileId.accountCount | integer | No | — | In the profile list. Connected accounts on the profile, including ones that need reconnecting. phone and SMS number internals and posting accounts hidden by an ads connect are not counted. |
This output schema is too large for an inline display. Read the complete live contract with
deepline describe zernio_get_post --json.Deepline cost
- Pricing model:
fixed(per call). - Estimated Deepline credits:
0per pricing unit. - Provider-native pricing may still exist outside Deepline credit billing.