API Integration

Developer API

Use API keys from your workspace to create, update, and publish releases from your CMS, CRM, or deployment pipelines.

Authentication

Send your API key in the Authorization header:

Authorization: Bearer nwr_your_api_key

Create keys via signed-in workspace endpoints: POST /api/platform/developer/keys and list keys via GET /api/platform/developer/keys.

Base URL

/api/developer/v1

Endpoints

  • GET /me - current account context for this key
  • GET /releases?status=draft|published&page=1&limit=25 - list your releases
  • GET /releases/:id - fetch one release
  • POST /releases - create release (draft or published)
  • PUT /releases/:id - update release and optionally publish

Create a Draft (Example)

curl -X POST "http://localhost:3500/api/developer/v1/releases" \
  -H "Authorization: Bearer nwr_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Northstar Robotics Opens New Assembly Facility",
    "subtitle": "Site increases manufacturing output by 40%",
    "content": "

Northstar Robotics today announced...

", "category": "Product", "tags": "robotics,manufacturing,automation", "status": "draft" }'

Publish with API

Set status to published in POST /releases or PUT /releases/:id. Publishing consumes one available press-release credit from the account.