Scheduler keys and ids
What each scheduler target needs, and where it comes from. Every one of them only saves drafts: see the drafts-only rule in targets.md.
Keys are secrets. Put each in an environment variable (a CI secret, or your shell for a local run) and give the config only the variable's name. Ids are not secrets and go in the config.
The settings, addresses and headers below are what the plugins use. Where a key is created in each service's own app, and the calls shown for listing ids, come from each service's API and can change: check them against the service's current documentation.
A first run is safest with --plan, which reads the bundle and the config and sends nothing:
justshipped publish --to typefully --planBuffer
| Needed | Where it goes |
|---|---|
| API key | BUFFER_API_KEY, or the variable api_key_env names. Created in your Buffer account's API settings |
| Channel id per network | channels, bundle channel to Buffer channel id |
Buffer's API is GraphQL at https://api.buffer.com, with the key as a bearer token. A channel's id is the id Buffer's API gives each connected channel of your organization.
targets:
- plugin: buffer
channels:
x: 6650f1a2pebblex
linkedin: 6650f1a2pebbleli
image_base_url: https://pebble.example.com/releasesBuffer takes images by public address only, so drafts carry images only when image_base_url is set to where the bundle's files are served.
Mixpost
| Needed | Where it goes |
|---|---|
| Access token | MIXPOST_API_KEY, or the variable api_key_env names. Created in your Mixpost instance's access token settings |
| Instance address | host: the address Mixpost is served under, including its path, such as https://mixpost.pebble.example.com/mixpost |
| Workspace uuid | workspace. It is the part of the address after /mixpost/ when the workspace is open |
| Account id per network | channels, bundle channel to the account's numeric id |
The plugin calls <host>/api/<workspace>/posts. The same root lists accounts with their ids; put your workspace uuid in place of 0d9c8f4e-pebble:
curl -H "Authorization: Bearer $MIXPOST_API_KEY" -H "Accept: application/json" \
"https://mixpost.pebble.example.com/mixpost/api/0d9c8f4e-pebble/accounts"targets:
- plugin: mixpost
host: https://mixpost.pebble.example.com/mixpost
workspace: 0d9c8f4e-pebble
channels: { x: "1", mastodon: "4" }Postiz
| Needed | Where it goes |
|---|---|
| API key | POSTIZ_API_KEY, or the variable api_key_env names. Shown in Postiz's settings, under the public API |
| Instance address | host, only for a self-hosted instance. The default is the cloud API |
| Integration id per network | channels, bundle channel to integration id |
Postiz calls a connected account an integration. The plugin reads them from the same endpoint you can use to list their ids (the key is sent bare, with no Bearer):
curl -H "Authorization: $POSTIZ_API_KEY" https://api.postiz.com/public/v1/integrationsA self-hosted instance answers at <host>/api/public/v1/integrations.
targets:
- plugin: postiz
channels:
x: cm4pebblex0001
bluesky: cm4pebblebs0002Each integration id may be mapped to one channel only.
Publer
| Needed | Where it goes |
|---|---|
| API key | PUBLER_API_KEY, or the variable api_key_env names. Created in Publer's settings, under API access |
| Workspace id | workspace_id |
| Account id per network | channels, bundle channel to account id |
The API is at https://app.publer.com/api/v1, with the header Authorization: Bearer-API <key>. Workspaces and accounts are listed with their ids:
curl -H "Authorization: Bearer-API $PUBLER_API_KEY" https://app.publer.com/api/v1/workspaces
curl -H "Authorization: Bearer-API $PUBLER_API_KEY" -H "Publer-Workspace-Id: <workspace id>" \
https://app.publer.com/api/v1/accountstargets:
- plugin: publer
workspace_id: 66f0pebblews
channels: { x: 66f0pebblex, linkedin: 66f0pebbleli }A re-run updates a draft's text only: Publer's update call does not take images.
Typefully
| Needed | Where it goes |
|---|---|
| API key | TYPEFULLY_API_KEY, or the variable api_key_env names. Created in Typefully's settings, under API |
| Social set id | social_set_id: the account (social set) the drafts are made in |
| Platform per channel | channels, bundle channel to one of x, linkedin, threads, bluesky, mastodon |
The API is at https://api.typefully.com, with the key as a bearer token. Social sets are listed with their ids:
curl -H "Authorization: Bearer $TYPEFULLY_API_KEY" https://api.typefully.com/v2/social-setstargets:
- plugin: typefully
social_set_id: "12345"
channels: { x: x, bluesky: bluesky }Typefully answers 402 when the account's plan does not include creating drafts through the API; the target then says so.
How the posts did
justshipped engagement reads back the numbers of the posts each scheduler made (see "How the posts did" in targets.md). It uses the same key as the drafts. What each service offers, from its public API documentation (December 2026; untested against the live services):
| Service | Supported | What is read |
|---|---|---|
| Buffer | Yes | The post(input: { id }) query: status, sentAt, externalLink and metrics { type value unit }. impressions are views, reactions likes, reposts and shares shares, comments replies, clicks clicks; percentages are skipped. Buffer gives post numbers only to a personal API key (App Clients cannot read them), pulls them once a day, and stops updating them after 30 days (20 for X). |
| Mixpost | Yes | GET <host>/api/<workspace>/posts/<uuid> for the status, published_at and each account's external_url, then GET .../posts/<uuid>/analytics, of which only summary.totals (views, likes, comments, shares) is kept. Needs a Mixpost version with the post analytics endpoint. |
| Postiz | Partly | GET /public/v1/analytics/post/<id>?date=90. Postiz names each number by a label for people ("Impressions", "Likes", "Comments") that differs by network, with no fixed list, so labels are matched by their words and one that matches none is left out. Postiz documents no single-post address, so no link is kept. Its analytics endpoint allows 30 requests an hour, so one refresh sends at most 25; on a rate limit it stops, keeps the posts it read, and the rest are asked about first on the next refresh. |
| Publer | No | Publer's post insights are only a list by account and date range (/analytics/<account>/post_insights), and its docs do not say whether their ids are the ids of posts made through the API; matching by text or date would be a guess. Its single-post endpoint gives no numbers for posts made through Publer. |
| Typefully | No | Typefully's API has no numbers for posts, only the published address and time. |
Targets
A target sends a finished release bundle somewhere. Targets are listed under targets in justshipped.config.yaml and run with justshipped publish (every target, or the ones --to names) and by justshipped ship (the Release first, then every other target).
Webhook payload
The webhook target sends one POST per release with the whole bundle's text as JSON. Use it to hand a release to an automation service or to your own endpoint.