GET/desk/api/v2/customerportals/{id}.json

Get a single customerportal by id.

Path Params

  • Name
    id
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    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.

Examples

200 OK

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-04-24T00:52:04.633Z",    "createdBy": {      "delete": true,      "id": 0,