Actions97
- Campaign Actions
- Campaign Contact Actions
- Category Actions
- Company Actions
- Company Contact Actions
- Contact Actions
- Contact Segment Actions
- Email Actions
- Field Actions
- Note Actions
- Notification Actions
- Role Actions
- Segment Actions
- Segment Email Actions
- Stats Actions
- Tag Actions
- Theme Actions
- User Actions
Role → Create
AI-generatedSummary
Create a Mautic role with the supplied name and any configured description, admin status, publication status, or raw permissions.
Inputs
- authentication — Choose Credentials or OAuth2 authentication.
- name (required) — Name for the role.
- additionalFields.description — Description of the role.
- additionalFields.isAdmin — Whether the role has full administrative access; defaults to false.
- additionalFields.isPublished — Whether the role is enabled; defaults to true.
- additionalFields.rawPermissions — JSON object defining role permissions, for example {"email:emails":["viewown","viewother"]}; defaults to an empty object.
Output shape
A single role record returned by Mautic.
The provided source pack omits function bodies for the role operation, so the exact response envelope and handling of optional fields cannot be determined from the source shown.
Examples
Example 1: Create a published role with limited email access
Set Name to Marketing Reviewer, leave Is Admin off, and supply the needed permissions in Raw Permissions (JSON).