{
 "openapi": "3.1.0",
 "info": {
  "title": "Postifuse API",
  "version": "1.0.0",
  "description": "Publish to nine social networks with preflight checks, idempotent publishing, receipts and webhooks. API keys come with a workspace: https://postifuse.com/#start."
 },
 "servers": [
  {
   "url": "https://postifuse.com/v1"
  }
 ],
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/whoami": {
   "get": {
    "summary": "Who am I",
    "description": "Workspace, key scope (read or write), the profiles the key can see, connected accounts with their profile, and what each network accepts.",
    "tags": [
     "Accounts"
    ],
    "responses": {
     "200": {
      "description": "The key's workspace",
      "content": {
       "application/json": {
        "example": {
         "workspace": "wsp_7",
         "scope": "write",
         "profiles": [
          "prf_martin"
         ],
         "accounts": [
          {
           "id": "acc_tt",
           "network": "tiktok",
           "profile": "prf_martin",
           "handle": "@martinbakery",
           "status": "active"
          }
         ],
         "networks": {
          "tiktok": {
           "video": true,
           "images": true,
           "text_only": false,
           "unpublish": false
          }
         }
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "operationId": "whoami",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/whoami/"
    },
    "parameters": []
   }
  },
  "/connect/{network}": {
   "get": {
    "summary": "Connect an account",
    "description": "Returns a URL the account owner opens to connect a network through its official login.",
    "tags": [
     "Accounts"
    ],
    "responses": {
     "200": {
      "description": "A one-time link",
      "content": {
       "application/json": {
        "example": {
         "url": "https://postifuse.com/c/9f2c…",
         "expires_at": "2027-01-08T17:15:00Z"
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "network",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "instagram",
        "tiktok",
        "youtube",
        "x",
        "linkedin",
        "threads",
        "bluesky",
        "facebook",
        "pinterest"
       ]
      },
      "description": "The network to connect.",
      "example": "tiktok"
     },
     {
      "name": "profile",
      "in": "query",
      "description": "Profile the new account goes into. Default: the workspace's default profile.",
      "schema": {
       "type": "string"
      },
      "example": "prf_martin"
     },
     {
      "name": "redirect_url",
      "in": "query",
      "schema": {
       "type": "string",
       "format": "uri"
      },
      "description": "Where the user lands after approving, with account_id in the query string.",
      "example": "https://app.example.com/done"
     }
    ],
    "operationId": "connectAccount",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/connect-account/"
    }
   }
  },
  "/profiles": {
   "get": {
    "summary": "List profiles",
    "description": "The workspace's profiles (one per client, brand or end user) with their account count.",
    "tags": [
     "Profiles"
    ],
    "parameters": [
     {
      "name": "external_id",
      "in": "query",
      "schema": {
       "type": "string"
      },
      "description": "Find the profile of one of your customers.",
      "example": "cus_8f3a2"
     }
    ],
    "responses": {
     "200": {
      "description": "Profiles",
      "content": {
       "application/json": {
        "schema": {
         "type": "array",
         "items": {
          "$ref": "#/components/schemas/Profile"
         }
        },
        "example": [
         {
          "id": "prf_default",
          "name": "Default",
          "external_id": null,
          "is_default": true,
          "accounts": 0
         },
         {
          "id": "prf_martin",
          "name": "Martin Bakery",
          "external_id": "cus_8f3a2",
          "is_default": false,
          "accounts": 3
         }
        ]
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "operationId": "listProfiles",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/list-profiles/"
    }
   },
   "post": {
    "summary": "Create a profile",
    "description": "external_id is your own customer id, unique in the workspace: a retried signup never creates a second profile, and webhooks carry it back.",
    "tags": [
     "Profiles"
    ],
    "parameters": [
     {
      "name": "Idempotency-Key",
      "in": "header",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Any unique string. The same key within 24 h returns the same result and posts nothing twice."
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "name"
        ],
        "properties": {
         "name": {
          "type": "string",
          "description": "Shown in the dashboard.",
          "example": "Martin Bakery"
         },
         "external_id": {
          "type": "string",
          "description": "Your own customer id. Unique in the workspace.",
          "example": "cus_8f3a2"
         }
        }
       },
       "example": {
        "name": "Martin Bakery",
        "external_id": "cus_8f3a2"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The profile",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Profile"
        },
        "example": {
         "id": "prf_martin",
         "name": "Martin Bakery",
         "external_id": "cus_8f3a2",
         "is_default": false,
         "accounts": 0
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "operationId": "createProfile",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/create-profile/"
    }
   }
  },
  "/profiles/{id}": {
   "patch": {
    "summary": "Rename a profile",
    "tags": [
     "Profiles"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The profile id."
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "name": {
          "type": "string",
          "description": "New name.",
          "example": "Martin Bakery Lyon"
         },
         "external_id": {
          "type": "string",
          "description": "New customer id.",
          "example": "cus_8f3a2"
         }
        }
       },
       "example": {
        "name": "Martin Bakery Lyon"
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The profile",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Profile"
        },
        "example": {
         "id": "prf_martin",
         "name": "Martin Bakery Lyon",
         "external_id": "cus_8f3a2",
         "is_default": false,
         "accounts": 3
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "operationId": "updateProfile",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/update-profile/"
    }
   },
   "delete": {
    "summary": "Delete a profile",
    "description": "Refused while the profile still holds accounts.",
    "tags": [
     "Profiles"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The profile id."
     }
    ],
    "responses": {
     "200": {
      "description": "Deleted",
      "content": {
       "application/json": {
        "example": {
         "id": "prf_martin",
         "deleted": true
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     },
     "409": {
      "description": "Profile not empty",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "profile_not_empty",
         "message": "prf_martin still holds 3 accounts.",
         "fix": "Disconnect or move its accounts first",
         "docs": "https://postifuse.com/docs/api/delete-profile/"
        }
       }
      }
     }
    },
    "operationId": "deleteProfile",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/delete-profile/"
    }
   }
  },
  "/keys": {
   "post": {
    "summary": "Create a profile key",
    "description": "A read or write key that sees only the listed profiles: their accounts, posts and media. For a client's backend or the agent that works for one client.",
    "tags": [
     "Profiles"
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "name",
         "scope",
         "profiles"
        ],
        "properties": {
         "name": {
          "type": "string",
          "description": "A label for the key.",
          "example": "martin-agent"
         },
         "scope": {
          "type": "string",
          "enum": [
           "read",
           "write"
          ],
          "description": "read lists, checks and reports. write can also publish.",
          "example": "write"
         },
         "profiles": {
          "type": "array",
          "items": {
           "type": "string"
          },
          "description": "The profiles the key can see.",
          "example": [
           "prf_martin"
          ]
         },
         "expires_in_days": {
          "type": "integer",
          "description": "Optional expiry. Default: never.",
          "example": 90
         },
         "limits": {
          "type": "object",
          "properties": {
           "max_posts_per_day": {
            "type": "integer",
            "minimum": 1
           },
           "networks": {
            "type": "array",
            "items": {
             "type": "string"
            }
           },
           "require_approval": {
            "type": "boolean"
           }
          },
          "description": "Optional caps for an agent that runs unattended: posts per day across the key, allowed networks, and whether every post needs an approval. A post over a cap is held (reason <code>limit_reached</code>, webhook <code>post.held</code>), never dropped.",
          "example": {
           "max_posts_per_day": 3,
           "networks": [
            "instagram",
            "linkedin"
           ],
           "require_approval": true
          }
         }
        }
       },
       "example": {
        "name": "martin-agent",
        "scope": "write",
        "profiles": [
         "prf_martin"
        ],
        "limits": {
         "max_posts_per_day": 3,
         "require_approval": true
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "The key, shown once",
      "content": {
       "application/json": {
        "example": {
         "id": "key_31",
         "key": "pf_live_…",
         "scope": "write",
         "profiles": [
          "prf_martin"
         ],
         "limits": {
          "max_posts_per_day": 3,
          "require_approval": true
         },
         "expires_at": null
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "operationId": "createKey",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/create-key/"
    },
    "parameters": []
   }
  },
  "/accounts": {
   "get": {
    "summary": "List accounts",
    "description": "Connected accounts with their profile, status and today's quota.",
    "tags": [
     "Accounts"
    ],
    "responses": {
     "200": {
      "description": "Accounts",
      "content": {
       "application/json": {
        "example": [
         {
          "id": "acc_ig",
          "network": "instagram",
          "profile": "prf_martin",
          "handle": "@martinbakery",
          "status": "active",
          "quota": {
           "posts_today": 4,
           "posts_limit": 50
          }
         }
        ]
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "profile",
      "in": "query",
      "description": "A profile id. Omitted: every profile the key can see.",
      "schema": {
       "type": "string"
      },
      "example": "prf_martin"
     }
    ],
    "operationId": "listAccounts",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/list-accounts/"
    }
   }
  },
  "/accounts/{id}": {
   "delete": {
    "summary": "Disconnect an account",
    "description": "Revokes the network token.",
    "tags": [
     "Accounts"
    ],
    "responses": {
     "200": {
      "description": "Disconnected",
      "content": {
       "application/json": {
        "example": {
         "id": "acc_tt",
         "status": "disconnected"
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The account id."
     }
    ],
    "operationId": "disconnectAccount",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/disconnect-account/"
    }
   },
   "patch": {
    "summary": "Update an account",
    "description": "Moves the account to another profile (it keeps its id, posts and receipts) or sets what an agent may do on it.",
    "tags": [
     "Accounts"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The account id."
     }
    ],
    "responses": {
     "200": {
      "description": "The account",
      "content": {
       "application/json": {
        "example": {
         "id": "acc_tt",
         "network": "tiktok",
         "profile": "prf_martin",
         "agent_mode": "queue_only",
         "status": "active"
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "profile": {
          "type": "string",
          "description": "Move the account to this profile.",
          "example": "prf_martin"
         },
         "agent_mode": {
          "type": "string",
          "enum": [
           "direct",
           "queue_only",
           "private_first"
          ],
          "description": "direct (default): agent posts go out. queue_only: they stay drafts or scheduled until a person publishes them. private_first: YouTube uploads private, TikTok posts visible only to the creator.",
          "example": "queue_only"
         }
        }
       },
       "example": {
        "agent_mode": "queue_only"
       }
      }
     }
    },
    "operationId": "updateAccount",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/update-account/"
    }
   }
  },
  "/accounts/{id}/pause": {
   "post": {
    "summary": "Pause an account",
    "description": "Stops every scheduled post on the account.",
    "tags": [
     "Accounts"
    ],
    "responses": {
     "200": {
      "description": "Paused",
      "content": {
       "application/json": {
        "example": {
         "id": "acc_tt",
         "status": "paused"
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The account id."
     }
    ],
    "operationId": "pauseAccount",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/pause-account/"
    }
   }
  },
  "/accounts/{id}/resume": {
   "post": {
    "summary": "Resume an account",
    "description": "Resumes scheduled posts.",
    "tags": [
     "Accounts"
    ],
    "responses": {
     "200": {
      "description": "Active again",
      "content": {
       "application/json": {
        "example": {
         "id": "acc_tt",
         "status": "active"
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The account id."
     }
    ],
    "operationId": "resumeAccount",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/resume-account/"
    }
   }
  },
  "/media": {
   "post": {
    "summary": "Upload media",
    "description": "Upload from a URL, or ask for a one-time upload_url for a large file. With adjust, Postifuse makes one version per network that needs it and sends media.ready. The response gives per-network fit.",
    "tags": [
     "Media"
    ],
    "responses": {
     "200": {
      "description": "Media and its fit per network",
      "content": {
       "application/json": {
        "example": {
         "id": "med_42",
         "type": "video",
         "duration_s": 42,
         "ratio": "9:16",
         "size_mb": 38,
         "fit": {
          "tiktok": "ok",
          "instagram": "ok",
          "x": {
           "status": "blocked",
           "rule": "x.video.max_duration",
           "fix": "Trim to 140 s or less",
           "adjust": "trim_to_140s"
          }
         }
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "Idempotency-Key",
      "in": "header",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Any unique string. The same key within 24 h returns the same result and posts nothing twice."
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "url": {
          "type": "string",
          "format": "uri",
          "description": "A public URL of the image or video.",
          "example": "https://cdn.example.com/reel.mp4"
         },
         "upload": {
          "type": "boolean",
          "description": "Return a one-time upload_url instead of fetching url.",
          "example": true
         },
         "adjust": {
          "type": "boolean",
          "description": "Make one version per network that needs it.",
          "example": true
         }
        }
       },
       "example": {
        "url": "https://cdn.example.com/reel.mp4"
       }
      }
     }
    },
    "operationId": "uploadMedia",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/upload-media/"
    }
   }
  },
  "/media/{id}": {
   "get": {
    "summary": "Get media",
    "description": "Processing status and per-network fit.",
    "tags": [
     "Media"
    ],
    "responses": {
     "200": {
      "description": "The media",
      "content": {
       "application/json": {
        "example": {
         "id": "med_42",
         "status": "ready",
         "fit": {
          "tiktok": "ok",
          "instagram": "ok",
          "x": "ok"
         },
         "versions": {
          "x": "med_42_x"
         }
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The media id."
     }
    ],
    "operationId": "getMedia",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/get-media/"
    }
   }
  },
  "/posts": {
   "post": {
    "summary": "Create a post",
    "description": "One post to any mix of networks, for one profile. Preflight runs first; refused targets are held with the rule and the fix. Accounts from different profiles are refused with profile_mismatch.",
    "tags": [
     "Posts"
    ],
    "responses": {
     "200": {
      "description": "The post, one target per account",
      "content": {
       "application/json": {
        "example": {
         "id": "pst_42",
         "status": "scheduled",
         "targets": [
          {
           "account": "acc_ig",
           "status": "scheduled"
          },
          {
           "account": "acc_tt",
           "status": "scheduled"
          },
          {
           "account": "acc_yt",
           "status": "scheduled"
          },
          {
           "account": "acc_x",
           "status": "held",
           "rule": "x.video.max_duration",
           "fix": "Trim to 140 s or less"
          }
         ]
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     },
     "422": {
      "description": "profile_mismatch",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "profile_mismatch",
         "message": "acc_x belongs to prf_studio, the other accounts to prf_martin.",
         "fix": "Send one post per profile",
         "docs": "https://postifuse.com/docs/profiles/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "Idempotency-Key",
      "in": "header",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Any unique string. The same key within 24 h returns the same result and posts nothing twice."
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "accounts"
        ],
        "properties": {
         "accounts": {
          "type": "array",
          "items": {
           "type": "string"
          },
          "description": "Account ids, all in the same profile.",
          "example": [
           "acc_ig",
           "acc_tt"
          ]
         },
         "text": {
          "type": "string",
          "description": "The text, used on every network unless overridden.",
          "example": "Three pacing mistakes from my first marathon"
         },
         "media": {
          "type": "array",
          "items": {
           "type": "string"
          },
          "description": "Media ids from upload media.",
          "example": [
           "med_42"
          ]
         },
         "publish": {
          "type": "string",
          "enum": [
           "now"
          ],
          "description": "now publishes at once.",
          "example": "now"
         },
         "publish_at": {
          "type": "string",
          "format": "date-time",
          "description": "When to publish, ISO 8601 UTC.",
          "example": "2027-01-08T17:00:00Z"
         },
         "overrides": {
          "type": "object",
          "additionalProperties": {
           "type": "object",
           "properties": {
            "text": {
             "type": "string"
            },
            "title": {
             "type": "string"
            },
            "thread": {
             "type": "boolean"
            }
           }
          },
          "description": "Per-network text, YouTube title, or X thread.",
          "example": {
           "youtube": {
            "title": "3 marathon pacing mistakes"
           }
          }
         },
         "dry_run": {
          "type": "boolean",
          "description": "Return what would happen to each account and save nothing.",
          "example": true
         }
        }
       },
       "example": {
        "accounts": [
         "acc_ig",
         "acc_tt",
         "acc_yt",
         "acc_x"
        ],
        "text": "Three pacing mistakes from my first marathon",
        "media": [
         "med_42"
        ],
        "publish_at": "2027-01-08T17:00:00Z",
        "overrides": {
         "youtube": {
          "title": "3 marathon pacing mistakes"
         },
         "x": {
          "text": "3 pacing mistakes, one marathon"
         }
        }
       }
      }
     }
    },
    "operationId": "createPost",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/create-post/"
    }
   },
   "get": {
    "summary": "List posts",
    "description": "Filter by status, account, from, to.",
    "tags": [
     "Posts"
    ],
    "responses": {
     "200": {
      "description": "Posts",
      "content": {
       "application/json": {
        "example": [
         {
          "id": "pst_42",
          "status": "scheduled",
          "publish_at": "2027-01-08T17:00:00Z",
          "accounts": [
           "acc_ig",
           "acc_tt"
          ]
         }
        ]
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "status",
      "in": "query",
      "schema": {
       "type": "string"
      },
      "description": "draft, scheduled, held, delivered, failed. Comma-separated.",
      "example": "failed,held"
     },
     {
      "name": "account",
      "in": "query",
      "schema": {
       "type": "string"
      },
      "description": "Only posts to this account.",
      "example": "acc_tt"
     },
     {
      "name": "from",
      "in": "query",
      "schema": {
       "type": "string",
       "format": "date-time"
      },
      "description": "Created or scheduled from this time, ISO 8601.",
      "example": "2027-01-01T00:00:00Z"
     },
     {
      "name": "to",
      "in": "query",
      "schema": {
       "type": "string",
       "format": "date-time"
      },
      "description": "Up to this time, ISO 8601.",
      "example": "2027-01-31T23:59:59Z"
     }
    ],
    "operationId": "listPosts",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/list-posts/"
    }
   }
  },
  "/posts/{id}": {
   "get": {
    "summary": "Get a post",
    "description": "",
    "tags": [
     "Posts"
    ],
    "responses": {
     "200": {
      "description": "The post",
      "content": {
       "application/json": {
        "example": {
         "id": "pst_42",
         "status": "scheduled",
         "text": "Three pacing mistakes from my first marathon",
         "publish_at": "2027-01-08T17:00:00Z",
         "targets": [
          {
           "account": "acc_ig",
           "status": "scheduled"
          }
         ]
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The post id."
     }
    ],
    "operationId": "getPost",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/get-post/"
    }
   },
   "patch": {
    "summary": "Edit a post",
    "description": "Preflight runs again.",
    "tags": [
     "Posts"
    ],
    "responses": {
     "200": {
      "description": "The post",
      "content": {
       "application/json": {
        "example": {
         "id": "pst_42",
         "status": "scheduled",
         "publish_at": "2027-01-09T08:00:00Z"
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The post id."
     },
     {
      "name": "Idempotency-Key",
      "in": "header",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Any unique string. The same key within 24 h returns the same result and posts nothing twice."
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "accounts": {
          "type": "array",
          "items": {
           "type": "string"
          },
          "description": "New target accounts, all in the same profile."
         },
         "text": {
          "type": "string",
          "description": "New text."
         },
         "media": {
          "type": "array",
          "items": {
           "type": "string"
          },
          "description": "New media ids."
         },
         "publish": {
          "type": "string",
          "enum": [
           "now"
          ],
          "description": "now publishes at once."
         },
         "publish_at": {
          "type": "string",
          "format": "date-time",
          "description": "New time, ISO 8601 UTC.",
          "example": "2027-01-09T08:00:00Z"
         },
         "overrides": {
          "type": "object",
          "additionalProperties": {
           "type": "object",
           "properties": {
            "text": {
             "type": "string"
            },
            "title": {
             "type": "string"
            },
            "thread": {
             "type": "boolean"
            }
           }
          },
          "description": "Per-network text, YouTube title, or X thread."
         }
        }
       },
       "example": {
        "publish_at": "2027-01-09T08:00:00Z"
       }
      }
     }
    },
    "operationId": "updatePost",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/update-post/"
    }
   },
   "delete": {
    "summary": "Cancel a post",
    "description": "",
    "tags": [
     "Posts"
    ],
    "responses": {
     "200": {
      "description": "Cancelled",
      "content": {
       "application/json": {
        "example": {
         "id": "pst_42",
         "status": "cancelled"
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The post id."
     }
    ],
    "operationId": "cancelPost",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/cancel-post/"
    }
   }
  },
  "/posts/{id}/publish": {
   "post": {
    "summary": "Publish now",
    "description": "Publishes a draft or brings a scheduled post forward. Retrying skips accounts already delivered.",
    "tags": [
     "Posts"
    ],
    "responses": {
     "200": {
      "description": "One target per account",
      "content": {
       "application/json": {
        "example": {
         "id": "pst_42",
         "status": "publishing",
         "targets": [
          {
           "account": "acc_ig",
           "status": "delivered",
           "url": "https://www.instagram.com/reel/…"
          },
          {
           "account": "acc_tt",
           "status": "unconfirmed"
          }
         ]
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The post id."
     },
     {
      "name": "Idempotency-Key",
      "in": "header",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Any unique string. The same key within 24 h returns the same result and posts nothing twice."
     }
    ],
    "operationId": "publishPost",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/publish-post/"
    }
   }
  },
  "/posts/{id}/unpublish": {
   "post": {
    "summary": "Unpublish a post",
    "description": "Takes the post down from the networks that allow it (not Instagram or TikTok). Irreversible.",
    "tags": [
     "Posts"
    ],
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The post id."
     },
     {
      "name": "Idempotency-Key",
      "in": "header",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "Any unique string. The same key within 24 h returns the same result and posts nothing twice."
     }
    ],
    "responses": {
     "200": {
      "description": "One result per account",
      "content": {
       "application/json": {
        "example": [
         {
          "account": "acc_x",
          "status": "unpublished"
         },
         {
          "account": "acc_ig",
          "status": "not_supported",
          "fix": "Remove it in the Instagram app: https://www.instagram.com/reel/…"
         }
        ]
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "operationId": "unpublishPost",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/unpublish-post/"
    }
   }
  },
  "/posts/{id}/receipts": {
   "get": {
    "summary": "Get receipts",
    "description": "One receipt per account: live URL, or the error with a rule and a fix.",
    "tags": [
     "Posts"
    ],
    "responses": {
     "200": {
      "description": "Receipts",
      "content": {
       "application/json": {
        "example": [
         {
          "account": "acc_ig",
          "network": "instagram",
          "status": "delivered",
          "url": "https://www.instagram.com/reel/…",
          "delivered_at": "2027-01-08T17:00:04Z"
         },
         {
          "account": "acc_tt",
          "network": "tiktok",
          "status": "failed",
          "rule": "tiktok.daily_post_cap",
          "fix": "Retry after 00:00 UTC; Postifuse will not retry on its own"
         }
        ]
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The post id."
     }
    ],
    "operationId": "getReceipts",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/get-receipts/"
    }
   }
  },
  "/preflight": {
   "post": {
    "summary": "Check a post",
    "description": "Checks a post against each network's rules without creating anything: text length counted the network's way, Instagram hashtag and mention limits, forbidden characters, YouTube title, and media files by URL (format, size, dimensions, duration, moov position, read from the headers only). No key needed, CORS open, post content never stored. facebook and pinterest come back as not_checked.",
    "tags": [
     "Preflight"
    ],
    "responses": {
     "200": {
      "description": "One result per network",
      "content": {
       "application/json": {
        "example": {
         "ok": false,
         "ready": true,
         "summary": "Instagram: Kept the first 5 hashtags, removed #10k #tips. Every network is ready with the fixed text.",
         "results": {
          "instagram": {
           "status": "fixed",
           "count": 67,
           "limit": 2200,
           "unit": "characters",
           "issues": [
            {
             "rule": "instagram.caption.max_hashtags",
             "detail": "7 hashtags, limit 5",
             "fix": "Remove 2 hashtags",
             "source": "https://www.socialmediatoday.com/news/instagram-implements-new-limits-on-hashtag-use/808309/"
            }
           ],
           "source": "https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media",
           "fixed": {
            "text": "New reel is live #running #pace #marathon #training #run",
            "count": 56,
            "changes": [
             "Kept the first 5 hashtags, removed #10k #tips"
            ]
           }
          },
          "x": {
           "status": "ok",
           "count": 67,
           "limit": 280,
           "unit": "weighted characters",
           "issues": [],
           "source": "https://docs.x.com/fundamentals/counting-characters"
          },
          "bluesky": {
           "status": "ok",
           "count": 67,
           "limit": 300,
           "unit": "graphemes",
           "issues": [],
           "source": "https://github.com/bluesky-social/atproto/blob/main/lexicons/app/bsky/feed/post.json"
          }
         },
         "checked_at": "2026-12-06"
        }
       }
      }
     },
     "400": {
      "description": "Invalid request",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "invalid_request",
         "message": "Send text, or texts with one version per network.",
         "docs": "https://postifuse.com/docs/api/preflight/"
        }
       }
      }
     }
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "properties": {
         "text": {
          "type": "string",
          "maxLength": 100000,
          "description": "The text exactly as it will be published. Used for every network without its own version in <code>texts</code>.",
          "example": "New reel is live #running"
         },
         "texts": {
          "type": "object",
          "additionalProperties": {
           "type": "string",
           "maxLength": 100000
          },
          "description": "One version per network, fitted to its tone, keywords and length. The usual way for an agent that writes the posts.",
          "example": {
           "x": "3 pacing mistakes before my first marathon, and the fix for each",
           "linkedin": "What my first marathon taught me about pacing…"
          }
         },
         "networks": {
          "type": "array",
          "items": {
           "type": "string",
           "enum": [
            "instagram",
            "tiktok",
            "youtube",
            "x",
            "linkedin",
            "threads",
            "bluesky",
            "facebook",
            "pinterest"
           ]
          },
          "description": "Networks to check. Default: instagram, x, tiktok, linkedin, threads, bluesky, youtube. facebook and pinterest come back as not_checked.",
          "example": [
           "instagram",
           "x"
          ]
         },
         "title": {
          "type": "string",
          "description": "YouTube title: 100 characters, no < or >.",
          "example": "3 marathon pacing mistakes"
         },
         "media": {
          "type": "array",
          "items": {
           "type": "object",
           "properties": {
            "url": {
             "type": "string",
             "format": "uri"
            }
           },
           "required": [
            "url"
           ]
          },
          "maxItems": 10,
          "description": "Up to 10 public URLs of images or videos. Only the file headers are read, then each network's limits apply.",
          "example": [
           {
            "url": "https://cdn.example.com/clip.mp4"
           }
          ]
         },
         "account": {
          "type": "string",
          "description": "With a workspace key: also checks that account's own limits (TikTok privacy levels, comments, duets, stitches) and today's quota.",
          "example": "acc_tt"
         }
        }
       },
       "example": {
        "networks": [
         "instagram",
         "x",
         "bluesky"
        ],
        "text": "New reel is live #running #pace #marathon #training #run #10k #tips"
       }
      }
     }
    },
    "security": [],
    "operationId": "preflight",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/preflight/"
    },
    "parameters": []
   }
  },
  "/posts/{id}/approval": {
   "post": {
    "summary": "Request approval",
    "description": "Holds the post until a person approves it.",
    "tags": [
     "Approvals"
    ],
    "responses": {
     "200": {
      "description": "Pending approval",
      "content": {
       "application/json": {
        "example": {
         "id": "apr_7",
         "status": "pending",
         "url": "https://postifuse.com/a/…"
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The post id."
     }
    ],
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "approver"
        ],
        "properties": {
         "approver": {
          "type": "string",
          "format": "email",
          "description": "Who receives the approval link.",
          "example": "owner@example.com"
         }
        }
       },
       "example": {
        "approver": "owner@example.com"
       }
      }
     }
    },
    "operationId": "requestApproval",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/request-approval/"
    }
   }
  },
  "/approvals/{id}/approve": {
   "post": {
    "summary": "Approve",
    "description": "",
    "tags": [
     "Approvals"
    ],
    "responses": {
     "200": {
      "description": "Approved",
      "content": {
       "application/json": {
        "example": {
         "id": "apr_7",
         "status": "approved",
         "post": "pst_42"
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The approval id."
     }
    ],
    "operationId": "approve",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/approve/"
    }
   }
  },
  "/approvals/{id}/reject": {
   "post": {
    "summary": "Reject",
    "description": "",
    "tags": [
     "Approvals"
    ],
    "responses": {
     "200": {
      "description": "Rejected",
      "content": {
       "application/json": {
        "example": {
         "id": "apr_7",
         "status": "rejected",
         "post": "pst_42"
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "The approval id."
     }
    ],
    "operationId": "reject",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/reject/"
    }
   }
  },
  "/webhooks": {
   "post": {
    "summary": "Register a webhook",
    "description": "Events are signed with Postifuse-Signature (HMAC SHA-256).",
    "tags": [
     "Webhooks"
    ],
    "responses": {
     "200": {
      "description": "The webhook and its secret",
      "content": {
       "application/json": {
        "example": {
         "id": "whk_3",
         "secret": "whsec_…",
         "events": [
          "post.delivered",
          "post.failed",
          "post.held",
          "account.paused"
         ]
        }
       }
      }
     },
     "403": {
      "description": "Workspace not active",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        },
        "example": {
         "error": "workspace_not_active",
         "message": "The workspace for this key is not active yet.",
         "docs": "https://postifuse.com/docs/errors/"
        }
       }
      }
     }
    },
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "url",
         "events"
        ],
        "properties": {
         "url": {
          "type": "string",
          "format": "uri",
          "description": "Your HTTPS endpoint.",
          "example": "https://app.example.com/hooks/postifuse"
         },
         "events": {
          "type": "array",
          "items": {
           "type": "string",
           "enum": [
            "post.scheduled",
            "post.held",
            "post.delivered",
            "post.failed",
            "approval.decided",
            "account.paused",
            "account.disconnected",
            "media.ready",
            "post.unpublished"
           ]
          },
          "description": "The events to receive.",
          "example": [
           "post.delivered",
           "post.failed",
           "post.held",
           "account.paused"
          ]
         }
        }
       },
       "example": {
        "url": "https://app.example.com/hooks/postifuse",
        "events": [
         "post.delivered",
         "post.failed",
         "post.held",
         "account.paused"
        ]
       }
      }
     }
    },
    "operationId": "createWebhook",
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/create-webhook/"
    },
    "parameters": []
   }
  },
  "/rules": {
   "get": {
    "operationId": "rules",
    "summary": "Get network rules",
    "description": "Text limits, caption rules, YouTube title and media limits per network, each with the network's own source and the date checked. No key needed, CORS open.",
    "security": [],
    "parameters": [
     {
      "name": "networks",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      },
      "description": "Comma-separated network ids. Default: every checked network.",
      "example": "instagram"
     }
    ],
    "responses": {
     "200": {
      "description": "Rules per network",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "networks": {
          "instagram": {
           "name": "Instagram",
           "text": {
            "max": 2200,
            "unit": "characters",
            "source": "https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media",
            "rules": [
             {
              "rule": "instagram.caption.max_hashtags",
              "max": 5,
              "of": "hashtags",
              "source": "https://www.socialmediatoday.com/news/instagram-implements-new-limits-on-hashtag-use/808309/"
             },
             {
              "rule": "instagram.caption.max_mentions",
              "max": 20,
              "of": "@ mentions"
             }
            ]
           },
           "media": {
            "source": "https://developers.facebook.com/docs/instagram-platform/instagram-graph-api/reference/ig-user/media",
            "image": {
             "formats": [
              "jpeg"
             ],
             "maxBytes": 8388608,
             "ratio": [
              0.8,
              1.91
             ]
            },
            "video": {
             "formats": [
              "mp4",
              "mov"
             ],
             "maxBytes": 314572800,
             "duration": [
              3,
              900
             ],
             "ratio": [
              0.01,
              10
             ],
             "maxWidth": 1920,
             "moovFirst": true
            }
           }
          }
         },
         "checked_at": "2026-12-06"
        }
       }
      }
     }
    },
    "tags": [
     "Preflight"
    ],
    "externalDocs": {
     "url": "https://postifuse.com/docs/api/rules/"
    }
   }
  }
 },
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {
   "Error": {
    "type": "object",
    "required": [
     "error",
     "message"
    ],
    "properties": {
     "error": {
      "type": "string"
     },
     "message": {
      "type": "string"
     },
     "rule": {
      "type": "string"
     },
     "fix": {
      "type": "string"
     },
     "docs": {
      "type": "string",
      "format": "uri"
     }
    }
   },
   "Profile": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "name": {
      "type": "string"
     },
     "external_id": {
      "type": [
       "string",
       "null"
      ]
     },
     "is_default": {
      "type": "boolean"
     },
     "accounts": {
      "type": "integer",
      "description": "Number of connected accounts"
     }
    }
   }
  }
 },
 "tags": [
  {
   "name": "Preflight",
   "description": "Check a post against each network's rules before it goes out. Live today, no key."
  },
  {
   "name": "Accounts",
   "description": "The social accounts connected to a workspace, each in one profile."
  },
  {
   "name": "Profiles",
   "description": "One profile per client, brand or end user, and keys limited to them."
  },
  {
   "name": "Media",
   "description": "Upload a file once, see how it fits each network, adjust it per network."
  },
  {
   "name": "Posts",
   "description": "Create, schedule, publish, unpublish, and read a receipt per account."
  },
  {
   "name": "Approvals",
   "description": "Optional: hold a post until a person approves it."
  },
  {
   "name": "Webhooks",
   "description": "Signed events for every post and account change."
  }
 ]
}
