Users

Create a user in a company

post/api/users

Request body

emailstring email nullable
companyIdstring required
firstNamestring required
lastNamestring nullable
roleKeystring

Response

Default Response

idstring required
firstNamestring nullable required
lastNamestring nullable required
emailstring nullable required
primaryCompanyIdstring nullable required
langIdstring nullable required
isBlockednumber nullable required
intercomHashstring nullable required
emailSha256string nullable required
avatarFileUrlstring nullable required
originalAvatarFileUrlstring nullable required

Changes

Changed in 4 of the 49 revisions of this API.1515

    • ▲

      removed the required property from the response with the status

      response-required-property-removed

    • ○

      added the new optional request property

      new-optional-request-property

  • 97e51f27dc771413See the full diff
    • ▲

      request property list-of-types was narrowed by removing types null from media type application/json

      request-property-list-of-types-narrowed

    • ▲

      request property list-of-types was narrowed by removing types null from media type application/json

      request-property-list-of-types-narrowed

    • ▲

      added the pattern ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$ to the request property

      request-property-pattern-added

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ▲

      the response property became nullable for the status

      response-property-became-nullable

    • ○

      the request property became nullable

      request-property-became-nullable

    • ○

      the request property became nullable

      request-property-became-nullable

    • ○

      response property avatarFileUrl list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property email list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property emailSha256 list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property firstName list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property intercomHash list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property isBlocked list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property langId list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property lastName list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property originalAvatarFileUrl list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property primaryCompanyId list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      response property primaryRole list-of-types was narrowed by removing types null from media type application/json of response 201

      response-property-list-of-types-narrowed

    • ○

      endpoint added

      endpoint-added

Of the 49 revisions, 1 has no diff computed.