Developer access & API keys
Current release · Updated October 4, 2026
Give integrations a separate identity with reviewed workspace permissions.
Choose an integration identity
Open Settings - Developer access as an owner or administrator. A service account represents an integration, not a teammate: it cannot sign in to the application and does not consume a user seat. Choose a recognizable name and explicit current object permissions. Each object needs Read; Create, Update, Delete and Add notes can be added where supported. Read includes every field and owner for that object. Fine field/team/owner policies are not implied. Financial objects allow only Read and Add notes through this API.
Review workflow identities
The Workflow accounts section lists one automatically created identity per immutable published version, including managed campaigns and WhatsApp AI versions. Open a version to review its native object actions and saved resource names. Owners/admins can reduce actions or disable it; restoring actions or enabling requires current password approval. Stale edits remain until you explicitly refresh. Workflow identities never receive API keys or consume integration-account limits.
The reviewed graph sets an immutable ceiling for native actions, step kinds, pinned child/error versions, saved credentials, calendars and outreach connections. Caller and error-source identities constrain downstream execution too. Read covers all fields/owners; finer field/team restrictions remain unfinished. Saved external resources retain their published authority and are not edited by the native-object checkboxes. Publish a reviewed version to change resources. Dynamic notes and event input can need read access to all objects present at publication; future objects are not granted automatically.
Disable blocks admission and further checked effects, including continuation after a Wait or recovery. In-flight native transactions can finish before the change saves. An external request already accepted cannot be recalled. Completed steps and history remain. Publishing a new reviewed version creates fresh access; restrictions on a historical version do not automatically carry over.
Approve an expiring key
Approve creating an account, expanding access, enabling a disabled account, issuing a key or rotating one with your current password. Access approval is limited to 30 attempts per account per 15 minutes. Each key has its own permissions within the saved account ceiling and expires after 1-365 days. Accounts support up to ten active keys; workspaces support up to100 active service accounts. New objects receive no automatic permission.
A newly issued secret appears once. Keep it in your integration’s secret store, never in a website, browser bundle, URL, shared screenshot or source repository. List/detail/history responses contain only metadata and a public prefix. If the first response is lost, retrying the same reference returns the existing key with no secret; revoke that key and issue a replacement.
Narrow, disable, rotate or revoke
Reducing account permissions permanently narrows existing keys. A later expansion does not silently restore them. Disabling the account blocks all its keys; enabling again requires password approval. Rotate issues a replacement and immediately revokes the old key; update the integration to use the one-time replacement. For a staged change, issue a separate key first and revoke the old one afterward.
Revocation and disablement wait for business transactions already using the key. Those can finish; future requests fail. Revoked keys and disabled accounts remain in history. API request history lists normalized operations/statuses and public integration names, with pagination and no customer payloads or credentials. Final history is asynchronous and can omit a row if the process exits before recording it; valid authenticated attempts are durably metered before dispatch.
Use the versioned CRM API
Use Authorization: Bearer with the secret under https://app.drykraft.com/api/v1. Browser session cookies cannot replace a key here; keys cannot access browser, billing, workflow, provider or administrator endpoints. /me reports the current effective permissions; /objects shows authorized schemas. Contacts, companies, leads, opportunities and tasks have native collection aliases; /records/{key} also supports custom objects and financial reads.
Writes require a UUID Idempotency-Key, current permission and active trial/paid access. PATCH keeps omitted fields and requires the current record version. The same key/account/request reference retries without repeated records, notes or events. Reusing it with another path or payload conflicts. Preserve field order when retrying; the validated serialized JSON must match. Refresh after409. Archived contact references remain resolvable. Financial writes and deletion use Finance in the application. An external SDK and service-account workflow/provider administration remain outstanding.
Subscribe to customer webhooks
The administrator session API under /api/developer/webhooks registers public HTTPS endpoints for selected business events. It is separate from incoming workflow, Dodo and Meta callback URLs. Read the current event catalogue, supply a stable creation UUID and approve with your current password. Open Settings - Webhooks, choose New webhook, enter the receiving URL and select events. Approve with your current password, then save the one-time signing secret privately. Open a subscription to change its configuration, rotate the secret or inspect delivery history. Use the Customer webhooks API reference for the administrator session contract. Up to 50 retained endpoints and 100 selected event types per endpoint are supported.
A committed business event and its pending delivery are stored together. Subscriptions receive future matching events only, including custom CRM objects currently in the catalogue. The immutable schema_version=1 envelope contains event ID/type, workspace ID, occurrence timestamp, resource type/ID and correlation/causation IDs. Customer fields, message text, emails and credentials are excluded. Use your separately scoped CRM key to fetch authorized current record details when needed.
Verify signatures before processing
Every request is POST application/json with drykraft-webhook-id, drykraft-webhook-timestamp, drykraft-webhook-signature and Idempotency-Key. The delivery ID is stable across retries/replay; the envelope id is the business event ID. Signature format is v1= followed by lowercase hexadecimal HMAC-SHA256. The key is the UTF-8 one-time signing secret exactly as issued. Sign the UTF-8 delivery ID, a period, decimal Unix timestamp in seconds, another period, then the exact raw body bytes. Do not parse and reserialize JSON before verification.
At your receiver, enforce a five-minute timestamp window, validate header formats and use a timing-safe comparison of equal-length decoded digest bytes before trusting the payload. Keep a durable unique constraint on the delivery ID, including across retries and manual replay, and return a 2xx response only after accepting the work durably. A timeout or worker interruption can happen after your server has accepted the message. Signing alone does not prevent duplicated external effects.
Handle retry, failure and replay
Any 2xx response completes delivery. Redirects are blocked, DNS is rechecked and pinned on every attempt, and private/reserved addresses are refused. HTTPS port 443 is required; user credentials, query parameters and URL fragments are prohibited. Attempts use the existing 20-second bounded HTTP transport. Failed attempts retry after 60 seconds, 5 minutes, 30 minutes and 2 hours; the fifth failure disables the endpoint and cancels its other pending deliveries. Expired billing defers delivery 15 minutes without consuming an attempt.
History lists 25 deliveries per page and the latest 50 completed attempts per delivery. Receiver bodies, raw network errors and signing values are never saved. A process loss after receiver acceptance can omit the completed attempt. Fix the receiver, reapprove enabling the endpoint, then replay a current failed delivery using a stable operation UUID and acknowledge_duplicate=true. Replay preserves the original destination, event/body and delivery ID, resets the five-attempt cycle and uses a fresh timestamp/current secret. Cancelled deliveries are not replayable. Disabling, removing a subscribed event or changing destination cancels its pending old deliveries; in-flight work may finish before the change completes.
Rotate a webhook secret
Signing secrets are encrypted with the workspace-bound vault and shown only in the initial creation/rotation response. A completed retry returns secret=null. Rotation requires current password, current endpoint version and a new operation UUID. All subsequent deliveries and retries use the replacement secret immediately; the previous secret has no server-side grace period. Prepare the receiver to accept the replacement during a coordinated rotation, then remove the old verification key. If the one-time response is lost, rotate again rather than attempting to retrieve it. No real external receiver acceptance is implied by local contract tests.
MCP