{
"status": "success",
"data": {
"contact": {
"id": 12345678,
"group_id": 1,
"CreatedAt": "2022-10-13T15:50:34.643724Z",
"UpdatedAt": "2022-10-13T15:55:12.853724Z",
"lastchange": "2022-10-13T15:50:24.163Z",
"firstname": "Jeanne",
"surname": "Dupont",
"married_name": "Dupont",
"gender": "F",
"birthdate": "1955-07-06T00:00:00Z",
"age_category": 123,
"birthdept": "<string>",
"birthcity": "<string>",
"birthcountry": "<string>",
"nationality": "<string>",
"mail": "jsmith@example.com",
"phone": "<string>",
"mobile": "<string>",
"address": {
"housenumber": 1,
"street": "rue de la paix",
"postalcode": 75000,
"citycode": 75101,
"city": "Paris",
"state": "Ile-de-France",
"country": "France",
"addition": "Résidence de la paix",
"infos": "Porte de gauche",
"building": "Bâtiment A",
"floor": 2,
"door": "A",
"pollingstation": "BV-06",
"id": 1001,
"score": 0.965753,
"latitude": "48.000000",
"longitude": "2.000000",
"location": "48.000000,2.000000",
"invalid": null
},
"tags": [
{
"name": "<string>",
"appearance_count": 123,
"color": "<string>"
}
],
"actions_ids": [
123
],
"user_id": 123,
"user_contact_id": 123,
"formdatas": [
{
"form_id": 1001,
"form_ref_id": 2001,
"data": "Oui",
"id": 3001,
"created_at": "2022-10-13T15:50:24.163Z",
"updated_at": "2022-10-13T15:50:24.163Z",
"deleted_at": "2022-10-13T15:50:24.163Z",
"date": "2022-10-13T15:50:24.163Z",
"donedate": null,
"label": null,
"type_of_form": null,
"group_id": 1,
"contact_id": 12345678
}
],
"customfields": [
{
"form_id": 1001,
"form_ref_id": 2001,
"data": "Oui",
"id": 3001,
"created_at": "2022-10-13T15:50:24.163Z",
"updated_at": "2022-10-13T15:50:24.163Z",
"deleted_at": "2022-10-13T15:50:24.163Z",
"date": "2022-10-13T15:50:24.163Z",
"donedate": null,
"label": null,
"type_of_form": null,
"group_id": 1,
"contact_id": 12345678
}
],
"black_list": true,
"notes": [
{
"content": "<string>",
"id": 123,
"pinned": true
}
]
}
}
}Create a contact synchronously in the Qomon database.
To synchronize and mass update your contacts, use the UPSERT route instead.
To specify the advanced (custom fields, survey, etc) fields, you need to use the formdatas structure with form_id and form_ref_id.
form_id: the ID of the advanced fieldform_ref_id: the ID of the value of the advanced field"formdatas": [
{
"form_id": 47566,
"form_ref_id": 15648,
"data": "consent_email"
}
]
{
"status": "success",
"data": {
"contact": {
"id": 12345678,
"group_id": 1,
"CreatedAt": "2022-10-13T15:50:34.643724Z",
"UpdatedAt": "2022-10-13T15:55:12.853724Z",
"lastchange": "2022-10-13T15:50:24.163Z",
"firstname": "Jeanne",
"surname": "Dupont",
"married_name": "Dupont",
"gender": "F",
"birthdate": "1955-07-06T00:00:00Z",
"age_category": 123,
"birthdept": "<string>",
"birthcity": "<string>",
"birthcountry": "<string>",
"nationality": "<string>",
"mail": "jsmith@example.com",
"phone": "<string>",
"mobile": "<string>",
"address": {
"housenumber": 1,
"street": "rue de la paix",
"postalcode": 75000,
"citycode": 75101,
"city": "Paris",
"state": "Ile-de-France",
"country": "France",
"addition": "Résidence de la paix",
"infos": "Porte de gauche",
"building": "Bâtiment A",
"floor": 2,
"door": "A",
"pollingstation": "BV-06",
"id": 1001,
"score": 0.965753,
"latitude": "48.000000",
"longitude": "2.000000",
"location": "48.000000,2.000000",
"invalid": null
},
"tags": [
{
"name": "<string>",
"appearance_count": 123,
"color": "<string>"
}
],
"actions_ids": [
123
],
"user_id": 123,
"user_contact_id": 123,
"formdatas": [
{
"form_id": 1001,
"form_ref_id": 2001,
"data": "Oui",
"id": 3001,
"created_at": "2022-10-13T15:50:24.163Z",
"updated_at": "2022-10-13T15:50:24.163Z",
"deleted_at": "2022-10-13T15:50:24.163Z",
"date": "2022-10-13T15:50:24.163Z",
"donedate": null,
"label": null,
"type_of_form": null,
"group_id": 1,
"contact_id": 12345678
}
],
"customfields": [
{
"form_id": 1001,
"form_ref_id": 2001,
"data": "Oui",
"id": 3001,
"created_at": "2022-10-13T15:50:24.163Z",
"updated_at": "2022-10-13T15:50:24.163Z",
"deleted_at": "2022-10-13T15:50:24.163Z",
"date": "2022-10-13T15:50:24.163Z",
"donedate": null,
"label": null,
"type_of_form": null,
"group_id": 1,
"contact_id": 12345678
}
],
"black_list": true,
"notes": [
{
"content": "<string>",
"id": 123,
"pinned": true
}
]
}
}
}Documentation Index
Fetch the complete documentation index at: https://qomon-86428773.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
Was this page helpful?