Skip to main content
POST
/
api
/
infogreffe
/
officers
/
appointments
/infogreffe/officers/appointments
curl --request POST \
  --url https://api.anysite.io/api/infogreffe/officers/appointments \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "person_id": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "company_id": "<string>",
    "@type": "@infogreffe_appointment",
    "country": "<string>",
    "roles": [
      {
        "@type": "@infogreffe_appointment_role",
        "role": "<string>",
        "role_code": "<string>",
        "can_bind_company": true,
        "is_associate": true,
        "is_active": true,
        "start_date": "<string>",
        "end_date": "<string>"
      }
    ]
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
person_id
string
required

Person UUID (id) of a director or officer, as returned by infogreffe/officers/search

Minimum string length: 1
Example:

"fd887fd3-46b1-4c68-8e88-23b225638ce9"

count
integer
required

Max number of appointments to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

company_id
string
required
@type
string
default:@infogreffe_appointment
country
string | null
roles
InfogreffeAppointmentRole · object[] | null