Create a new rule for the current user
POST
/management/rulesLast modified: 24 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": "6f2f29f9-57d2-4717-a874-13a331a9e5ad",
"folderId": "INBOX",
"searchFields": "From",
"createPersonIfNotFound": true,
"cxmCredentialId": "ab1e4f65-56ff-4bfa-8923-884d16341606"
}
Request samples
Responses
Created(201)
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"data": {
"id": "057379d5-a7e8-4d7f-86fd-7d2ee329f500",
"caption": "My inbox rule",
"mailboxCredentialId": "81427c72-87e4-479d-abf0-d12c8b746b6f",
"active": false,
"folderId": "INBOX",
"cxmCredentialId": "00000000-0000-0000-0000-000000000000",
"createPersonIfNotFound": false,
"searchFields": "Default",
"matchingType": "AllMailsMustMatch",
"archiveAsUser": null
},
"message": null,
"metaData": null,
"statusCode": 201
}
Last modified: 24 days ago