Skip to content

Send an invitation email to a new user to join the organization

Request

For organizations using the default Trustgrid authentication provider, users must be invited and then they should sign up with the invited email address. For custom IDP integrations, users should be added instead.

Security
JWTAuthorizer
Bodyapplication/json
emailstringrequired

User's email

policyIdstringrequired

ID of the policy to be applied to the user upon account creation

curl -i -X POST \
  https://apidocs.trustgrid.io/_mock/user \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "email": "string",
    "policyId": "string"
  }'

Responses

OK