POST/desk/api/v2/customerportals.json
Create a new customerportal. If the installation already has a portal
created then this will exit with a bad request error. Future versions will allow for multiple portals to be created for customer-specific branding.
Responses
- Code
- 201
- Type
- object
- Schema
- Description
- 201 Created
CustomerPortalAPIBody handles the get/create/update request/response for customerportal.
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.
201 Created
CustomerPortalAPIBody
{ "customerportal": { "bodyColor": "string", "bodyLinks": "string", "bodyText": "string", "button": "string", "buttonText": "string", "canCloseTicket": true, "canEditTags": true, "canSeeAgent": true, "canSeeLastRead": true, "canSeeTags": true, "canSetPriority": true, "canSetType": true, "createdAt": "2024-09-06T11:47:13.090Z", "createdBy": { "delete": true, "id": 0,