Workspace API
Upsert Subscription
Subscribe to a signal type or update an existing subscription with POST /workspace/signal-subscriptions/upsert.
POST https://api.parcelengineering.com/api/v1/workspace/signal-subscriptions/upsertSubscribes the workspace to a signal type or sets its priority. The operation is keyed by signal_type: if the workspace already subscribes to the type, a priority in the body replaces the stored one. A subscribed type counts on Home, at its priority. Email is personal: each member sets it in Settings → Notifications.
Upsert costs 0 credits.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
signal_type | string | Yes | The signal type to subscribe to. See Valid signal types below. |
priority | string | No | The Home priority for signals of this type: high, medium, or low. Defaults to medium on create. |
Any other field (the retired channels, notify_all_members, recipient_user_ids, cadence) is refused with 400.
Valid signal types
The signal_type field accepts any value from the subscribable signal taxonomy:
project_announcement, pre_application, site_acquisition, demolition_permit, site_prep, entitlement_application, environmental_review, public_review, entitlement_approval, entitlement_denial, withdrawal, expiration, permit_filed, permit_issued, construction_loan, under_construction, team_update, completion
Note: rfp is a reserved type and is not subscribable.
Example
curl -X POST https://api.parcelengineering.com/api/v1/workspace/signal-subscriptions/upsert \ -H "Authorization: Bearer pcl_your_api_key" \ -H "Content-Type: application/json" \ -d '{ "signal_type": "permit_issued", "priority": "high" }'const response = await fetch( 'https://api.parcelengineering.com/api/v1/workspace/signal-subscriptions/upsert', { method: 'POST', headers: { 'Authorization': 'Bearer pcl_your_api_key', 'Content-Type': 'application/json', }, body: JSON.stringify({ signal_type: 'permit_issued', priority: 'high', }), });
const { data, metadata } = await response.json();Response
The response is the full list of the workspace’s subscriptions after the upsert, in the same shape as List Subscriptions.
{ "data": { "subscriptions": [ { "id": "7c3f1a2b-0001-4e8d-bf6a-000000000001", "signal_type": "permit_issued", "priority": "high", "created_at": "2025-06-01T12:00:00.000Z", "updated_at": "2025-06-15T09:30:00.000Z" } ], "filed_floor_days": 90 }, "metadata": { "credits": 0 }}Upsert costs 0 credits.