Skip to main content
POST
Add a member to a team

Authorizations

slog-api-key
string
header
required

API key obtained from the Slog dashboard or returned by the signup/invite-redeem flows. Pass as the slog-api-key header.

Path Parameters

id
string
required

Resource ID (UPID) or, for tasks and projects, the human-readable reference such as ENG-42.

Body

application/json
userId
string
required

ID of the user to add.

Example:

"user_01jquser0002"

role
enum<string>

Role of a user within a team.

Available options:
VIEWER,
MEMBER,
ADMIN,
OWNER

Response

Member added.

teamMember
object