Skip to main content
GET
Get scheduling job

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Scopes

full_access
PersonalAccessTokenAuth
full_access
WorkspaceApiKeyAuth
full_access
WorkspaceApiKeyBearerAuth

Headers

X-Active-Branch-Id
string

ID of the branch the editor shows. Used when branch_id is omitted, for users who work on protected-main branches.

Path Parameters

job_id
string
required

ID of the scheduling job, as returned by Start scheduling posts.

app_id
string
required

ID of the app whose social calendar you want.

Response

The job's progress, and its result once it completes.

job_id
string
required

ID of the scheduling job. Pass it as job_id to Get scheduling job.

Example:

"68a1c4f0d21b4e0a3c77e912"

status
string
required

State of the job. Either pending, running, completed, or failed. See Scheduling jobs for what each value means. A range holding nothing to schedule comes back completed straight away.

Example:

"pending"

phase
string
required

How far the job has got, for display only. Either pending, prepare, sandbox_sync, finalize, or completed. Read status, not phase, to decide when the job is done, since phases change as the pipeline does.

Example:

"finalize"

result
SchedulingJobResult · object | null

What happened to the posts the job took on. Set once status is completed, and null before that or on a failed job.

error
string | null

Set when status is failed, and null otherwise. It is always the same fixed message and carries no detail about the failure, so treat it as a flag rather than something to parse or show as a reason.

Example:

"Scheduling failed. Please try again."