Step One: Register your sandbox:

Use this link and enter the following details:

  1. Integration Name (name of the product being connected to Lever)

  2. Descriptions of your integration (must be between 20 and 140 characters)

  3. Callback URI (ensure your callback URI is set to

  4. Square Logo (must be a link)

  5. Required Scopes (maximum of 20 scopes)

Step Two: Retrieve your authorization code:

  1. Enter this URL into your browser, replacing the client_id with your own. This URL already contains the suggested 20 scopes to use for Merge. You can remove any you did not provide access to in the step above.

  2. Hit "Accept" to the prompt shown

  3. Copy the authorization code found in the page URL

Fill your authorization code into the 'code' field and run the below cURL:

Enter your client_id, client_secret, and authorization code:

curl --location --request POST '' \ 
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=xxxxx' \
--data-urlencode 'client_secret=xxxxx' \
--data-urlencode 'grant_type=authorization_code' \
--data-urlencode 'code=xxxxx' \
--data-urlencode 'redirect_uri='

Your response will look like the following:

"refresh_token": "xxxx",
"scope": "offline_access",
"expires_in": 3600,
"token_type": "Bearer"

Securely send Merge ([email protected]) the following using Doppler to finalize your Linked Account setup:

  1. Client ID

  2. Client Secret

  3. OAuth Refresh Token

  4. Base URL (i.e.

Did this answer your question?