Skip to content

Validate a user's invite

Request

Check if a user's invite is still valid. This operation is useful to avoid having the user fill in a form only to be held by a validation issue (eg. expired invite).

Security
api-key
Path
user_idstring(UserId)^[0-9]+$required

The unique identifier for the user.

Bodyapplication/jsonrequired
inviteCodestring(Nonce)^[0-9]{6}$required

A randomly generated one-time use code.

curl -i -X POST \
  'https://sandbox.weavr.io/multi/users/{user_id}/invite/validate' \
  -H 'Content-Type: application/json' \
  -H 'api-key: YOUR_API_KEY_HERE' \
  -d '{
    "inviteCode": "string"
  }'

Responses

Success - No Content.

Headers
request-refstringrequired

A request identifier. Providing this reference when contacting our support team will help us investigate your query.

Response
No content