People

Add a person

POST
/organizations/{organizationId}/people

Adds an employee or contractor to the personnel list. It never sends email.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/organizations/string/people" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "email": "user@example.com"  }'
{  "id": "string",  "organizationId": "string",  "name": "string",  "email": "string",  "employmentType": "employee",  "status": "active",  "startDate": "string",  "endDate": "string",  "offboardedAt": null,  "offboarding": {    "accessRemovedOn": "string",    "evidenceUrl": "string",    "notRequiredReason": "string",    "recordedByUserId": "string",    "recordedAt": null  },  "lastEmailedAt": null,  "lastEmailFailedAt": null,  "lastEmailFailure": "not_allowed",  "policyCounts": {    "owed": -9007199254740991,    "acknowledged": -9007199254740991,    "overdue": -9007199254740991  },  "groupIds": [    "string"  ],  "dateCreated": null,  "dateUpdated": null}