/api/v1publicAPI discovery
Returns base URL, OpenAPI link, docs links, auth hints, and available scopes.
Hit this first when wiring a new client. It tells you where OpenAPI lives, which scopes exist, and that writes use preview → confirm.
curl -s "https://postwing.io/api/v1"
{
"name": "PostWing Agent API",
"version": "1.0.0",
"base_url": "https://postwing.io/api/v1",
"openapi_url": "https://postwing.io/api/v1/openapi.json",
"documentation": "https://postwing.io/docs",
"security": {
"scopes": [
"accounts:read",
"accounts:write",
"posts:read",
"posts:write",
"workspaces:read",
"workspaces:write"
],
"write_flow": "preview → confirmation_token → confirm (token expires in 5 minutes)",
"isolation": "All data is scoped to the authenticated user and active workspace"
}
}