Create a new rule for the current user
POST
/management/rulesModified at: 21 days ago
Request
Header Params
X-Integration-Name
string
required
Integration name
Example:
API Documentation
X-Integration-Provider
string
required
Integration provider
Example:
cobra GmbH
X-Cobra-TenantId
string
required
Tenant ID
Example:
12e39e53-ece1-4d8d-8958-e782de1dbef0
X-Integration-Contact
string
optional
Integration contact
Example:
info@cobra.de
Body Params application/json
No schema defined
Example
{
"caption": "My inbox rule",
"mailboxCredentialId": "a3414dc5-f316-4eb1-8d9e-8599674e2888",
"folderId": "INBOX",
"searchFields": "From",
"createPersonIfNotFound": true,
"cxmCredentialId": "4f81b90e-028f-437a-b234-1e32a26fc0dd"
}
Request samples
Responses
Created(201)
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"data": {
"id": "e5114296-7e20-4e8a-a4d2-60d58193d278",
"caption": "My inbox rule",
"mailboxCredentialId": "cc241641-aaca-4f7d-949f-d62b44d302ba",
"active": false,
"folderId": "INBOX"
},
"message": null,
"metaData": null,
"statusCode": 201
}
Modified at 21 days ago