Skip to content
Start in Cloud

Add site member

POST
/api/sites/{id}/members
curl --request POST \
--url https://hitkeep.com/api/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/members \
--header 'Content-Type: application/json' \
--cookie hk_token=<hk_token> \
--data '{ "email": "hello@example.com", "role": "example" }'

Adds member to site and optionally sends invite.

id
required
string format: uuid
Media type application/json
object
email
required
string format: email
role
required
string
Example generated
{
"email": "hello@example.com",
"role": "example"
}

Status

Media type application/json
object
message
string
status
string
Example generated
{
"message": "example",
"status": "example"
}