SDK reference
Help center (customer portal)
GET/
Help centers in an organization the caller can use.
Parameters and answerscurl 'https://api.cactive.com.au/v1/portal/issues/{org}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
A help center: title, intro and request types.
Parameters and answerscurl 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
The caller's requests (reported or participating): status open, closed or all.
curl 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Raises a request.
Parameters and answerscurl -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"
}'GET/
One of the caller's requests with its public conversation.
Parameters and answerscurl 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests/{issueKey}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Replies on a request.
Parameters and answerscurl -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"
}'POST/
Starts a file upload on a request: a presigned PUT, then …/complete.
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
}'POST/
Confirms an upload once the file is in place; it then shows on the request.
Parameters and answerscurl -X POST 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests/{issueKey}/attachments/{attachmentId}/complete' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
A short-lived download link for a file on the request.
Parameters and answerscurl 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests/{issueKey}/attachments/{attachmentId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Shares a request with someone by email.
Parameters and answerscurl -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"
}'DELETE/
Stops sharing a request with someone (an account id or an address).
Parameters and answerscurl -X DELETE 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/requests/{issueKey}/participants/{who}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
Help articles (Knowledge pages under the help center's root) matching q, for suggestions.
curl 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/articles' \
-H "Authorization: Bearer $CACTIVE_TOKEN"GET/
One help article (Markdown).
Parameters and answerscurl 'https://api.cactive.com.au/v1/portal/issues/{org}/{spaceKey}/articles/{pageId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"POST/
Rates a resolved request, 1–5, once.
Parameters and answerscurl -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
}'