API keys and OAuth 2.0
NoteGate supports two authentication methods: tenant API keys (for server-to-server integrations) and OAuth 2.0 client credentials (for CRM-side integrations where a token is exchanged per session).
Tenant API key
Issued per tenant via the admin dashboard. Pass in the Authorization header.
OAuth 2.0 client credentials
Use the token endpoint to exchange your client ID and secret for a short-lived access token (60 minutes). Suitable for CRM-side integration launches where context is passed per session.
Available today
The following endpoints are available in production. Document only what exists: do not assume endpoints that are not listed below are available.
Note submission
Used at the final step of the compliance authoring workflow. Submits a completed compliant note. Returns the note ID and audit metadata. Also writes the note into the CRM via outbound webhook (when configured through the launch partner program).
Field mapping administration
Define tenant-specific field name overrides. Your overrides take precedence over the built-in map on every authoring call. Required if your CRM instance uses non-standard field names.
Inbound note intake
Accepts a note payload directly from a CRM's existing API call, applies the tenant's field mapping automatically, and returns the authoring workflow launch token or the compliance result depending on the workflow mode.
mode parameter.HTTP status codes and error bodies
All errors return JSON with an error string and a human-readable message field.
| Status | Error code | Meaning |
|---|---|---|
| 400 | invalid_request | Malformed JSON or missing required fields. |
| 401 | unauthorized | Missing or invalid API key or access token. |
| 403 | forbidden | Token does not have the required scope. |
| 404 | not_found | The requested resource does not exist for this tenant. |
| 422 | compliance_failed | The note did not meet compliance requirements. The flags array in the response details each issue. |
| 429 | rate_limited | Rate limit exceeded. See Retry-After header. |
| 500 | internal_error | Server error. Retry with exponential backoff. Contact api@notegate.com.au if persistent. |
Per-key limits
Rate limits apply per API key. Limits are subject to change as capacity scales. Contact api@notegate.com.au for higher limits.
| Endpoint group | Limit | Window |
|---|---|---|
| POST /v1/notes | 120 requests | Per minute |
| GET /v1/notes/:id | 300 requests | Per minute |
| POST /v1/admin/mappings | 10 requests | Per minute |
| POST /v1/inbound | 120 requests | Per minute |
| POST /oauth/token | 20 requests | Per minute |
Planned endpoints
POST /v1/inbound/launch-token— Issue a single-use launch token for CRM-side Shift Note button integrationPOST /v1/notes/bulk— Bulk import endpoint for CSV-originated historical notesGET /v1/audit-log— Retrieve the full audit log for a tenant, structured for SIEM exportGET /v1/participants/:id/notes— List all submitted notes for a participant
To be notified when the full spec is published, email api@notegate.com.au with the subject "OpenAPI spec notification".