Contacts

Create a client contact

Add a new contact person to a client.

post/v1/clients/{clientId}/contacts

Request

  • Base URL: https://api.frihet.io
  • URL: https://api.frihet.io/v1/clients/{clientId}/contacts
  • Auth: API key in header X-API-Key

Path parameters

clientIdstring required

Client unique identifier

Request body

namestring required

Contact person name

emailstring email

Contact email

phonestring

Phone number

rolestring

Job title or role

isPrimaryboolean

Whether this is the primary contact for the client

Example request

{
  "name": "Maria Garcia",
  "email": "maria@acme.es",
  "phone": "+34 612 345 678",
  "role": "CFO"
}

Response

Contact created

idstring

Unique identifier

createdAtstring date-time
updatedAtstring date-time
namestring required

Contact person name

emailstring email

Contact email

phonestring

Phone number

rolestring

Job title or role

isPrimaryboolean

Whether this is the primary contact for the client

Example response

{
  "name": "Maria Garcia",
  "email": "maria@acme.es",
  "phone": "+34 612 345 678",
  "role": "CFO"
}

Changes

No recorded changes to this operation across all 1 revision of this API.