User Profile
The profile is a collection of inputs from, or about the User.
Contacts
One of inputs is the contacts, which are information about people linked to the user. These contacts may be used for example if you want different names to appear on the authorization request page of data connections.
GET
/api/v6/users/{userId}/profile/contactsList the contacts of a user with this endpoint.
POST
/api/v6/users/{userId}/profile/contactsCreate a new contact for the user with this endpoint.
| Field | Type | Description |
|---|---|---|
| id | uuid | Unique id of the user |
| reference | string | This field must indicate who the contact is (i.e.: "manager", "requester", "accountant", etc...). This field is left to the client. If multiple contacts share the same reference for a user, which one would then be selected for that reference is undefined |
| name | string | Complete name of the contact (company name, full name, possibly with a title). |
| first_name | string | First name of the person |
| last_name | string | Last name of the person |
| birth_date | string | Birth date of the contact |
| registration_number | string | Registration number of the contact (i.e.: siren) |
| address | Address | Address of the contact |
| phone_numbers | string[] | Phone numbers of the contact |
| emails | string[] | emails |