Appearance
Portal
omnichannel.portal
Fields
Every record also has id, created_at and updated_at.
| Field | Label | Type | Rules |
|---|---|---|---|
name | name | text | required; max 80 characters |
slug | slug | text | required; max 80 characters |
description | description | text | max 300 characters |
allowed_channels | allowed channels | text | max 200 characters |
whatsapp_sender | whatsapp sender | link → omnichannel.provider | |
whatsapp_webhook_url | whatsapp webhook url | text | max 500 characters |
email_webhook_url | email webhook url | text | max 500 characters |
active | active | check | default true |
Unique together: slug
Permissions
| Role | Can |
|---|---|
omnichannel:admin | read, create, update, delete, import, export |
omnichannel:editor | read |
omnichannel:viewer | read |
API
http
GET /api/omnichannel/portal?<field>=<value>&limit=100&offset=0
POST /api/omnichannel/portal
GET /api/omnichannel/portal/:id
PATCH /api/omnichannel/portal/:id
DELETE /api/omnichannel/portal/:idBulk import: GET /api/_import/omnichannel/portal/template (CSV template), then POST /api/_import/omnichannel/portal. See REST API.