Developer API
Programatically create and send ROGER contracts
Looking for the Legacy ROGER API Documentation?
Setup
Learn how to create and configure an API key for access to the Developer API.
To create an API key:
- From the ROGER Dashboard, open the Settings for your workspace from the account menu in the top-right corner of the screen.
- Click the API keys section from the left navigation panel.
- Click Create API key.
- Specify what teams this API can create contracts in.
- Click Create to confirm and generate an API key.
- Copy the API key for your records — it will not be shown again.
Authentication
All requests made to the ROGER Developer API must be authenticated with a valid
API key. The API key must be passed in the Authorization
HTTP header using the
Bearer
scheme. Below is an example of a header specifying your API key:
Workspace IDs
Most of the Developer API endpoints require specifying your Workspace ID,
usually provided as a parameter workspaceId
in the endpoint path.
You can find the ID of your workspace in the URL of your ROGER Dashboard.
In the below example, your workspaceId
would be wvEOhUlU8rHy5EXAwNn1
:
Template IDs
Some of the Developer API endpoints require specifying a Template ID, usually
provided as the value of a property templateId
in the request body.
You can find the ID of your workspace in the URL of the template’s edit screen.
In the below example, your templateId
would be E23eipzNxLKe28bYP1FI
:
Creating a contract from a template
To create a contract from a template, specify the ID of the template to use and
the values of each variable the template requires (without the @
prefix). The
createdBy
parameter should be set to an email address of a user from a team
within your workspace.
This method will respond with the workspaceId
, contractId
, and a
signingLink
, which can be used to sign the contract.