Skip to main content
Docs/Workspace API
Workspace APIv1

Workspace API

Programmatically read and write your Staffify workspace data: CRM contacts, companies, deals, plus real-time webhooks. REST + Bearer auth, OpenAI/Stripe-compatible response shapes.

Base URL

https://app.staffifyai.com/api/workspace/v1

All endpoints are HTTPS-only. Every request must include a Bearer token in the Authorization header. See Authentication.

Request bodies are capped at 1 MB. Larger payloads are rejected with 413 REQUEST_TOO_LARGE.

Quick start

Create an API key in Settings → Developer → API keys, then hit any endpoint:

curl https://app.staffifyai.com/api/workspace/v1/contacts \
  -H "Authorization: Bearer sfy_wsp_live_YOUR_KEY"

Response shape

Single-resource responses wrap the resource with a object discriminator. List responses use object: "list" with cursor pagination.

// GET /api/workspace/v1/contacts/123
{
  "object": "contact",
  "id": 123,
  "email": "[email protected]",
  "first_name": "Jan",
  ...
  "meta": { "request_id": "b28f..." }
}

// GET /api/workspace/v1/contacts
{
  "object": "list",
  "data": [ { "object": "contact", "id": 123, ... }, ... ],
  "has_more": true,
  "next_cursor": "122",
  "meta": { "request_id": "c17d..." }
}

Guides

Resources

OpenAPI spec

Machine-readable spec for code generation. Point Stainless, OpenAPI Generator, or your preferred tool at:

https://docs.staffifyai.com/openapi/workspace-api.yaml
Workspace API - Staffify