...
id: The unique identifier for the request type.
Example
...
cURL API call
Code Block | ||
---|---|---|
| ||
curl -X POST "https://test.onboarding.namirial.app/api/v2/requestType/YOUR_REQUEST_TYPE_ID/webhookConfigurations" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -H "X-Api-Key: YOUR_API_KEY" \ -d '{ "url": "https://your.domain/webhook", "authentication": { "headers": { "Authorization": "Bearer listening-server-token", "API-Key": "listening-server-api-key", "additionalProp3": "string", "additionalProp4": "string" }, "client_key": "-----BEGIN RSA PRIVATE KEY-----\nMIIH/TCCBeWgAwIBAgIQaBYE3/M08XHYCnNVmcFBcjANBgkqhkiG9w0BAQsFADBy\n...", "client_cert": "-----BEGIN CERTIFICATE-----\nMIIH/TCCBeWgAwIBAgIQaBYE3/M08XHYCnNVmcFBcjANBgkqhkiG9w0BAQsFADBy\n..." } }' |
...