Create a new rule for the current user
POST
/management/rulesLast modified: 14 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": "1bdba13b-1e3f-412c-8aaa-891ba0213b48",
"folderId": "INBOX",
"searchFields": "From",
"matchingType": "AllMailsMustMatch",
"createPersonIfNotFound": true,
"cxmCredentialId": "50a47535-8985-4fac-906e-2ca0bdc368aa",
"active": true,
"archiveAsUser": "johndoe"
}
Request samples
Responses
Created(201)
HTTP Code: 201
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"data": {
"id": "50fc4aa6-f132-48a4-9e78-98d862959b74",
"caption": "My inbox rule",
"mailboxCredentialId": "969f532e-7e6d-4e73-b2e1-3db46b19330e",
"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: 14 days ago