Create new user
Changed onRequest
- Base URLhttps://api.getmaintainx.com/v1
- AuthHTTP bearer
Query parameters
Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks
Headers
Required if using a multi organizations token
Request body
Example request
{
"firstName": "John",
"lastName": "Doe",
"role": "MEMBER",
"customRole": "Custom Role Name",
"email": "user@example.com",
"phoneNumber": "415-555-0100",
"externalData": {
"popularErpSolutionId": "asd732da"
},
"extraFields": {
"Department": "Engineering"
},
"authType": "SAML",
"inviteType": "ALL",
"hourlyRate": 120
}Response
Successfully created user
Example response
{
"id": 963
}Changes
- info
added the new
VIEW_ONLYenum value to the request property
- info
- breaking
removed the media type
application/octet-streamfrom the request body - info
added the new optional
headerrequest parameterx-organization-id - info
added the new optional
queryrequest parameterskipWebhook - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new
OPERATORenum value to the request property - info
added the new
SERVICE_ACCOUNTenum value to the request property - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking