Skip to main content

Create contact

Create a new contact for an organization.

Path Parameters
organizationId uuid REQUIRED
Header Parameters
organization-id uuid

ID of organization context this request belongs to.

Request Body REQUIRED
defaultContact boolean
email string REQUIRED

Possible values: length ≤ 255

name string REQUIRED

Possible values: length ≤ 255

phone string REQUIRED

Possible values: length ≤ 255

Responses
201

Contact successfully created

Schema OPTIONAL
id uuid OPTIONAL
createdAt date-time OPTIONAL
createdById uuid OPTIONAL
defaultContact boolean OPTIONAL
email string OPTIONAL
name string OPTIONAL
phone string OPTIONAL
400

Bad Request (e.g. element not found or resource conflict).

Schema OPTIONAL
message string OPTIONAL
timestamp date-time OPTIONAL
traceId string OPTIONAL
type string OPTIONAL
403

Missing permission

Schema OPTIONAL
message string OPTIONAL
timestamp date-time OPTIONAL
traceId string OPTIONAL
type string OPTIONAL
500

Internal server error (Internal service communication or process error).

Schema OPTIONAL
message string OPTIONAL
timestamp date-time OPTIONAL
traceId string OPTIONAL
type string OPTIONAL