Skip to content

Get accessible scope

Request

Returns all agencies accessible by the authenticated client, together with the API packs attached to its access.

This is the recommended first call when integrating. It tells you:

  • Which agencies (manufacturers) your token has access to
  • Basic agency information (name, address, SIRET, etc.)
  • The API packs (subscription scopes) granted to your access

Use the returned agency_id values in subsequent API calls (e.g. POST /products, POST /leads/sellers) to specify which agency a resource belongs to.

Security
bearerAuth
curl -i -X GET \
  https://api-doc.immo-facile.com/_mock/openapi/discovery \
  -H 'Authorization: Bearer <YOUR_opaque_HERE>'

Responses

List of accessible agencies and attached packs

Bodyapplication/json
agenciesArray of objects(DiscoveryAgency)
packsArray of objects(DiscoveryPack)
Response
{ "agencies": [ { … } ], "packs": [ { … } ] }