On this page
Create a support thread message
Creates an idempotent SupportThreadMessage; changed replay and illegal state are refused.
This method is not served on the public API.
api.sylphx.comdoes not route this call: its backend is not deployed behind the public API, or does not implement the call. This page documents the contract. It is kept out of the sidebar and of search engines.
Creates an idempotent SupportThreadMessage; changed replay and illegal state are refused.
Not available yet. This method answers 501 with the problem code UNIMPLEMENTED.
- Path
POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/support_cases/support-case/support_thread_messages - Scope
notify:support:operate - Effect
write— a successful call changes state. - Collection support_thread_messages
- Query
support_thread_message_id,request_id,validate_only,expected_version - Validate-only
validate_only=trueruns every check and writes nothing
Request
| Field | Type | What it is |
|---|---|---|
parent | string | Authenticated parent scope. Required. |
support_thread_message | SupportThreadMessage | Record to admit; actor and output fields are derived by the service. Required. |
support_thread_message_id | string | Optional caller-selected platform ID; legacy IDs stay in source_records. |
request_id | string | UUID request identity, stable across transport retries. |
validate_only | bool | Validate without admitting a case, message or effect. |
expected_version | int64 | Case aggregate version observed by the caller. Required. |
SupportThreadMessage
| Field | Type | What it is |
|---|---|---|
name | string | Canonical thread message name. |
meta | ResourceMeta | Timestamps and metadata. |
source_key | string | Immutable source-scoped event identity; changed replays are refused. Required. |
visibility | SupportMessageVisibility | Explicit audience; internal notes never enter the customer timeline. Required. One of public, internal. |
author | SupportActor | Verified author; never inferred from a claimed From address. |
body | string | Text body or evidence projection; untrusted personal content. Never returned again. |
evidence | SupportEvidence[] | Source evidence, including explicitly untrusted HTML and attachments. |
channel_id | string | Existing channel-link ID, not a credential. |
thread_keys | string[] | Original provider message identity and ancestry. |
action | string | Related business action, never a notification delivery state alias. |
erased | bool | Tombstone; source keys/ancestry survive authorized erasure. |
source_records | SupportSourceRecord[] | Original IDs/records for lossless migration. |
direction | string | Source direction: inbound, outbound or internal; independent of visibility. |
ResourceMeta
| Field | Type | What it is |
|---|---|---|
labels | map<string, string> | Caller-writable, indexed labels (AIP-122 label rules). |
annotations | map<string, string> | Caller-writable, unindexed annotations. |
display_name | string | Caller-writable human-readable name. |
SupportActor
| Field | Type | What it is |
|---|---|---|
principal | string | Acting Access principal or authenticated external source identity. Required. |
delegated_for | string | Delegating principal, when the grant records one. |
authority | string | Public source authority for a workload or channel event. |
SupportEvidence
| Field | Type | What it is |
|---|---|---|
id | string | Stable evidence identity in the tenant environment. |
authority | string | Authenticated source, not a caller-selected trust claim. |
resource | string | Permissioned public API resource containing the bytes; never a credential URL. |
sha256 | string | SHA-256 of the original evidence bytes, lowercase hexadecimal. |
media_type | string | Registered media type of the original bytes. |
size_bytes | int64 | Exact byte length, not the number of Unicode characters. |
receive_time | timestamp | Source-reported received time. |
erased | bool | Erasure keeps identity/hash/dedupe tombstones, never resurrects source content. |
SupportSourceRecord
| Field | Type | What it is |
|---|---|---|
source | string | Stable source namespace, retained across retries and migration phases. |
source_table | string | Original relation or event kind. |
source_id | string | Unchanged source primary key, including numeric case/message/outbox IDs. |
evidence | SupportEvidence | Evidence holding the full canonical source record, not a lossy projection. |
source_version | int64 | Original source version, if present; zero means absent, not fabricated. |
Response
| Field | Type | What it is |
|---|---|---|
name | string | Canonical thread message name. |
uid | string | Immutable identity. Output only. |
meta | ResourceMeta | Timestamps and metadata. |
source_key | string | Immutable source-scoped event identity; changed replays are refused. Required. |
visibility | SupportMessageVisibility | Explicit audience; internal notes never enter the customer timeline. Required. One of public, internal. |
author | SupportActor | Verified author; never inferred from a claimed From address. |
body | string | Text body or evidence projection; untrusted personal content. Never returned again. |
evidence | SupportEvidence[] | Source evidence, including explicitly untrusted HTML and attachments. |
channel_id | string | Existing channel-link ID, not a credential. |
thread_keys | string[] | Original provider message identity and ancestry. |
action | string | Related business action, never a notification delivery state alias. |
erased | bool | Tombstone; source keys/ancestry survive authorized erasure. |
source_records | SupportSourceRecord[] | Original IDs/records for lossless migration. |
direction | string | Source direction: inbound, outbound or internal; independent of visibility. |
ResourceMeta
| Field | Type | What it is |
|---|---|---|
generation | int64 | Increases by one on every change to spec. Output only. |
etag | string | Strong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as If-Match or etag to make Update and Delete conditional; a mismatch fails with ABORTED / 409 ETAG_MISMATCH. Output only. |
create_time | timestamp | When the Resource was created. Output only. |
update_time | timestamp | When the Resource last changed. Output only. |
delete_time | timestamp | Set while the Resource is being deleted. Output only. |
labels | map<string, string> | Caller-writable, indexed labels (AIP-122 label rules). |
annotations | map<string, string> | Caller-writable, unindexed annotations. |
display_name | string | Caller-writable human-readable name. |
creator | string | The principal that created the Resource. Output only. |
SupportActor
| Field | Type | What it is |
|---|---|---|
principal | string | Acting Access principal or authenticated external source identity. Required. |
delegated_for | string | Delegating principal, when the grant records one. |
authority | string | Public source authority for a workload or channel event. |
SupportEvidence
| Field | Type | What it is |
|---|---|---|
id | string | Stable evidence identity in the tenant environment. |
authority | string | Authenticated source, not a caller-selected trust claim. |
resource | string | Permissioned public API resource containing the bytes; never a credential URL. |
sha256 | string | SHA-256 of the original evidence bytes, lowercase hexadecimal. |
media_type | string | Registered media type of the original bytes. |
size_bytes | int64 | Exact byte length, not the number of Unicode characters. |
receive_time | timestamp | Source-reported received time. |
erased | bool | Erasure keeps identity/hash/dedupe tombstones, never resurrects source content. |
SupportSourceRecord
| Field | Type | What it is |
|---|---|---|
source | string | Stable source namespace, retained across retries and migration phases. |
source_table | string | Original relation or event kind. |
source_id | string | Unchanged source primary key, including numeric case/message/outbox IDs. |
evidence | SupportEvidence | Evidence holding the full canonical source record, not a lossy projection. |
source_version | int64 | Original source version, if present; zero means absent, not fabricated. |
Errors
UNAUTHENTICATED— No valid key or token was presented.PERMISSION_DENIED— The key lacks the method's permission.INVALID_FIELD— A field failed validation.RESOURCE_NOT_FOUND— The named Resource does not exist or is not visible.ETAG_MISMATCH— The etag sent does not match the Resource's current etag.INVALID_STATE— The Resource is in a state that forbids the call.UNAVAILABLE— The Resource store, the owning service's backend, or the key verifier's snapshot is unavailable; retry after Retry-After.UNIMPLEMENTED— The path or method is not served (yet) at this version.IDEMPOTENCY_KEY_REUSED— An Idempotency-Key was reused with another body.IDEMPOTENCY_IN_PROGRESS— The first call with this Idempotency-Key is still running.
Every error arrives in the body Errors describes.
Examples
curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/support_cases/support-case/support_thread_messages" \
-H "Authorization: Bearer $SYLPHX_API_KEY" \
-H "Content-Type: application/json" \
-d '{"source_key":"…","visibility":"public"}'