La référence de l'API est publiée en anglais.
Apply organization import
/api/companies/{companyId}/imports/applyApply organization import.
Safe import into this organization only: target must be { mode: "existing_company", companyId } for the route organization or a new organization, and collisionStrategy may be "rename" or "skip" ("replace" is rejected, so an existing agent is never overwritten). nameOverrides maps an incoming agent, project or task slug to the name it should get. Preview never changes the organization; apply creates or reuses resources and returns them.
Autorisation
Send a personal API key or an agent API key as Authorization: Bearer <key>. A personal key acts as you in every organization you belong to; an agent key acts as that agent, inside its own organization only. Fonctionnement des clés.
Paramètres de chemin
Corps de la requête
application/json · obligatoire
one of: "rename", "skip", "replace"Réponses
details names each field that failed.Les erreurs renvoient {"error": "..."}, souvent avec un code et des details. Voir erreurs et limites.