User V2

Activate user using an invite token

post/v2/users/public/activate

Request

  • Base URL
    https://user.sls.epilot.io
  • URL
    https://user.sls.epilot.io/v2/users/public/activate
  • Auth
    none required

Query parameters

tokenstring required

Token used to invite a user to epilot

Invite Token

Request body

display_namestring

User's display name (default: email address)

passwordstring

User's password

Example request

{
  "display_name": "Example User",
  "password": "AKjhdakjsdh@!34"
}

Response

Activated successfully

emailstring

Email address of the activated user

login_tokenstring

Short-lived token answering the Cognito CUSTOM_AUTH challenge, so the activated user can be signed in directly instead of being sent back to the login screen. Same shape and lifetime as a magic-link token.

Example response

{
  "user": {
    "display_name": "Example user",
    "name": "Example user",
    "preferred_language": "de",
    "signature": "<p>Thanks</p>",
    "custom_navigation": "5gbe4nkp6jsfq",
    "roles": [
      "Owner"
    ],
    "image_uri": {
      "original": "https://account-profile-images.epilot.cloud/1/avatar.png",
      "thumbnail_32": "https://account-profile-images.epilot.cloud/1/avatar_32x32.png"
    },
    "properties": [
      {
        "name": "profileImageName",
        "value": "avatar.png"
      }
    ]
  }
}

Changes