v1

latestOpenAPI 3.0.02026-07-24115101.2 MB
Contact

Update a contact by ID

Use this endpoint to update a specific contact by ID.

put/contacts/{contact_id}

Path parameters

contact_idinteger required

The unique ID of the contact.

Headers

x-oneflow-api-tokenstring required

The API key of your Oneflow account.

x-oneflow-user-emailstring email required

The email address of a registered Oneflow user.

Request body

company_namestring

The name of the contact person's company.

company_registration_numberstring

The registration number of the contact person's company.

country_codestring country_code

The country code of the contact.

date_of_birthstring

The date of birth of the contact person.

emailstring email

The email of the contact person.

namestring

The name of the contact person.

notesstring

The notes add by the contact person.

phone_numberstring nullable

The phone number of the contact person.

titlestring

The title of the contact person.

Example request

{
  "company_name": "Company AB",
  "email": "own@email.com",
  "name": "Firstname Lastname"
}

Response

Returns the updated contact.

company_namestring required
company_registration_numberstring required
country_codestring required
created_timestring datetime nullable required
date_of_birthstring required
emailstring email required
idinteger required
namestring required
notesstring required
phone_numberstring nullable required
titlestring required
updated_timestring datetime nullable required
workspace_idinteger required