Signatures
Envelope Count
Markdown for LLMsReturns how many envelopes each view of the caller's envelope list holds — inbox, sent, drafts, trash, todo, expiring, pending and completed — in one call, for badges and summary screens. Each number is the pagination.totalCount signatures-envelope-list returns for that view, so a count and the list it summarizes agree.
It takes no parameters and counts only the caller's own envelopes; any query parameter sent is ignored.
Send a bearer token. A call without one is rejected at the gateway with 401 AUTHORIZATION_ERROR; a recipient's tid is not accepted.
AuthorizationBearer <token>
JWT token to authenticate the request.
In: header
X-Api-Key<token>
API key, sent as a request header.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/signatures/envelope/count"{ "result": { "statusCode": 200, "message": "OK", "data": { "envelopes": { "inbox": 87, "sent": 188, "drafts": 15, "trash": 79, "todo": 0, "expiring": 1, "pending": 1, "completed": 2 } } }, "origin": "GET https://api.doctavian.com/v1/signatures/envelope/count", "dateTime": "2026-10-06T09:41:06.000Z", "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5", "operationId": "a855dabf45f09f4f50bffc164b05c275"}{ "error": { "statusCode": 500, "message": "Internal Server Error", "innerErrors": [ { "code": "FUNCTION_EXECUTION_ERROR", "message": "An error ocurred during function execution", "userMessage": "An error ocurred during function execution", "eventId": "6e2b9d4f-1c7a-4e05-b3d8-9a0f2c6e1b47" } ], "externalErrors": [] }, "origin": "GET https://api.doctavian.com/v1/signatures/envelope/count", "dateTime": "2026-10-16T10:41:20.000Z", "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5", "operationId": "0d6e4a2c9b1f47e38a5c2e9d7b0f3a61"}