luke.mxDocs

Search docs

Search every page of the documentation.

API reference

Help center (customer portal)

Raise, follow, reply to and rate service requests as a customer.

See Issues.

GET /v1/portal/issues/:org

Help centers in an organization the caller can use.

Auth: user access token or platform agent key

Path parameterDescription
:orgOrganization slug, as in the help center link.

Response 200

{
  org: {
    name: string
    slug: string
  }
  spaces: {
    key: string
    name: string
    title: string
    intro: string
  }[]
}

Errors

StatusMessage
403Help centers are for people.

GET /v1/portal/issues/:org/:spaceKey

A help center: title, intro and request types.

Auth: user access token or platform agent key

Path parameterDescription
:orgOrganization slug, as in the help center link.
:spaceKeySpace key (WEB; former keys work too) or space id (spc_…).

Response 200

{
  org: {
    name: string
    slug: string
  }
  space: {
    key: string
    name: string
    icon?: string
    color?: string
  }
  portal: {
    title: string
    intro: string
  }
  satisfaction: boolean
  requestTypes: {
    id: string
    name: string
    description: string
    icon?: string
    group: string
    fields: {
      id: "priority"
      name: string
      options: {
        id: string
        name: string
      }[]
    }[]
  }[]
}

Errors

StatusMessage
403Help centers are for people.

GET /v1/portal/issues/:org/:spaceKey/requests

The caller's requests (reported or participating): status open, closed or all.

Auth: user access token or platform agent key

Path parameterDescription
:orgOrganization slug, as in the help center link.
:spaceKeySpace key (WEB; former keys work too) or space id (spc_…).
Query parameterTypeRequiredNotes
status"open" | "closed" | "all"No

Response 200

{
  requests: {
    key: string
    summary: string
    requestType: null | string
    status: string
    statusCategory: "done" | "todo" | "inprogress"
    waitingForYou: boolean
    resolution: null | string
    satisfaction: null | number
    createdAt: number
    updatedAt: number
  }[]
}

Errors

StatusMessage
403Help centers are for people.

POST /v1/portal/issues/:org/:spaceKey/requests

Raises a request.

Auth: user access token or platform agent key

Path parameterDescription
:orgOrganization slug, as in the help center link.
:spaceKeySpace key (WEB; former keys work too) or space id (spc_…).

Request body

FieldTypeRequiredNotes
requestTypestringYesup to 40 characters
summarystringYes1–255 characters; trimmed
descriptionstringNoup to 32,000 characters
prioritystringNoup to 40 characters

Response 201

{
  key: string
}

Errors

StatusMessage
403Help centers are for people.

GET /v1/portal/issues/:org/:spaceKey/requests/:issueKey

One of the caller's requests with its public conversation.

Auth: user access token or platform agent key

Path parameterDescription
:orgOrganization slug, as in the help center link.
:spaceKeySpace key (WEB; former keys work too) or space id (spc_…).
:issueKeyIssue key (WEB-12; former keys of moved issues and renamed spaces work too) or issue id (iss_…).

Response 200

{
  request: {
    description: string
    reporter: string
    key: string
    summary: string
    requestType: null | string
    status: string
    statusCategory: "done" | "todo" | "inprogress"
    waitingForYou: boolean
    resolution: null | string
    satisfaction: null | number
    createdAt: number
    updatedAt: number
  }
  comments: {
    id: string
    body: string
    author: string
    mine: boolean
    at: number
  }[]
}

Errors

StatusMessage
403Help centers are for people.

POST /v1/portal/issues/:org/:spaceKey/requests/:issueKey/comments

Replies on a request.

Auth: user access token or platform agent key

Path parameterDescription
:orgOrganization slug, as in the help center link.
:spaceKeySpace key (WEB; former keys work too) or space id (spc_…).
:issueKeyIssue key (WEB-12; former keys of moved issues and renamed spaces work too) or issue id (iss_…).

Request body

FieldTypeRequiredNotes
bodystringYes1–32,000 characters; trimmed

Response 201

{
  ok: boolean
}

Errors

StatusMessage
403Help centers are for people.

POST /v1/portal/issues/:org/:spaceKey/requests/:issueKey/rating

Rates a resolved request, 1–5, once.

Auth: user access token or platform agent key

Path parameterDescription
:orgOrganization slug, as in the help center link.
:spaceKeySpace key (WEB; former keys work too) or space id (spc_…).
:issueKeyIssue key (WEB-12; former keys of moved issues and renamed spaces work too) or issue id (iss_…).

Request body

FieldTypeRequiredNotes
ratingintegerYes1–5
commentstringNoup to 1,000 characters

Response 200

{
  ok: boolean
}

Errors

StatusMessage
403Help centers are for people.