Skip to content
Console
Menu

Alerts and status pages

App store purchases

Credits

Knowledge

KV

Notifications

Organizations

Storage

Workflows

API reference

Getting Started

Authentication

KV Store

sylphx events chat_profiles

Every sylphx events chat_profiles command: its argument, its flags and a run line.

The chat_profiles commands of Sylphx Events, as the CLI spells them: the same calls as the chat_profiles API page, typed for the shell. Install, sign in and the grammar are on the CLI index.

#get

Gets a Chat profile and fresh presence.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx events chat-profiles get orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile · scope events:read · effect read · Request, response and examples

#configure

Configures an authenticated Chat identity through its trusted backend.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx events chat-profiles configure orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile:configure · scope events:write · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--terms-versionstringAccepted code of conduct version.
--display-namestringUser-visible name.
--allow-stranger-imagesboolExplicit opt-in; default false.
--quiet-hours-start-utc-minuteintUTC quiet hours, optional as a pair; start equals end disables quiet hours.
--quiet-hours-end-utc-minuteintUTC exclusive end, including midnight as 1440.

#set-relationship

Changes friendship or a bilateral interaction block.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx events chat-profiles set-relationship orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile:setRelationship · scope events:write · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--peer-idstringOther user's stable client id. Required.
--actionstringrequest, accept, remove, block or unblock. Required.

#list-relationships

Lists friends and pending requests with presence.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx events chat-profiles list-relationships orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile

GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile:listRelationships · scope events:read · effect read · Request, response and examples

Flags

FlagTypeWhat it does
--page-sizeintMaximum results; default 50, maximum 1000.
--page-tokenstringPrevious response's next_page_token.

#report

Reports a message, image or user to the moderation queue.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx events chat-profiles report orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile:report · scope events:write · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--target-typestringmessage, image or user.
--target-idstringFull message name, image SHA-256 or user id.
--reasonstringReport reason.

#review-media

Registers an image and its automated moderation receipt.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx events chat-profiles review-media orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile:reviewMedia · scope events:write · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--sha256stringLowercase SHA-256 digest.
--content-uristringExact existing storage URI.
--statusstringpending registers an upload; approved or rejected is a backend moderation receipt.
--reasonstringAdministrator-only moderation reason; player status/reason are never trusted.

#set-official-status

Verifies an official account through a distinct administrator permission.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx events chat-profiles set-official-status orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile:setOfficialStatus · scope events:chat:admin · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--officialboolVerified status; regular profile configuration never changes this flag.

#bind-identity

Records an exact Auth-verified guest-to-platform identity link grant.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx events chat-profiles bind-identity orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile:bindIdentity · scope events:chat:admin · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--source-client-idstringTitle-scoped guest identity whose Auth link has been verified.
--link-receipt-idstringImmutable receipt from the verified Auth link.

#merge-identity

Rehomes linked guest state without discarding messages or relationships.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx events chat-profiles merge-identity orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile:mergeIdentity · scope events:chat:admin · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--source-client-idstringPreviously bound title-scoped guest identity.
--link-receipt-idstringExact prior Auth-verified source/target receipt binding.

#issue-token

Issues a bounded player capability after verified Auth token exchange.

NAME — the resource's name; a bare id is enough below the linked project.

CLI

Shell
sylphx events chat-profiles issue-token orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile

POST https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/chat_profiles/chat-profile:issueToken · scope events:write · effect write · Request, response and examples

Flags

FlagTypeWhat it does
--ttldurationLifetime, 60s to 3600s; default 3600s.