API reference
Help center (customer portal)
/ v1/ portal/ issues/ :orgHelp centers in an organization the caller can use.
- Auth
- A person's token or an API key, as Authorization: Bearer.
Path parameters
orgOrganization slug, as in the help center link; under
marketingthe slug a landing page lives under.
Errors
403Help centers are for people.
curl 'https://api.cactive.com.au/v1/portal/issues/{org}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
org: {
name: string
slug: string
}
spaces: {
key: string
name: string
title: string
intro: string
}[]
}/ v1/ portal/ issues/ :org/ :spaceKeyA help center: title, intro and request types.
- Auth
- A person's token or an API key, as Authorization: Bearer.
Path parameters
orgOrganization slug, as in the help center link; under
marketingthe slug a landing page lives under.spaceKeySpace key (
WEB; former keys work too) or space id (spc_…).
Errors
403Help centers are for people.
curl 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"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
}[]
}[]
}[]
}/ v1/ portal/ issues/ :org/ :spaceKey/ requestsThe caller's requests (reported or participating): status open, closed or all.
- Auth
- A person's token or an API key, as Authorization: Bearer.
Path parameters
orgOrganization slug, as in the help center link; under
marketingthe slug a landing page lives under.spaceKeySpace key (
WEB; former keys work too) or space id (spc_…).
Query parameters
status"open" | "closed" | "all"
Errors
403Help centers are for people.
curl 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests' \
-H "Authorization: Bearer $CACTIVE_TOKEN"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
}[]
}/ v1/ portal/ issues/ :org/ :spaceKey/ requestsRaises a request.
- Auth
- A person's token or an API key, as Authorization: Bearer.
Path parameters
orgOrganization slug, as in the help center link; under
marketingthe slug a landing page lives under.spaceKeySpace key (
WEB; former keys work too) or space id (spc_…).
Request body
requestTypestringrequiredUp to 40 characters.
summarystringrequired1–255 characters. Trimmed.
descriptionstringUp to 32,000 characters.
prioritystringUp to 40 characters.
Errors
403Help centers are for people.
curl -X POST 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"requestType": "example",
"summary": "Example"
}'Response 201
{
key: string
}/ v1/ portal/ issues/ :org/ :spaceKey/ requests/ :issueKeyOne of the caller's requests with its public conversation.
- Auth
- A person's token or an API key, as Authorization: Bearer.
Path parameters
orgOrganization slug, as in the help center link; under
marketingthe slug a landing page lives under.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_…).
Errors
403Help centers are for people.
curl 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests/{issueKey}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
request: {
description: string
reporter: string
participants: {
id: string
name: string
}[]
approvals: {
id: string
status: string
state: "pending" | "approved" | "declined"
needed: "all" | "one"
decided: number
approvers: number
}[]
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
}
attachments: {
id: string
name: string
size: number
contentType: string
createdAt: number
}[]
comments: {
id: string
body: string
author: string
mine: boolean
at: number
}[]
}/ v1/ portal/ issues/ :org/ :spaceKey/ requests/ :issueKey/ commentsReplies on a request.
- Auth
- A person's token or an API key, as Authorization: Bearer.
Path parameters
orgOrganization slug, as in the help center link; under
marketingthe slug a landing page lives under.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
bodystringrequired1–32,000 characters. Trimmed.
Errors
403Help centers are for people.
curl -X POST 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests/{issueKey}/comments' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"body": "example"
}'Response 201
{
ok: boolean
}/ v1/ portal/ issues/ :org/ :spaceKey/ requests/ :issueKey/ attachmentsStarts a file upload on a request: a presigned PUT, then …/complete.
- Auth
- A person's token or an API key, as Authorization: Bearer.
Path parameters
orgOrganization slug, as in the help center link; under
marketingthe slug a landing page lives under.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
namestringrequired1–255 characters. Trimmed.
sizeintegerrequired≥ 1.
contentTypestringUp to 255 characters.
Errors
403Help centers are for people.
curl -X POST 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests/{issueKey}/attachments' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"size": 1
}'Response 201
{
attachmentId: string
uploadUrl: string
headers: {
"content-type": string
}
}/ v1/ portal/ issues/ :org/ :spaceKey/ requests/ :issueKey/ attachments/ :attachmentId/ completeConfirms an upload once the file is in place; it then shows on the request.
- Auth
- A person's token or an API key, as Authorization: Bearer.
Path parameters
orgOrganization slug, as in the help center link; under
marketingthe slug a landing page lives under.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_…).attachmentIdAttachment id (
att_…).
Errors
403Help centers are for people.
curl -X POST 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests/{issueKey}/attachments/{attachmentId}/complete' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
attachmentId: string
}/ v1/ portal/ issues/ :org/ :spaceKey/ requests/ :issueKey/ attachments/ :attachmentIdA short-lived download link for a file on the request.
- Auth
- A person's token or an API key, as Authorization: Bearer.
Path parameters
orgOrganization slug, as in the help center link; under
marketingthe slug a landing page lives under.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_…).attachmentIdAttachment id (
att_…).
Errors
403Help centers are for people.
curl 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests/{issueKey}/attachments/{attachmentId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
url: string
name: string
contentType: string
size: number
}/ v1/ portal/ issues/ :org/ :spaceKey/ requests/ :issueKey/ participantsShares a request with someone by email.
- Auth
- A person's token or an API key, as Authorization: Bearer.
Path parameters
orgOrganization slug, as in the help center link; under
marketingthe slug a landing page lives under.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
emailstringrequired3–320 characters. Trimmed.
Errors
403Help centers are for people.
curl -X POST 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests/{issueKey}/participants' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"email": "person@example.com"
}'Response 201
{
ok: boolean
}/ v1/ portal/ issues/ :org/ :spaceKey/ requests/ :issueKey/ participants/ :whoStops sharing a request with someone (an account id or an address).
- Auth
- A person's token or an API key, as Authorization: Bearer.
Path parameters
orgOrganization slug, as in the help center link; under
marketingthe slug a landing page lives under.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_…).whoA person's user id (
usr_…) or an email address, as listed in the request's participants.
Errors
403Help centers are for people.
curl -X DELETE 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests/{issueKey}/participants/{who}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
ok: boolean
}/ v1/ portal/ issues/ :org/ :spaceKey/ articlesHelp articles (Knowledge pages under the help center's root) matching q, for suggestions.
- Auth
- A person's token or an API key, as Authorization: Bearer.
Path parameters
orgOrganization slug, as in the help center link; under
marketingthe slug a landing page lives under.spaceKeySpace key (
WEB; former keys work too) or space id (spc_…).
Query parameters
qstringDefault
"". Up to 200 characters.
Errors
403Help centers are for people.
curl 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/articles' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
articles: {
pageId: string
title: string
icon?: string
snippet?: string
}[]
}/ v1/ portal/ issues/ :org/ :spaceKey/ articles/ :pageIdOne help article (Markdown).
- Auth
- A person's token or an API key, as Authorization: Bearer.
Path parameters
orgOrganization slug, as in the help center link; under
marketingthe slug a landing page lives under.spaceKeySpace key (
WEB; former keys work too) or space id (spc_…).pageIdPage id: a Notes page (
doc_…), or a Feed page (pgx_…) under/v1/messaging/social; undermarketinga landing page (mkp_…).
Errors
403Help centers are for people.404Article not found
curl 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/articles/{pageId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
article: {
pageId: string
title: string
icon?: string
markdown: string
updatedAt: number
}
}/ v1/ portal/ issues/ :org/ :spaceKey/ requests/ :issueKey/ ratingRates a resolved request, 1–5, once.
- Auth
- A person's token or an API key, as Authorization: Bearer.
Path parameters
orgOrganization slug, as in the help center link; under
marketingthe slug a landing page lives under.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
ratingintegerrequired1–5.
commentstringUp to 1,000 characters.
Errors
403Help centers are for people.
curl -X POST 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests/{issueKey}/rating' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"rating": 1
}'Response 200
{
ok: boolean
}