PostZen
Posts

Get a post

GET
/v1/posts/{postId}

Returns one post when it belongs to a profile available to the API key. Missing and inaccessible posts both return 404.

Authorization

bearerAuth
AuthorizationBearer <token>

PostZen API key.

In: header

Path Parameters

postId*string

PostZen post id.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/posts/string"
{  "post": {    "_id": "string",    "title": "string",    "content": "string",    "status": "string",    "scheduledFor": "2019-08-24T14:15:22Z",    "queueId": "string",    "timezone": "string",    "platforms": [      {        "platform": "twitter",        "accountId": {          "_id": "string",          "platform": "twitter",          "username": "string",          "displayName": "string",          "isActive": true        },        "status": "draft",        "platformPostUrl": "http://example.com",        "error": "string"      }    ]  }}
{  "error": "JSON body is required"}
{  "error": "Unauthorized"}
{  "error": "Not found"}
{  "error": "rate_limited",  "retryAfter": 30}