Search envelope

The Yoti Sign API has an ‘search’ function. This allows you to search for envelopes with filters to only retrieve envelopes with specific attributes.

HTTP
Copy
HTTP
Copy

Headers explained

The following elements are needed:

HeadersContent
AuthorizationAPI Key to call the Yoti Sign API. This should be sent as a bearer token.

Example code

Javascript
Java
PHP
C#
Go
Copy

Query Parameters

With the search request you have the option to add the below query parameters to filter which envelopes are returned.

ParameterDescriptionExample
from_datethe start position in the list sorted by created_at limited to YYYY-MM-DD. If this property isn't present in the request the default value of 3 months in the past will be used/v2/organisation/envelopes/search?from_date=2021-01-01
to_datethe end position in the list sorted by created_at limited to YYYY-MM-DD. If this property isn’t present in the request the default value of tomorrow’s date at 00:00 will be used/v2/organisation/envelopes/search?to_date=2021-02-02
statusthe statuses of the envelopes. If this property isn’t present in the request all status types will exist in the search/v2/organisation/envelopes/search?status[]=active&status[]=complete
offsetthe starting position in the list of all sorted envelopes, default value is 1/v2/organisation/envelopes/search?offset=1
limitthe number of results to return, default value is 10/v2/organisation/envelopes/search?limit=50

Example Response

JSON
Copy

Error codes

If the request is unsuccessful a response code and a message will be sent

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard