Invite User

Register User

POST https://{server_address}/api/v1/organization/users/register

This endpoint functions similarly to the Create User endpoint. However, instead of creating a user account directly, it sends an email to the user. The users must then follow the verification link in the email and enter their data personally.

Headers

NameTypeDescription

Authorization*

Bearer {access_token}

Content-Type*

application/json

Request Body

NameTypeDescription

email*

john@example.com

New user's email

locale

en_US

New user's locale. The locale is consist of two-letter language code defined by ISO 639-1 (e.g., "en" for English) and a two-letter country code defined by ISO 3166-1 alpha-2 (e.g., "US" for the United States) separated by underscore.

Request examples:

# curl command example:
$ curl -X POST -H "Content-Type: application/json" \
      -H "Authorization: Bearer {accessToken}" \
      -d '{"email":"test@example.com","locale":"en_US"}' \
      https://fra1.blynk.cloud/api/v1/organization/users/register

$ curl -X POST -H "Content-Type: application/json" \
      -H "Authorization: Bearer eIdWHQqRfFmvP5LDDh-IGxPUzi7I27HthzCPAVmS" \
      -d '{"email":"test@example.com","locale":"en_US"}' \
      https://fra1.blynk.cloud/api/v1/organization/users/register

Last updated