Evia Sign
  • Welcome to Evia Sign
    • What can Evia Sign do?
  • How to send signature request?
    • How to enable multiple signatories to access and sign documents at the same time?
    • How to add approvers and CC recipients to a signature request?
    • How do you add authentication to your request?
    • How do you send a private message?
  • How to sign documents?
    • Opening a document through Evia Sign inbox
    • Explore the different ways to add your signature
  • How to draft documents?
    • Components of DRAFTS in Evia Sign
  • Explore Evia Sign Inbox
  • How to create and use templates
    • Components of TEMPLATES
  • How to save your signature and initial?
  • How to add date stamp to your signature?
  • How to set up automatic reminders & expiration for signature requests
  • Users
    • How to import O365 users?
    • How to add new users?
    • How to delete users?
    • How to activate and deactivate users?
  • How do I change the current subscription plan of my account?
    • How to cancel and renew plan?
    • How do I purchase additional user licenses?
  • How to work with Enadoc Integration?
  • Terms to be familiar
  • FAQs
    • How to login into Evia Sign?
    • How do I make an account recovery?
    • How do you configure stamps?
    • How do you manually send reminders to signatories?
    • How do you view document history?
    • How do you decline a document?
    • How do you download a document?
    • What is a digitally certified document?
    • How are additional user licenses purchased?
    • How do you send reminders to signatories?
    • How to modify your session duration?
    • How do I monitor the request usage of my Evia Sign account?
  • Release Notes
  • Evia Sign API
    • V1
      • Overview
      • Authorization of the API Access
      • Requests
        • Document Upload
        • Send Requests
      • Request Types
        • Template
        • Fixed Positioning
        • Auto Stamping
    • V2
      • Welcome to Evia Sign API Version2
      • How to Migrate from API v1 to v2 - Beginner Guide
      • Authorization & Authentication
        • How to Register Your Application
        • Requesting the Authorization Code
        • Exchange Authorization Code for Access Token
      • Document Upload
      • Create Signature Request
      • Add Signatories to a Request
      • Add Stamps to a Signatory
      • Send Signature Request
      • Webhook Management
      • Glossary & Common Fields
  • Welcome to the New and Improved Evia Sign
  • How to Use the PDF Commenting Feature in Evia Sign
  • How to Upload Documents from SharePoint in Evia Sign
Powered by GitBook
On this page
  • Get OAuth 2.0 Authorization Code
  • Endpoint
  • Required Query Parameters
  • Example Authorization URL
  • How It Works
  • Example Redirect Response

Was this helpful?

  1. Evia Sign API
  2. V2
  3. Authorization & Authentication

Requesting the Authorization Code

Get OAuth 2.0 Authorization Code

Once your application has been registered and you’ve obtained the Client ID, the next step is to request an authorization code. This code is a temporary credential that you will later exchange for an access token.

This step is executed directly by the third-party system via an HTTP GET request to Evia Sign’s authorization endpoint.

Endpoint

GET /_apis/falcon/auth/oauth2/authorize

Initiates the OAuth 2.0 Authorization Code Flow.

This endpoint is used to request an authorization code by passing your application's credentials and configuration details as query parameters. The response will redirect to your registered redirect_url with an authorization code that can be used to request an access token.

Required Query Parameters

Parameter
Required
Description

application_state

✅ Yes

Static value, typically set to external for external integrations.

resource

✅ Yes

The resource type being accessed; usually RESOURCE_APPLICATION.

client_id

✅ Yes

Your application's unique Client ID received during app registration.

scope

✅ Yes

The permission scope being requested (e.g., Sign Falcon Licensing).

response_type

✅ Yes

Must be set to code to receive an authorization code.

Example Authorization URL

http://evia.enadocapp.com/_apis/falcon/auth/oauth2/authorize?
application_state=external&
resource=RESOURCE_APPLICATION&
client_id=YOUR_CLIENT_ID&
scope=Sign%20Falcon%20Licensing&
response_type=code

How It Works

  1. Build the URL using your client_id, desired scope, and other parameters.

  2. Send the request using a server-side GET call to the authorization URL.

  3. If the request is valid, Evia Sign will redirect the response to your provided redirect_url, appending the authorization code in the URL.

Example Redirect Response

If the request is successful, the user is redirected to your application’s callback URL:

?code=received-auth-code

Your application must extract the code parameter from this URL. This code is then used in the next step (token exchange) to receive an access token.

PreviousHow to Register Your ApplicationNextExchange Authorization Code for Access Token

Last updated 4 days ago

Was this helpful?