Create notification profile
This method will create a new notification profile. You can provide an ID of existing security settings if you wish to reuse them or submit full definition, if you want to create a new one.
Authorizations:
Scopes:
Request Body schema:
application/jsonprofileId required | string [ 1 .. 255 ] characters ID of a notification profile. This identifier will be used as part of a URL path and must not include any characters that require URL encoding. You cannot change the ID once an item is created. | ||||||||||||
webhook | object Webhook configuration. | ||||||||||||
| |||||||||||||
security | object Security settings object holding the authentication settings necessary to access your webhook. Should only be provided if you are creating a new profile and settings; otherwise it will be ignored. | ||||||||||||
| |||||||||||||
clientCertificateId | string [ 0 .. 255 ] characters Client certificate ID. | ||||||||||||
maxBucketSize | integer <int32> [ 1 .. 2000 ] Specifies a maximum number of messages to be sent within a single request. | ||||||||||||
windowSize | integer <int32> [ 20 .. 10000 ] A maximum number of concurrent connections (active requests) per client. | ||||||||||||
connectTimeout | integer <int32> [ 300 .. 30000 ] Time in milliseconds sender system waits for connection acknowledgement until the connection is closed. | ||||||||||||
readTimeout | integer <int32> [ 1000 .. 90000 ] A maximum period of inactivity in milliseconds between two consecutive data packets. | ||||||||||||
enabledSSLProtocols | Array of strings Items Enum: "TLSv1.2" "TLSv1.3" Specifies which security protocols should be used to send a HTTP request. Multiple options can be used. | ||||||||||||
headers | object Set of key:value pairs that will be sent in a HTTP request as headers.Note: 'Authorization' header (if configured here for any reason) can be overridden with one from security config. | ||||||||||||
| |||||||||||||
responseRegex | string Response regex. | ||||||||||||
responseBodyRegex | string Response body regex. | ||||||||||||
rateLimit | integer <int32> [ 1 .. 5000 ] Limits the number of requests per second. |
Responses
Created.
Bad request.
Unauthorized
Forbidden
Not found.
Too many requests.
Internal Server Error
Request samples
- Payload
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
{- "profileId": "NOTIF-32395",
- "security": {
- "authId": "NEWAUTH-9291",
- "type": "BASIC",
- "credentials": {
- "username": "user1",
- "password": "password1"
}
}, - "clientCertificateId": "MYCERT-1337",
- "maxBucketSize": 1,
- "windowSize": 20,
- "connectTimeout": 10000,
- "readTimeout": 10000,
- "enabledSSLProtocols": [
- "TLSv1.3",
- "TLSv1.2"
], - "headers": {
- "X-Important-Header": "Important Value"
}, - "responseRegex": "[1-9][0-9]",
- "responseBodyRegex": "[1-9][0-9]",
- "rateLimit": 5000
}
Response samples
- 201
- 400
- 401
- 403
- 404
- 429
- 500
{- "profileId": "string",
- "security": {
- "authId": "string"
}
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See