Create a team
Create a new team and optionally add the current user as a member.
Request
This endpoint expects an object.
display_name
Human-readable team display name. This is not a unique identifier.
creator_user_id
The ID of the creator of the team. If not specified, the user will not be added to the team. Can be either "me" or the ID of the user. Only used on the client side.
profile_image_url
URL of the profile image for team. Can be a Base64 encoded image. Must be smaller than 100KB. Please compress and crop to a square before passing in.
client_metadata
Client metadata. Used as a data store, accessible from the client side. Do not store information that should not be exposed to the client.
Response
Successful response
id
The unique identifier of the team
display_name
Human-readable team display name. This is not a unique identifier.
profile_image_url
URL of the profile image for team. Can be a Base64 encoded image. Must be smaller than 100KB. Please compress and crop to a square before passing in.
client_metadata
Client metadata. Used as a data store, accessible from the client side. Do not store information that should not be exposed to the client.
client_read_only_metadata
Client read-only, server-writable metadata. Used as a data store, accessible from the client side. Do not store information that should not be exposed to the client. The client can read this data, but cannot modify it. This is useful for things like subscription status.