Skip to article

Manage credentials, consent and API activity

Rotate credentials, revoke delegated access and investigate recorded API requests.

Manage credentials and application access in Integrations → Applications. Before changing a live integration, identify the application, workspace and credential affected. Application setup explains how approval and credential scopes work together.

Rotate or revoke a credential

  1. Open the application's Credentials area and identify its public credential or client ID.

  2. For a planned replacement, issue a new credential with the required scope. Save its one-time secret privately and update your integration's secure configuration.

  3. Test the replacement against the permitted operation in a controlled workspace.

  4. Revoke the old credential and check its saved status.

If issuance had an unclear result, inspect credential metadata before creating another one. Secrets cannot be retrieved from historical rows. Public clients have no secret; confidential client secrets stay on your backend.

Editing client scopes affects that client. Removing an application approval affects all its credentials. A valid credential missing required access receives 403; a revoked or invalid credential receives 401.

Manage your authorizations

Use My Account → Authorized applications to review and revoke your own delegated permissions. The API equivalents are list authorizations and revoke authorization. They require a human session; revocation uses the current grant version.

Workspace administrators can review Active and Revoked grants under the application's Access → Delegated authorizations. Check the application, person, workspace and permission before revoking a grant.

Inspect API activity

Open API Activity and select the application. Filter by date, method, outcome, path or correlation reference where offered.

Check the period and coverage notice. Security events and HTTP requests are separate records, and unavailable history must not be treated as zero traffic. Return to the application or source request to investigate further.

Webhook subscriptions and verification

Open the application's Webhooks tab. Create a public HTTPS endpoint, select explicit events, and save it disabled. The available events are business.created.v1, business.updated.v1, contact.created.v1, contact.updated.v1, lead.created.v1 and lead.updated.v1. Meaningful committed native changes produce events, including changes made in Prastav and through developer APIs. A normalized no-op or retained idempotent replay produces no new event. Deletion and Proposal events are not offered.

Use the endpoint's signing-secret action and store the one-time value securely in your receiver. Prastav cannot reveal it again. Run the explicit verification delivery, review its persisted result, then enable the endpoint separately. Verification uses endpoint.verification.v1, a control probe rather than a business subscription. A 2xx response confirms receiver reachability with the current signing key. It does not prove that your receiver validated the signature or completed business processing. Platform outbound delivery must also be enabled by an authorized operator; it defaults off.

Endpoint URLs must use HTTPS port 443 with a valid certificate, no URL credentials, query string or fragment. Public DNS/address validation runs again at dispatch. Localhost, private/link-local/metadata and special networks are denied. Redirects are not followed. Limits are 20 active destinations per app, six event subscriptions, a 2048-character URL, a 500-character description and a 16 KiB event payload. Response bodies are not retained. Platform operators can inspect customer delivery evidence but cannot edit destinations or reveal/rotate customer signing material through oversight.

Validate signatures and deduplicate

The exact UTF-8 JSON bytes have this metadata only:

{"eventId":"6d7c33f1-4a9e-47be-9141-ae372b0b4aa5","schemaVersion":1,"eventType":"business.updated.v1","workspaceId":"4ff37630-d4c0-4219-9f4f-8d1250055049","resourceId":"ae508f42-7323-4d1d-9144-f0a06bbb9564","resourceType":"Businesses","occurredUtc":"2026-11-13T09:00:00Z","revisionUtc":"2026-11-13T09:00:00Z","actorKind":"Application","correlationId":"safe-reference"}

Use your separately authorized API credential to fetch current resource data. The event contains no customer snapshot and grants no additional API permission.

Prastav-Signature contains t=<unix-seconds>,v1=<lowercase-hex>. Calculate HMAC-SHA256 with the UTF-8 signing secret over ASCII timestamp, a literal ., and the original received body bytes. Do not parse/reserialize before checking. Require an acceptable timestamp window (start with five minutes), compare in constant time against a supported v1 signature, and persist EventId deduplication before effects. Reject invalid signatures before processing. Headers Prastav-Event-Id, Prastav-Delivery-Id and Prastav-Attempt-Id identify the native event, logical delivery and physical attempt. A new delivery/replay may carry the same EventId.

Manual rotation disables delivery and requires a new current-key verification and explicit enablement. UI overlap is optional for one hour; the management contract permits up to 24 hours. Ordinary business delivery can carry two v1 signatures during overlap. Verification probes use only the current key, so the old key alone cannot satisfy renewal. An exhausted Unknown verification or a probe from an earlier key/security generation remains history. After reviewing that outcome, a manager can deliberately request a current test. Acknowledgement, context change and closing the reveal discard the raw value.

Delivery outcomes and recovery

History shows event/endpoint/delivery identities, UTC occurrence and attempts, HTTP status, next attempt, safe failure reason and correlation. Accepted means an observed 2xx only. It does not mean your business workflow completed. Timeout or response loss is Unknown. Never treat it as proof that the receiver did not process the event.

Delivery is at least once. Prastav retries 429/5xx and uncertain outcomes with bounded backoff/jitter starting at 30 seconds, up to one hour, respecting Retry-After up to one hour. Automatic attempts end at ten or three days. Redirects and ordinary 4xx are terminal. A worker crash is recovered from persisted intent/leases; a crash after submission can cause another delivery. Always deduplicate EventId.

An authorized workspace manager may review and explicitly replay a terminal Failed, Cancelled or exhausted Unknown event up to seven days old. Replay retains EventId, creates a new DeliveryId and records its relationship to the original. Current app, owner, plan, resource and subscription authority still apply. Review receiver evidence before replay; an Unknown event may already have been processed. Endpoint retirement clears signing keys and preserves history.

Platform delivery disablement or app security/approval changes fence queued generations. Recovery does not automatically deliver stale events; events before platform enablement are not backfilled. Emergency revoke-all also disables and clears webhook signing material. A dispatch that already began cannot be recalled. Restore deliberately with a new key, verification and enablement where authorized.

Activity, usage and troubleshooting

API Activity supports exact app/credential, method, HTTP status/outcome, safe route/path, correlation and time filters, deterministic time sorting and server paging. Its default period is seven days and maximum query period is 31 days. MainDb security events and LogDb HTTP observations remain separate. The Overview usage summary reports observed HTTP requests, security operations, distinct prepared webhook events and physical delivery attempts independently over seven days. Partial coverage means observed counts may be incomplete; Unavailable is unknown, not zero traffic. A registered endpoint is not health.

For an error, retain operation/event/delivery/attempt ID, status, UTC and safe correlation. Follow API troubleshooting. Do not include signing keys, tokens, callback codes, private request/response bodies or customer PII.

Copy this link

Clipboard access is unavailable. Select and copy the link below.