How authentication works

Snapdocs APIs leverage client_credentials OAuth2 flow for authentication. There are some key and Auth URL, and scope differences per product to watch out for. OAuth 2.0 client credentials covers the shared flow in detail, Cache and reuse bearer tokens covers token lifecycle, and below we link to each products specific page.

OAuth 2.0 client credentials

eClose, Post Close QC, eVault, and Notary Connect all authenticate the same way:

  1. Snapdocs provisions a client_id and client_secret for your integration.
  2. You POST to the /oauth/token endpoint with grant_type=client_credentials and the audience of the API you're calling.
  3. You send the returned bearer token in the Authorization header. Tokens expire after 2 hours, so cache and reuse them until expiration.

The above products differ only in audience and scopes:

ProductToken host (production)What differs
eCloselogin.snapdocs.comeClose scopes (see eClose scopes)
Post Close QClogin.snapdocs.comQC scopes, same token endpoint
eVaultlogin.snapdocs.comits own audience and scopes, see eVault's Authentication Overview
Notary Connectlogin.snapdocs.comNotary Connect audience and noco: scopes, see Notary Connect: Getting Started

The token endpoints are in the API Reference tab of this section, and hosts per environment are in Environments and base URLs.

Legacy Notary Connect Authentication

ProductHow it differs
Notary ConnectDeprecated. A static API key in the X-AUTH-TOKEN header, scoped to your company or client. New integrations use OAuth 2.0 as described above. The API token remains your webhook signing secret after you move to OAuth. See Notary Connect: Getting Started.