# Introduction

## Contact model

### Example

```json
{
  "id": 1,
  "customer_id": null,
  "organization_id": 1,
  "user_id": null,
  "email": "email@placewise.com",
  "msisdn": "48...",
  "technical": true,
  "security": false,
  "billing": true,
  "created_at": "2022-01-10T09:21:29.296Z",
  "updated_at": "2022-01-10T09:21:29.296Z"
}
```

### Definition

Key | Type     | Description
--------- |----------| ---------
id | integer  | (readonly)
customer_id | integer   | Customer or Organization must be present
organization_id | integer   | Customer or Organization must be present
user_id | string   | when contact is a system user
email | string        | when contact is not a system user
msisdn | string        | optional for email contacts
technical | boolean  | contact role
security | boolean  | contact role
billing | boolean  | contact role
created_at | datetime | (readonly) Time of creation
updated_at | datetime | (readonly) Time of last update