Aller au contenu

Recherche de personnes (dirigeants) à travers toutes les sociétés françaises, par nom de famille

POST
/v1/rpc/tools/search_directors
Fenêtre de terminal
curl -X POST "https://api.insourcia.io/v1/rpc/tools/search_directors" \
-H "Authorization: Bearer isk_VOTRE_CLE" \
-H "Content-Type: application/json" \
-d '{
"nom": "string"
}'

Recherche de personnes (dirigeants) à travers toutes les sociétés françaises, par nom de famille.

object
nom
obligatoire

Nom de famille du dirigeant recherché (requis).

string
prenom

Prénom (optionnel) pour désambiguïser les homonymes.

string
role

Role/qualite (optionnel), ex: ‘Président’, ‘Gérant’, ‘Administrateur’.

string
include_inactive

Inclure les mandats inactifs (par défaut : false).

boolean
limit

Nombre de sociétés à scanner (défaut 20, max 20).

number

Successful tool invocation

object
success
obligatoire
boolean
data
obligatoire

Tool-specific response payload.

Invalid input (Zod validation failure)

object
success
obligatoire
boolean
error
obligatoire
string
details

Validation issues (only present on 400 from Zod schema parse).

Array<object>
object

Missing or invalid API key

Balance below the call’s maximum cost (insufficient_credits) or the organisation’s spend cap reached (spend_cap_reached). Nothing is debited.

Refused for this account. Nothing is debited.

Unknown tool name or resource not found

Internal error