Skip to content
Start free in Cloud

Accept invite REST API

POST
/api/auth/accept-invite
curl --request POST \
--url https://hitkeep.com/api/auth/accept-invite \
--header 'Content-Type: application/json' \
--data '{ "password": "example", "token": "example" }'

Accepts a team invite. New invite-created users provide a password and receive a session cookie; existing users must sign in first and can accept with the token only.

Media typeapplication/json
object
password
string
>= 8 characters
token
required
string
Examplegenerated
{
"password": "example",
"token": "example"
}

Login response

Media typeapplication/json
object
challenge_token
string
factors
Array<string>
Allowed values: totp passkey recovery_code email_link
passkey
object
key
additional properties
any
status
string
Example
{
"factors": [
"totp"
]
}

Invalid or expired link

Media typeapplication/json
object
message
string
Examplegenerated
{
"message": "example"
}

Sign in to accept this invitation

Media typeapplication/json
object
message
string
Examplegenerated
{
"message": "example"
}

Invite cannot be accepted

Media typeapplication/json
object
message
string
Examplegenerated
{
"message": "example"
}