Grant a principal access to a chat

Grants a user or app access to the chat and returns the grant with a 201. This is how somebody is added to a chat: a grant also joins them, since being added to a chat means both.
Granting access a grantee already holds returns the existing grant and does not rejoin them: somebody who left, or was removed while keeping their grant, comes back with :join.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Globally unique identifier for a chat; a c- prefixed string.

Body Params

Parameters for granting a user or app explicit access to a chat.

grantee
required

What a grant is made to: a single user or a single app. Serialised with an @type discriminator.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json