Create Webhook
Allows authenticated clients to configure webhook endpoints for receiving real-time notifications about operation status changes. The webhook is only activated if the activation test is successful.
Webhook Events: After configuration, your endpoint will receive:
- Activation test: See WebhookActivationEvent schema below
- Status updates: See OperationStatusUpdateEvent schema below
Note: Only one active webhook is allowed per client. Creating a new webhook will deactivate any existing ones after successful activation.
Request
- Base URLhttps://api.finco.lat
- Auth
- API key in header X-Client-Id
- or API key in header X-Signature
- or API key in header X-Timestamp
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Client API key (32-character hex)
HMAC-SHA256 signature generated using api_secret
Unix timestamp (seconds since epoch)
Request body
Example request
{
"endpoint_url": "https://your-webhook-endpoint.com/webhooks"
}Response
Webhook configured successfully. An activation test will be sent to your endpoint. The webhook will be marked as active only if your endpoint responds successfully to the test.
Example response
{
"event": "webhook.created",
"id": 456,
"endpoint_url": "https://your-webhook-endpoint.com/webhooks",
"secret_token": "644530cd9b0b431e61b8c6c656d17c77481047215a3ac66db71a7ad490397f7c",
"created_at": "2025-01-15T10:30:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.