Create and manage teams in XActions — invite members, assign roles, and collaborate on automation tasks. Use when users want to set up multi-user access or team-based account management.
API-powered team management for collaborative XActions usage.
| Goal | Route | Method |
|---|---|---|
| Create a team | POST /api/teams | REST API |
| List teams | GET /api/teams | REST API |
| Get team details | GET /api/teams/:id | REST API |
| Invite a team member | POST /api/teams/:id/invite | REST API |
| Update member role | PATCH /api/teams/:id/members/:userId | REST API |
| Remove a member | DELETE /api/teams/:id/members/:userId | REST API |
| Delete a team | DELETE /api/teams/:id | REST API |
POST /api/teams
Authorization: Bearer <token>
Content-Type: application/json
{
"name": "My Marketing Team",
"description": "Handles brand account automation"
}
POST /api/teams/:id/invite
Authorization: Bearer <token>
Content-Type: application/json
{
"email": "[email protected]",
"role": "editor"
}
| Role | Permissions |
|---|---|
owner | Full access, can delete team, manage billing |
admin | Manage members, create automations |
editor | Create and run automations, view reports |
viewer | View reports and analytics only |