Developer Settings

Step-by-step instructions for configuring Spotdraft API credentials, setting up webhooks, and accessing webhook logs


💡
This comprehensive guide provides step-by-step instructions for configuring Spotdraft API credentials, setting up webhooks, and accessing webhook logs, empowering users to streamline workflows and enhance automation efficiently.

Index:

1. Introduction

Spotdraft offers robust API functionalities and webhook integration capabilities, empowering users to streamline their workflows and enhance automation. This comprehensive guide aims to provide step-by-step instructions for configuring Spotdraft API credentials, setting up webhooks, and accessing webhook logs. For further details on Spotdraft's API and webhook features, refer to the Spotdraft Public API Documentation.

2. Generating API Credentials

Spotdraft API credentials are essential for authenticating requests made to Spotdraft's Public APIs. Here's how to generate API credentials:

 

1. Login to Spotdraft: Access your Spotdraft account by logging in with your credentials.

2. Access Developer Settings: Click on the "Settings" option in the main navigation menu and select "Developer Settings"

Notion image

3. Generate API Credential: Under Developer Settings, locate the option to "Generate API Credential" and click on it.

Notion image

4. Provide a Name: Enter a descriptive name for the API credentials you're generating.

Notion image

5. Generate Credentials: After naming the credentials, click on the "Generate" button to create them.

Notion image

6. Copy Client Id and Client Secret: Once generated, make sure to copy the Client Id and Client Secret provided. These credentials will be used to authenticate your API requests.

Notion image
 

3. Setting Up Webhooks

Webhooks enable Spotdraft to send real-time notifications to your application when specific events occur. Follow these steps to set up webhooks:

1. Access Webhooks Section: Within your Spotdraft account, navigate to the "Webhooks" section, found within the Developer Settings.

Notion image

2. Create New Webhook: In the Webhooks section, look for an option to "Create New Webhook" and click on it.

Notion image

3. Provide a Name: Enter a descriptive name for the webhook.

Notion image

4. Select Trigger Events: Choose the events that should trigger the webhook from the available options.

Notion image

5. Enter Destination URL: Provide the URL or endpoint where Spotdraft will send webhook notifications.

Notion image

6. Save and Activate: Click on the "Create" or "Save" button to activate the webhook.

Notion image
 

4. Viewing Webhook Logs

Spotdraft allows you to view logs related to webhook activities for monitoring and troubleshooting purposes. Here's how to access webhook logs:

1. Navigate to Webhook Logs: In your Spotdraft account, locate the option to view webhook logs, usually found within the Webhooks section or under Developer Settings.

Notion image

2. Search by Contract Id: If needed, search for specific webhook logs by contract ID to narrow down the results.

Notion image

3. View Details: Click on "View Details" for a webhook trigger to get more information about the error.

Notion image

4. Check Payload: To inspect the payload of a webhook, click on "View More" and then select the "Payload" button.

Notion image
 

5. Conclusion

In conclusion, configuring Spotdraft API credentials, setting up webhooks, and accessing webhook logs are crucial steps in leveraging Spotdraft's automation capabilities effectively. By following the steps outlined in this guide, users can seamlessly integrate Spotdraft with their existing systems and workflows, enhancing efficiency and productivity.

 
Did this answer your question?
😞
😐
🤩