Skip to content

Read a post's publish date

GET
/posts/{post}/schedule
curl --request GET \
--url https://feed.work.optidata.cloud/api/posts/2289/schedule \
--header 'Authorization: Bearer <token>'

The post’s published_at. A draft has none.

post
required
integer

Numeric id of the post.

The publish date.

Media typeapplication/json
object
published_at
required
string | null format: date-time
Examples
Exampleexample
{
"published_at": "2026-10-19T14:38:26.000000Z"
}

No authentication key was sent.

Media typeapplication/json

Authentication failures use an error key.

object
error
required
string
Examples
Exampleexample
{
"error": "JWT passport exception: Missing bearer token in request"
}

The caller is not allowed to perform this action.

Media typeapplication/json
object
message
required
string
Examples
Exampleexample
{
"message": "This action is unauthorized."
}

No matching resource, or it is not reachable through this path.

Media typeapplication/json
object
message
required
string
Examples
Exampleexample
{
"message": "No query results for model [App\\Models\\Category] 864"
}

The authentication key is expired or not recognised. Get a fresh one and retry.

Media typeapplication/json

Authentication failures use an error key.

object
error
required
string
Examples
Exampleexample
{
"error": "JWT passport expired: Passport expired"
}