Get a schedule
GET
apiKeyheader
x-api-key<token>id*stringFormat
uuidpostId*stringFormat
uuidOK
application/json- response
id*stringcontent*stringorganizationId*stringuserId*string|nulloriginSourcePostId*string|nullisEvergreen*booleanlastRecycledAt*|nullrequiredApproverIds*array<string>|nullcreatedAt*stringFormat
date-timeupdatedAt*stringFormat
date-timeschedules*array<>curl -X GET 'https://app.postonus.com/api/v1/schedules/497f6eca-6276-4993-bfeb-53cbbbba6f08?postId=497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "id": "string", "content": "string", "organizationId": "string", "userId": "string", "originSourcePostId": "string", "isEvergreen": true, "lastRecycledAt": "2019-08-24T14:15:22Z", "requiredApproverIds": [ "string" ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "schedules": [ { "id": "string", "postId": "string", "organizationId": "string", "integrationId": "string", "status": "DRAFT", "delivery": "API", "scheduledAt": "2019-08-24T14:15:22Z", "publishedAt": "2019-08-24T14:15:22Z", "originRecycleEventId": "string", "failureReason": "string", "failureDetail": { "status": 0, "platformMessage": "string", "platformCode": "string", "traceId": "string", "raw": "string" }, "platformDeletedAt": "2019-08-24T14:15:22Z", "scheduledContent": "string", "retryCount": 0, "lastAttempt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "approvalStatus": "pending_review", "approvalRequestedAt": "2019-08-24T14:15:22Z", "approvalCompletedAt": "2019-08-24T14:15:22Z", "threadOrder": -9007199254740991, "integration": { "id": "string", "platform": "BLUESKY", "name": "string", "tokenStatus": "string" }, "post": { "id": "string", "content": "string", "organizationId": "string", "userId": "string", "originSourcePostId": "string", "isEvergreen": true, "lastRecycledAt": "2019-08-24T14:15:22Z", "requiredApproverIds": [ "string" ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } } ]}