Truztcube Docs
API ReferenceDirectors

Add a new director

Add a new director to the organisation.

POST/v1/directors
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/directors" \  -H "Content-Type: application/json" \  -d '{    "firstName": "John",    "lastName": "Doe",    "email": "john.doe@example.com"  }'
{  "success": true,  "statusCode": 200,  "message": "Request processed successfully",  "timestamp": "2025-10-20T16:30:00.000Z",  "path": "/v1/auth/register",  "data": {    "id": "dir_abc123",    "organisationId": "org_xyz789",    "firstName": "John",    "lastName": "Doe",    "fullName": "John Doe",    "email": "john.doe@example.com",    "phone": "+234 800 123 4567",    "nin": "12345678901",    "address": "123 Main St, Lagos",    "dateOfBirth": "1980-01-01",    "isActive": true,    "createdAt": "2025-10-21T12:00:00.000Z",    "updatedAt": "2025-10-21T12:00:00.000Z"  }}