Skip to content

Organizing envelopes

Envelope topics

Tag envelopes with topics to send their webhook events to the right endpoints and to filter the envelope list by category.

Topics are tags you assign to envelopes. They serve two purposes: filtering webhook notifications and querying envelopes by category.

You can assign up to 10 topics per envelope. Each topic must start with a lowercase letter and contain only lowercase letters, numbers, and underscores (maximum 32 characters).

Assigning topics

Set the topics property when creating an envelope:

HTTP
POST /v1/envelopes HTTP/1.1
Host: api.signatureapi.com
X-API-Key: YOUR_API_KEY
Content-Type: application/json

{
  "title": "Service Agreement",
  "topics": ["sales", "q4_2026"],
  "documents": [
    {
      "url": "https://pub-9cb75390636c4a8a83a6f76da33d7f45.r2.dev/docs-samples/acme-service-agreement.pdf",
      "places": [
        { "key": "client_signs_here", "type": "signature", "recipient_key": "client" },
        { "key": "provider_signs_here", "type": "signature", "recipient_key": "provider" }
      ]
    }
  ],
  "recipients": [
    { "type": "signer", "key": "client", "name": "Jane Doe", "email": "jane.doe@example.com" },
    { "type": "signer", "key": "provider", "name": "John Smith", "email": "john.smith@example.com" }
  ]
}

Filtering webhooks by topic

Configure a webhook endpoint in the dashboard to receive events only for envelopes with specific topics. This lets you route different envelope types to different endpoints or trigger different workflows without building complex routing logic.

An endpoint with a topic filter receives an envelope’s events when the envelope has at least one of the endpoint’s topics. A webhook with no topic filter receives events for all envelopes, including envelopes without topics.

Which webhook endpoints receive an envelope's events
Which webhook endpoints receive an envelope's events6 parts: Envelope: sales, q4_2026, Envelope: finance, Envelope: no topics, Filter: sales, Filter: finance, No filter. Connections: Envelope: sales, q4_2026 to Filter: sales (sales); Envelope: finance to Filter: finance (finance); Envelope: sales, q4_2026 to No filter; Envelope: finance to No filter; Envelope: no topics to No filter.Envelopes and their topicsWebhook endpoints and their topic filtersEnvelope: sales, q4_2026Envelope: financeEnvelope: no topicsFilter: salesFilter: financeNo filtersalesfinance
Envelopes and their topicsWebhook endpoints and their topic filtersEnvelopes and their topics (continued)Webhook endpoints and their topic filters (continued)Envelopes and their topics (continued)Envelope: sales, q4_2026Filter: salesNo filterEnvelope: financeFilter: financeEnvelope: no topicssalesfinance
Diagram as text

Parts

  • Envelope: sales, q4_2026: Matches the sales filter.
  • Envelope: finance: Matches the finance filter.
  • Envelope: no topics: Matches no filter.
  • Filter: sales: Receives events of envelopes that have the sales topic.
  • Filter: finance: Receives events of envelopes that have the finance topic.
  • No filter: Receives the events of every envelope.

Connections

  • Envelope: sales, q4_2026 to Filter: sales: sales
  • Envelope: finance to Filter: finance: finance
  • Envelope: sales, q4_2026 to No filter
  • Envelope: finance to No filter
  • Envelope: no topics to No filter

For example, a company with separate finance and sales workflows can:

  1. Tag finance envelopes with finance and sales envelopes with sales.
  2. Configure one webhook endpoint to receive only finance events and another for sales events.
  3. Each endpoint receives only the notifications relevant to its workflow.

Filtering envelopes by topic

Use the topic query parameter on the List Envelopes endpoint to retrieve envelopes for a specific topic. An envelope matches when topic is one of its topics.

EnvelopetopicsReturned for ?topic=sales
Service Agreement["sales", "q4_2026"]Yes
Mutual NDA["legal"]No
Offer Letter["hr", "onboarding"]No
Reseller Agreement["sales"]Yes
Expense Approval[]No
HTTP
GET /v1/envelopes?topic=sales HTTP/1.1
Host: api.signatureapi.com
X-API-Key: YOUR_API_KEY

Topics vs. metadata

Use topics to categorize and filter envelopes within SignatureAPI. Use metadata to store information that connects envelopes to records in your own systems.