Manage API Keys and Webhooks programmatically
Last updated
Was this helpful?
Last updated
Was this helpful?
This page details the endpoints for managing API keys and webhooks programmatically. These endpoints allow you to control access to the Request Network API, and receive real-time notifications about important events.
Key Features:
API Key Management: Create, list, toggle, and delete API keys to control access to your platform's resources. API keys are essential for authenticating your application and ensuring secure communication with the Request Network API.
Webhook Management: Configure and manage webhooks to receive real-time notifications about events within the Request Network. This enables your application to react instantly to payment confirmations, request updates, and other critical events.
Authentication Requirement:
Most of the endpoints described in this section require an active session_token
cookie. This cookie is automatically set in your browser after a successful login. Make sure you've logged in before attempting to use these endpoints.
For detailed information on all available endpoints and their parameters, please refer to the full Request Network API Reference
Logout and clear session
Requires session_token cookie. If you've logged in, this cookie is already set in your browser.
/v1/auth/logout
Active session cookie (automatically included after login)
session_token=<your-session-token>
No body
Create a new API key for your platform
Requires session_token cookie. If you've logged in, this cookie is already set in your browser.
/v1/key
Active session cookie (automatically included after login)
session_token=<your-session-token>
Get all API keys for your platform
Requires session_token cookie. If you've logged in, this cookie is already set in your browser.
/v1/key
Active session cookie (automatically included after login)
session_token=<your-session-token>
Enable or disable an API key
Requires session_token cookie. If you've logged in, this cookie is already set in your browser.
/v1/key/{id}
Active session cookie (automatically included after login)
session_token=<your-session-token>
No body
Permanently delete an API key
Requires session_token cookie. If you've logged in, this cookie is already set in your browser.
/v1/key/{id}
Active session cookie (automatically included after login)
session_token=<your-session-token>
No body
Create a new webhook endpoint for receiving notifications
Requires session_token cookie. If you've logged in, this cookie is already set in your browser.
/v1/webhook
Active session cookie (automatically included after login)
session_token=<your-session-token>
Get all webhooks for your platform
Requires session_token cookie. If you've logged in, this cookie is already set in your browser.
/v1/webhook
Active session cookie (automatically included after login)
session_token=<your-session-token>
Enable or disable a webhook
Requires session_token cookie. If you've logged in, this cookie is already set in your browser.
/v1/webhook/{webhookId}
Active session cookie (automatically included after login)
session_token=<your-session-token>
No body
Permanently delete a webhook
Requires session_token cookie. If you've logged in, this cookie is already set in your browser.
/v1/webhook/{webhookId}
Active session cookie (automatically included after login)
session_token=<your-session-token>
No body