Documentation Index

Fetch the complete documentation index at: https://www.bloxs.io/llms.txt

Use this file to discover all available pages before exploring further.

Insert a person

Prev Next
Post
/api/v1/relations/persons

Insert a new person.

Insert a Person

Creates a new person relation in Bloxs.

A developer calls this endpoint to register a new individual (for example a tenant, contact, or other relation type not yet in the system) rather than update an existing one. On success, Bloxs generates and returns the internal reference and display name for the new record, along with the full stored data.


Request Fields

Field

Type

Required

Description

lastName

string, max 200

Required

The person's last name (surname).

initials

string, max 20

Optional

The person's initials.

firstName

string, max 200

Optional

The person's first name.

lastNamePrefix

string, max 112

Optional

A name prefix or particle preceding the last name (for example "van" or "de"), common in Dutch naming conventions.

dateOfBirth

string (date), nullable

Optional

The person's date of birth, formatted as an ISO 8601 date (YYYY-MM-DD), for example "1985-06-23".

jobTitle

string, max 256

Optional

The person's job title, relevant when the person acts in a professional capacity (for example as a contact for an organisation).

relationTypeName

string, max 256

Required

The name of the relation type to assign to this person. Valid values can be retrieved from the Get all relation types endpoint.

communicationFormName

string, max 256

Required

The salutation/gender form used to address this person in correspondence, for example Male, Female, or Unknown by default. This value is used to generate standard correspondence expressions such as the salutation line in letters and emails. The list of available values is configurable in Bloxs and can be retrieved from the Get all communication forms endpoint (GET /api/v1/relations/communicationForms).

correspondenceMethod

integer (enum)

Required

How correspondence should be delivered to this person. Allowed values: 1 = Email, 2 = Post. This value determines which of primaryEmailAddresses or address is mandatory (see below).

languageISOCode

string, max 2, nullable

Optional

ISO 639-1 two-letter language code (for example "nl" or "en") determining the language used in correspondence.

externalIdentifier

string, max 100, nullable

Optional

An external API identifier to associate with this person, if the integrating system wants to track its own identifier for the record.

address.street

string, max 200

Conditionally required

Street name of the person's main address. Required when correspondenceMethod is set to Post (2).

address.houseNumber

string, max 40, nullable

Optional

House number of the person's main address, including any suffix (for example "12A").

address.postalCode

string, max 20

Conditionally required

Postal code of the person's main address. Required when correspondenceMethod is set to Post (2).

address.city

string, max 200

Conditionally required

City of the person's main address. Required when correspondenceMethod is set to Post (2).

address.countryISOCode

string, max 2

Conditionally required

ISO 3166-1 alpha-2 country code of the person's main address, for example "NL". Required when correspondenceMethod is set to Post (2).

invoiceAddress.street

string, max 200

Required (if invoiceAddress is set)

Street name of the address to use for invoicing this person, if different from the main address.

invoiceAddress.houseNumber

string, max 40, nullable

Optional

House number of the invoice address, including any suffix.

invoiceAddress.postalCode

string, max 20

Required (if invoiceAddress is set)

Postal code of the invoice address.

invoiceAddress.city

string, max 200

Required (if invoiceAddress is set)

City of the invoice address.

invoiceAddress.countryISOCode

string, max 2

Required (if invoiceAddress is set)

ISO 3166-1 alpha-2 country code of the invoice address.

postalAddress.street

string, max 200

Required (if postalAddress is set)

Street name of the postal correspondence address, if different from the main address.

postalAddress.houseNumber

string, max 40, nullable

Optional

House number of the postal address, including any suffix.

postalAddress.postalCode

string, max 20

Required (if postalAddress is set)

Postal code of the postal address.

postalAddress.city

string, max 200

Required (if postalAddress is set)

City of the postal address.

postalAddress.countryISOCode

string, max 2

Required (if postalAddress is set)

ISO 3166-1 alpha-2 country code of the postal address.

phoneNumber

string, nullable

Optional

The person's landline phone number.

mobileNumber

string, nullable

Optional

The person's mobile phone number.

primaryEmailAddresses

array of string, nullable

Conditionally required

The person's primary email address(es), used for general correspondence. Required when correspondenceMethod is set to Email (1).

invoicesEmailAddresses

array of string, nullable

Optional

Email address(es) that should receive invoices for this person.

paymentRemindersEmailAddresses

array of string, nullable

Optional

Email address(es) that should receive payment reminder correspondence.

indexationsEmailAddresses

array of string, nullable

Optional

Email address(es) that should receive rent or fee indexation notices.

serviceTicketsEmailAddresses

array of string, nullable

Optional

Email address(es) that should receive service or maintenance ticket correspondence.

purchaseOrdersEmailAddresses

array of string, nullable

Optional

Email address(es) that should receive purchase order correspondence.

portalsEmailAddresses

array of string, nullable

Optional

Email address(es) used for portal-related notifications.

otherEmailAddresses

array of string, nullable

Optional

Any additional email address(es) not covered by the categories above.

cocNumber

string, max 256, nullable

Optional

Chamber of Commerce (KVK-style) registration number for the person, where applicable (for example a sole proprietor).

cocDescription

string, nullable

Optional

Free-text description associated with the Chamber of Commerce registration.

vatNumber

string, max 256, nullable

Optional

The person's VAT identification number, used for invoicing and determining VAT/reverse-charge treatment where applicable.

identificationTypes

array of objects, nullable

Optional

Identification documents to store for this person. See identificationTypes.identificationTypeItemName and identificationTypes.identificationNumber below.

identificationTypes.identificationTypeItemName

string, max 256

Required (within each entry)

The type of identification document, for example "Passport" or "Driving Licence".

identificationTypes.identificationNumber

string, max 100

Required (within each entry)

The document number for the identification entry.

remarks

string, nullable

Optional

Free-text internal remarks about the person.


Response Fields

Field

Type

Required

Description

reference

string, max 100

Optional

The internal identifier (Reference/Code) generated by Bloxs for the newly created person.

externalIdentifier

string, max 100

Optional

The external API identifier for this person, if one was supplied on creation.

displayName

string

Optional

The formatted display name generated by Bloxs, composed from initials, first name, last name prefix, and last name.

initials

string, max 20

Optional

The person's initials.

firstName

string, max 200

Optional

The person's first name.

lastNamePrefix

string, max 112

Optional

A name prefix or particle preceding the last name.

lastName

string, max 200

Required

The person's last name (surname).

dateOfBirth

string (date), nullable

Optional

The person's date of birth, formatted as an ISO 8601 date (YYYY-MM-DD).

jobTitle

string, max 256

Optional

The person's job title.

relationTypeName

string, max 256

Required

The relation type assigned to this person.

communicationFormName

string, max 256

Required

The salutation/gender form used to address this person in correspondence.

correspondenceMethod

integer (enum)

Required

How correspondence is delivered to this person. Allowed values: 1 = Email, 2 = Post.

languageISOCode

string, max 2, nullable

Optional

ISO 639-1 two-letter language code determining the correspondence language.

address.street

string, max 200

Conditionally required

Street name of the person's main address.

address.houseNumber

string, max 40, nullable

Optional

House number of the person's main address, including any suffix.

address.postalCode

string, max 20

Conditionally required

Postal code of the person's main address.

address.city

string, max 200

Conditionally required

City of the person's main address.

address.countryISOCode

string, max 2

Conditionally required

ISO 3166-1 alpha-2 country code of the person's main address.

invoiceAddress.street

string, max 200

Required (if invoiceAddress is set)

Street name of the invoice address.

invoiceAddress.houseNumber

string, max 40, nullable

Optional

House number of the invoice address.

invoiceAddress.postalCode

string, max 20

Required (if invoiceAddress is set)

Postal code of the invoice address.

invoiceAddress.city

string, max 200

Required (if invoiceAddress is set)

City of the invoice address.

invoiceAddress.countryISOCode

string, max 2

Required (if invoiceAddress is set)

ISO 3166-1 alpha-2 country code of the invoice address.

postalAddress.street

string, max 200

Required (if postalAddress is set)

Street name of the postal address.

postalAddress.houseNumber

string, max 40, nullable

Optional

House number of the postal address.

postalAddress.postalCode

string, max 20

Required (if postalAddress is set)

Postal code of the postal address.

postalAddress.city

string, max 200

Required (if postalAddress is set)

City of the postal address.

postalAddress.countryISOCode

string, max 2

Required (if postalAddress is set)

ISO 3166-1 alpha-2 country code of the postal address.

phoneNumber

string, nullable

Optional

The person's landline phone number.

mobileNumber

string, nullable

Optional

The person's mobile phone number.

primaryEmailAddresses

array of string, nullable

Conditionally required

The person's primary email address(es).

invoicesEmailAddresses

array of string, nullable

Optional

Email address(es) that receive invoices for this person.

paymentRemindersEmailAddresses

array of string, nullable

Optional

Email address(es) that receive payment reminder correspondence.

indexationsEmailAddresses

array of string, nullable

Optional

Email address(es) that receive rent or fee indexation notices.

serviceTicketsEmailAddresses

array of string, nullable

Optional

Email address(es) that receive service or maintenance ticket correspondence.

purchaseOrdersEmailAddresses

array of string, nullable

Optional

Email address(es) that receive purchase order correspondence.

portalsEmailAddresses

array of string, nullable

Optional

Email address(es) used for portal-related notifications.

otherEmailAddresses

array of string, nullable

Optional

Any additional email address(es) not covered by the categories above.

cocNumber

string, max 256, nullable

Optional

Chamber of Commerce (KVK-style) registration number, where applicable.

cocDescription

string, nullable

Optional

Free-text description associated with the Chamber of Commerce registration.

vatNumber

string, max 256, nullable

Optional

The person's VAT identification number.

identificationTypes

array of objects, nullable

Optional

Identification documents stored for this person. See sub-fields below.

identificationTypes.identificationTypeItemName

string, max 256

Required (within each entry)

The type of identification document, for example "Passport".

identificationTypes.identificationNumber

string, max 100

Required (within each entry)

The document number for the identification entry.

remarks

string, nullable

Optional

Free-text internal remarks about the person.

archiveDate

string (date), nullable

Optional

The date from which the person is archived. Always null immediately after creation.

Security
Body parameters
Expand All
object
languageISOCode
string | null
Min length0
Max length2
address
object (Address)
street
string Required
Min length0
Max length200
houseNumber
string | null
Min length0
Max length40
postalCode
string Required
Min length0
Max length20
city
string Required
Min length0
Max length200
countryISOCode
string Required
Min length0
Max length2
invoiceAddress
object (Address)
street
string Required
Min length0
Max length200
houseNumber
string | null
Min length0
Max length40
postalCode
string Required
Min length0
Max length20
city
string Required
Min length0
Max length200
countryISOCode
string Required
Min length0
Max length2
postalAddress
object (Address)
street
string Required
Min length0
Max length200
houseNumber
string | null
Min length0
Max length40
postalCode
string Required
Min length0
Max length20
city
string Required
Min length0
Max length200
countryISOCode
string Required
Min length0
Max length2
primaryEmailAddresses
Array of string | null
string
invoicesEmailAddresses
Array of string | null
string
paymentRemindersEmailAddresses
Array of string | null
string
indexationsEmailAddresses
Array of string | null
string
serviceTicketsEmailAddresses
Array of string | null
string
purchaseOrdersEmailAddresses
Array of string | null
string
portalsEmailAddresses
Array of string | null
string
otherEmailAddresses
Array of string | null
string
externalIdentifier
string | null
Min length0
Max length100
phoneNumber
string | null
mobileNumber
string | null
cocNumber
string | null
Min length0
Max length256
cocDescription
string | null
vatNumber
string | null
Min length0
Max length256
correspondenceMethod
integer (int32) Required

Email = 1 Post = 2

remarks
string | null
relationTypeName
string Required
Min length0
Max length256
communicationFormName
string Required
Min length0
Max length256
initials
string | null
Min length0
Max length20
firstName
string | null
Min length0
Max length200
lastName
string Required
Min length0
Max length200
lastNamePrefix
string | null
Min length0
Max length112
dateOfBirth
string (date) | null
jobTitle
string | null
Min length0
Max length256
identificationTypes
Array of object (IdentificationType) | null
object
identificationTypeItemName
string Required
Min length0
Max length256
identificationNumber
string Required
Min length0
Max length100
Responses
200

The person was created

Expand All
object
languageISOCode
string | null
Min length0
Max length2
address
object (Address)
street
string
Min length0
Max length200
houseNumber
string | null
Min length0
Max length40
postalCode
string
Min length0
Max length20
city
string
Min length0
Max length200
countryISOCode
string
Min length0
Max length2
invoiceAddress
object (Address)
street
string
Min length0
Max length200
houseNumber
string | null
Min length0
Max length40
postalCode
string
Min length0
Max length20
city
string
Min length0
Max length200
countryISOCode
string
Min length0
Max length2
postalAddress
object (Address)
street
string
Min length0
Max length200
houseNumber
string | null
Min length0
Max length40
postalCode
string
Min length0
Max length20
city
string
Min length0
Max length200
countryISOCode
string
Min length0
Max length2
primaryEmailAddresses
Array of string | null
string
invoicesEmailAddresses
Array of string | null
string
paymentRemindersEmailAddresses
Array of string | null
string
indexationsEmailAddresses
Array of string | null
string
serviceTicketsEmailAddresses
Array of string | null
string
purchaseOrdersEmailAddresses
Array of string | null
string
portalsEmailAddresses
Array of string | null
string
otherEmailAddresses
Array of string | null
string
externalIdentifier
string | null
Min length0
Max length100
phoneNumber
string | null
mobileNumber
string | null
cocNumber
string | null
Min length0
Max length256
cocDescription
string | null
vatNumber
string | null
Min length0
Max length256
correspondenceMethod
integer (int32)

Email = 1 Post = 2

remarks
string | null
relationTypeName
string
Min length0
Max length256
communicationFormName
string
Min length0
Max length256
initials
string | null
Min length0
Max length20
firstName
string | null
Min length0
Max length200
lastName
string
Min length0
Max length200
lastNamePrefix
string | null
Min length0
Max length112
dateOfBirth
string (date) | null
jobTitle
string | null
Min length0
Max length256
identificationTypes
Array of object (IdentificationType) | null
object
identificationTypeItemName
string
Min length0
Max length256
identificationNumber
string
Min length0
Max length100
reference
string | null
Min length0
Max length100
displayName
string | null
archiveDate
string (date) | null
400

The person data has validation issues

Expand All
object
type
string | null
title
string | null
traceId
string | null
status
integer (int32)
errors
object | null
property*
Array of string | null additionalProperties
string