API Docs
How to Generate API Keys & Webhooks
Part 1: Create an API Key
An API key allows an external application or integration to authenticate with Open Letter Connect.
Step 1: Open API Keys
Click your initials on the top right corner and then click Integrations.
Click API Keys.
You will be taken to the API Keys page, where existing API keys are displayed.

Step 2: Click + Create
On the API Keys page, look at the top-right corner.
Click the orange + Create button.
A Create API Key window will appear

Step 3: Enter the API Key Name
In the Name field, enter a name that describes what the API key will be used for.
For example:
Zapier Integration
A descriptive name makes it easier to identify the purpose of the key later.

Step 4: Select the Source
Click the Source dropdown.
Select the appropriate source for your integration.
Source is required.
Step 5: Set an Expiry Date — Optional
The Expiry Date field is optional.
Click the Expiry Date dropdown if you want the API key to expire on a specific date.
If you don't need an expiration date, leave the field blank.
Step 6: Save the API Key
After completing the required fields:
Review the Name.
Confirm the Source.
Confirm the Expiry Date, if applicable.
Click the Save button.

You can now easily copy and paste your API keys.

Security reminder: Treat API keys as confidential credentials. Store them securely and do not share them in public code, screenshots, or messages.
Part 2: Create a Webhook
Webhooks allow Open Letter Connect to automatically send information to another system when selected events occur.
Step 1: Open Webhooks
Click your initials on the top right corner and then click Integrations.
Click Webhooks.
You will be taken to the Webhooks management page.

Step 2: Click Create
On the Webhooks page, click the Create button.
OLC will take you to the Create Webhook page.

Step 3: Enter the Webhook URL
At the top of the page, you'll see:
URL*
Enter the URL of the endpoint where you want Open Letter Connect to send webhook notifications.
For example:
https://yourcompany.com/api/webhooks/olc
The URL should point to a system that is configured to receive webhook requests.
This field is required.

Step 4: Add a Description
In the Description* field, enter a short description explaining what the webhook is used for.
For example:
Production order notifications
or
Send OLC order updates to CRM
This field is required.
A clear description makes it easier to identify the webhook later.
Step 5: Add Custom Headers — Optional
The Custom Headers field can be used if your receiving system requires additional HTTP headers.
For example, your endpoint may require an authentication header.
Enter the required header information in this field.
If your endpoint doesn't require custom headers, you can leave this blank.
Step 6: Add a Slack Failure Notification — Optional
On the right side of the screen you'll see:
Slack Incoming Webhook URL (For Failure Notifications)
If you want webhook failure notifications sent to Slack:
Enter your Slack Incoming Webhook URL.
OLC can use this URL to send failure notifications.
If you don't need Slack notifications, leave this field blank.
Step 7: Select Event Types
Click the Event Types dropdown.
Select the events you want Open Letter Connect to send to your webhook.
For example, OLC documents events including:
Order Created —
orders.createdOrder Updated —
orders.updatedTemplate Created —
templates.createdTemplate Updated —
templates.updatedOrder Item Updated —
order_items.updatedOrder Item QR Scanned —
order_items.qr_code_scanned
Event Types is required.
Step 8: Review the Sample Payload
Once you select an event type, the Sample Payloads for Selected Event Types section will populate.
Use this section to see an example of the information OLC will send to your webhook endpoint.
This will change after you select one or more event types.
Step 9: Save the Webhook
After completing the configuration:
Confirm the URL.
Confirm the Description.
Review any Custom Headers.
Confirm the Event Types.
Review the sample payload.
Click the orange Save button in the bottom-right corner.
OLC will create the webhook and return you to the Webhooks management page.

Last updated