Ghostsign Actions icon

Ghostsign Actions

Ghostsign automation helpers covering signing delivery, previews, embeddings, SMTP, AI fill, chat with project, and webhooks.

Integrations › Upsert Webhook

AI-generated

Summary

Upsert a Ghostsign webhook for a specified organization, creating a new webhook or updating an existing one.

Inputs

  • organizationIdUpsert — Organization identifier or name to which the webhook belongs.
  • webhookUrl — Target URL for the webhook endpoint.
  • webhookExistingId — Optional existing webhook UUID to update instead of creating a new webhook.
  • webhookSecretPlain — Plaintext secret payload; mandatory when creating a new webhook, optional for updates.
  • webhookActive — Flag indicating whether the webhook should be active upon creation (defaults to true).

Output shape

Single webhook object returned by Ghostsign API

The response contains the created/updated webhook details; fields may be omitted if not set.

Examples

Example 1: Create a new webhook for an organization

organizationIdUpsert: "Acme Corp"; webhookUrl: "https://example.com/webhook"; webhookSecretPlain: "my-secret"; webhookActive: true

Example 2: Update an existing webhook's URL

organizationIdUpsert: "Acme Corp"; webhookExistingId: "abc123"; webhookUrl: "https://new.example.com/webhook"; webhookSecretPlain: ""; webhookActive: true

Example 3: Rotate the webhook secret without changing the URL

organizationIdUpsert: "Acme Corp"; webhookExistingId: "abc123"; webhookUrl: "https://example.com/webhook"; webhookSecretPlain: "new-secret"; webhookActive: true

Links

Discussion