POST
/
partner
curl --request POST \
  --url https://demo.enneo.ai/api/mind/partner \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "mia.jones@gmail.com",
  "zip": "10409",
  "city": "Berlin",
  "phone": "+4915324567843",
  "tagIds": {},
  "address": null,
  "company": null,
  "country": "Germany",
  "business": false,
  "lastname": "Jones",
  "firstname": "Mia",
  "serviceId": "5353543",
  "link": null,
  "salutation": null,
  "contractIds": {},
  "emailMatches": null,
  "description": null,
  "additionalData": null,
  "billingAddress": null,
  "deliveryAddress": null
}'
{
  "success": true,
  "id": 1
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Body

application/json
business
boolean
required

Whether the partner is a business entity

Example:

false

email
string

The email of the partner

Example:

"mia.jones@gmail.com"

zip
string | null

The postal code of the partner's address

Example:

"10409"

city
string | null

The city of the partner's address

Example:

"Berlin"

phone
string | null

The partner's phone number

Example:

"+4915324567843"

tagIds
integer[]

A list of tag IDs associated with the partner

Example:
{}
address
string | null

The street and house number of the partner's address

Example:

null

company
string | null

The name of the company the partner is associated with, if any

Example:

null

country
string | null

The country of the partner

Example:

"Germany"

lastname
string | null

The partner's last name

Example:

"Jones"

firstname
string | null

The partner's first name

Example:

"Mia"

serviceId
string | null

The service ID of the partner

Example:

"5353543"

The link of the partner

Example:

null

salutation
string | null

The salutation (e.g., Mr., Mrs.) of the partner

Example:

null

contractIds
integer[]

A list of contract IDs associated with the partner

Example:
{}
emailMatches
string[] | null

Possible email matches associated with the partner

Example:

null

description
string | null

The description of the partner

Example:

null

additionalData
string | null

Any additional data related to the partner

Example:

null

billingAddress
string | null

The partner's billing address

Example:

null

deliveryAddress
string | null

The partner's delivery address

Example:

null

Response

200
application/json
Successful operation
success
boolean
Example:

true

id
integer
Example:

1