Skip to main content
POST
/
users
/
invitations
/
accept
Accept invitation and set password
curl --request POST \
  --url http://localhost:3000/users/invitations/accept \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>",
  "name": "<string>",
  "password": "<string>"
}
'
{
  "statusCode": 123,
  "message": "OK",
  "data": {
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
token
string
required
name
string
required
password
string
required
Minimum string length: 6

Response

200 - application/json

Default Response

statusCode
number
message
string
default:OK
data
object