Users

Create User

This endpoint creates a new SDP user as the result of an SDP owner adding their information in the UI. It also handles sending the invite email.

post/users

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header Authorization

Request body */*

first_namestring
last_namestring
rolesstring[]
emailstring

Example request

{
  "first_name": "John",
  "last_name": "Doe",
  "roles": [
    "business"
  ],
  "email": "email@email.com"
}

Response

Created

idstring required
first_namestring required
last_namestring required
emailstring required
rolesstring[] required
is_activeboolean required

Example response

{
  "id": "1736bed3-7b92-4760-8ff2-51fb08ee079f",
  "first_name": "John",
  "last_name": "Doe"
}

Changes

No recorded changes to this operation across all 13 revisions of this API.