API reference
Service
/ v1/ hooks/ service/ form/ :keyAn inbox's web form by its public key (no sign-in): the inbox's name, a ticket to send back and the hidden field's name. 404, naming nothing, when it's off, the key was replaced or the organization's plan has no Service. Never cached.
- Auth
- None.
Path parameters
keyVariable name; under
marketingjourneys a person's key: their email address, mobile (E.164) orrec:<record id>, URL-encoded.
curl 'https://api.cactive.com.au/v1/hooks/service/form/{key}'/ v1/ hooks/ service/ form/ :keySends a web form message (email, message, optional name, subject and page, the ticket): it opens a conversation in the inbox, and replies go by email. The same { ok } for anything taken for spam; 422 with each field's problem; 429 past an address's or the form's hour.
- Auth
- None.
Path parameters
keyVariable name; under
marketingjourneys a person's key: their email address, mobile (E.164) orrec:<record id>, URL-encoded.
Errors
413That message is too long.
curl -X POST 'https://api.cactive.com.au/v1/hooks/service/form/{key}'/ v1/ hooks/ service/ chat/ :keyAn inbox's chat by its public key, as its panel shows it; answers as the web form's does.
- Auth
- None.
Path parameters
keyVariable name; under
marketingjourneys a person's key: their email address, mobile (E.164) orrec:<record id>, URL-encoded.
curl 'https://api.cactive.com.au/v1/hooks/service/chat/{key}'/ v1/ hooks/ service/ chat/ :keySends a chat message: the first takes email and answers a thread, which later messages send instead to land in the same conversation for twelve hours (409 thread_expired after). Otherwise as the web form's.
- Auth
- None.
Path parameters
keyVariable name; under
marketingjourneys a person's key: their email address, mobile (E.164) orrec:<record id>, URL-encoded.
Errors
413That message is too long.
curl -X POST 'https://api.cactive.com.au/v1/hooks/service/chat/{key}'/ v1/ orgs/ :orgId/ service/ conversationsList Service's conversations
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:read
Path parameters
orgIdOrganization id (
org_…).
Query parameters
inboxIdstring3–80 characters.
view"active" | "snoozed" | "solved" | "spam"queueanystatus"open" | "pending" | "solved" | "spam"assigneestringUp to 60 characters.
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/service/conversations' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ conversations/ :conversationIdGet a Service conversation
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:read
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).conversationIdA Service conversation's id (
svc_…).
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/conversations/{conversationId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ conversations/ :conversationIdChange a Service conversation
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).conversationIdA Service conversation's id (
svc_…).
Request body
status"open" | "pending" | "solved" | "spam"assigneestringor null2–60 characters.
queueanyupdatedAtintegerrequired
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/conversations/{conversationId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"updatedAt": 1
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ conversations/ :conversationId/ snoozeSnooze a conversation
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).conversationIdA Service conversation's id (
svc_…).
Request body
untilinteger> 0.
updatedAtintegerrequired
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/conversations/{conversationId}/snooze' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"updatedAt": 1
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ conversations/ :conversationId/ snoozeUnsnooze a conversation
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).conversationIdA Service conversation's id (
svc_…).
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/conversations/{conversationId}/snooze' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ conversations/ :conversationId/ notesAdd an internal note
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).conversationIdA Service conversation's id (
svc_…).
Request body
textstringrequired1–5,000 characters.
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/conversations/{conversationId}/notes' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"text": "example"
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ conversations/ :conversationId/ repliesReply to the customer
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).conversationIdA Service conversation's id (
svc_…).
Request body
textstringrequired1–20,000 characters.
status"open" | "pending" | "solved"startedAtinteger
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/conversations/{conversationId}/replies' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"text": "example"
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ conversations/ :conversationId/ suggestSuggest a reply and actions
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).conversationIdA Service conversation's id (
svc_…).
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/conversations/{conversationId}/suggest' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ conversations/ :conversationId/ actions/ previewPreview an action
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:read
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).conversationIdA Service conversation's id (
svc_…).
Request body
actionobjectrequiredaction.provider"commerce" | "tasks" | "crm" | "billing" | "cloud"requiredaction.kindstringrequired1–40 characters.
action.targetstring3–80 characters.
action.valuesobjectrequiredValues: string (up to 5,000 characters), number or boolean.
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/conversations/{conversationId}/actions/preview' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"action": {
"provider": "commerce",
"kind": "example",
"values": {}
}
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ conversations/ :conversationId/ actionsApply an action
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).conversationIdA Service conversation's id (
svc_…).
Request body
actionobjectrequiredaction.provider"commerce" | "tasks" | "crm" | "billing" | "cloud"requiredaction.kindstringrequired1–40 characters.
action.targetstring3–80 characters.
action.valuesobjectrequiredValues: string (up to 5,000 characters), number or boolean.
startedAtinteger
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/conversations/{conversationId}/actions' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"action": {
"provider": "commerce",
"kind": "example",
"values": {}
}
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ conversations/ :conversationId/ mergeMerge a conversation into another
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).conversationIdA Service conversation's id (
svc_…).
Request body
intostringrequired3–80 characters.
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/conversations/{conversationId}/merge' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"into": "example"
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ conversations/ :conversationId/ splitSplit a conversation
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).conversationIdA Service conversation's id (
svc_…).
Request body
entryIdstringrequired3–80 characters.
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/conversations/{conversationId}/split' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"entryId": "<entryId>"
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ conversationsBring a Mail thread into an inbox
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).
Request body
mailboxIdstringrequired3–80 characters.
threadIdstringrequired3–80 characters.
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/conversations' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"mailboxId": "<mailboxId>",
"threadId": "<threadId>"
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxesList Service's inboxes
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:read
Path parameters
orgIdOrganization id (
org_…).
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxesCreate an inbox
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).
Request body
namestringrequired1–80 characters.
addressesstring[]Up to 10 items. Each 3–254 characters.
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example"
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxIdChange an inbox
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).
Request body
namestring1–80 characters.
addressesstring[]Up to 10 items. Each 3–254 characters.
updatedAtintegerrequired
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"updatedAt": 1
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxIdDelete an inbox
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ factsGet an inbox's facts
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:read
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/facts' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ factsUpdate an inbox's facts
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).
Request body
textstringrequiredUp to 8,000 characters.
updatedAtinteger
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/facts' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"text": "example"
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ channelsGet an inbox's web form and chat
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:read
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/channels' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200 with no body
/ v1/ orgs/ :orgId/ service/ inboxes/ :inboxId/ channels/ :kindTurn an inbox's web form or chat on or off
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).inboxIdA Service inbox's id: one of the org's own (
svi_…) or a provider's, such as a Commerce brand's (commerce-<brandId>).kindWhat the resource is:
project(a Serverless App Service),database,bucket,domain,repositoryoragent; undervehiclesthe kind of schedule,chargeorprecondition.
Request body
onbooleanrequiredrotateboolean
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/service/inboxes/{inboxId}/channels/{kind}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"on": true
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ macrosList Service's macros
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:read
Path parameters
orgIdOrganization id (
org_…).
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/service/macros' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200 with no body
/ v1/ orgs/ :orgId/ service/ macrosCreate a macro
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).
Request body
titlestringrequired1–120 characters.
bodystringrequired1–5,000 characters.
inboxIdstring3–80 characters.
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/service/macros' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"title": "Example",
"body": "example"
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ macros/ :macroIdChange a macro
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).macroIdA Service macro's id (
svm_…).
Request body
titlestringrequired1–120 characters.
bodystringrequired1–5,000 characters.
inboxIdstringor null3–80 characters.
updatedAtintegerrequired
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/service/macros/{macroId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"title": "Example",
"body": "example",
"updatedAt": 1
}'Response 200 with no body
/ v1/ orgs/ :orgId/ service/ macros/ :macroIdDelete a macro
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).macroIdA Service macro's id (
svm_…).
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/service/macros/{macroId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200 with no body
/ v1/ orgs/ :orgId/ service/ settingsGet Service's settings
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:read
Path parameters
orgIdOrganization id (
org_…).
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/service/settings' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200 with no body
/ v1/ orgs/ :orgId/ service/ settingsUpdate Service's settings
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- service:write
Path parameters
orgIdOrganization id (
org_…).
Request body
taskSpacestringor nullUp to 10 characters.
Errors
400Invalid input (invalid_input)401Not signed in (unauthenticated)403Not allowed404Not found, or not yours to see428A reason is required (purpose_required); state it in the purpose header429Too many requests (rate_limited); see Retry-After500Something went wrong (internal)503Try again shortly
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/service/settings' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"taskSpace": "example"
}'Response 200 with no body