Profiles

Get post sync

Retrieves a single post sync run - poll this to follow a backfill to completion. The run is finished when status is completed or failed.

get/api/profiles/{id}/post_syncs/{post_sync_id}

Request

  • Base URL
    https://api.postproxy.dev
  • URL
    https://api.postproxy.dev/api/profiles/{id}/post_syncs/{post_sync_id}
  • Auth
    HTTP bearer

Path parameters

idstring required

Profile id

post_sync_idstring required

Post sync id

Query parameters

profile_group_idstring

Profile group context for the request. Optional when the API key is scoped to a profile group (that group is used automatically); with a full-access key, defaults to the first profile group in the account.

Response

The post sync run

idstring

Unique sync identifier.

profile_idstring

Profile this run belongs to.

kind'posts'

Always posts today.

trigger'connect' | 'scheduled' | 'backfill'
status'pending' | 'running' | 'completed' | 'failed'
started_atstring nullable

ISO 8601 timestamp when the run began.

completed_atstring nullable

ISO 8601 timestamp when it finished or failed.

posts_seeninteger

Posts the platform returned across the run.

posts_importedinteger

Posts that were new and got created. Lower than posts_seen whenever the run re-read posts you already have.

backfill_fromstring nullable

The date floor requested. null for connect and scheduled runs.

oldest_posted_atstring nullable

Publish date of the oldest post the run reached - how far back it has walked.

errorstring nullable

Platform error message when status is failed.

created_atstring

ISO 8601 timestamp.

Changes

No recorded changes to this operation across all 1 revision of this API.