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:
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.
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:
- Tag finance envelopes with
financeand sales envelopes withsales. - Configure one webhook endpoint to receive only
financeevents and another forsalesevents. - 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.
| Envelope | topics | Returned 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 |
GET /v1/envelopes?topic=sales HTTP/1.1
Host: api.signatureapi.com
X-API-Key: YOUR_API_KEYTopics 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.