tenant

Get this tenant's registered Odoo connection (no secrets).

get/api/v1/tenant/odoo-connection

Request

  • Base URL: https://api.prosp.cc
  • URL: https://api.prosp.cc/api/v1/tenant/odoo-connection
  • Auth: OAuth 2 (client credentials, token URL https://prosp-mcp-641053169627.auth.eu-central-1.amazoncognito.com/oauth2/token, scopes: mcp/execute)

Response

The registered connection.

customer_idstring required

Your tenant identifier (derived from the access token).

odoo_urlstring required

The Odoo base URL leads are written to.

odoo_dbstring required

Your Odoo database name — the API authentication parameter identifying which database on the Odoo server leads are synced into. Leads are written through Odoo's JSON-RPC API; no direct database access is used.

odoo_uidinteger required

The Odoo user id the stored API key belongs to.

statusstring required

Connection status (e.g. active).

stage_idinteger nullable

The configured Odoo CRM stage id for new leads, or null if unset.

team_idinteger nullable

The configured Odoo sales-team id for new leads, or null if unset.

user_idinteger nullable

The configured Odoo salesperson user id for new leads, or null if unset.

enrichment_stage_idinteger nullable

The configured Odoo CRM stage id for leads awaiting enrichment, or null if unset.

lead_type'lead' | 'opportunity'

Whether records are created as leads or opportunities.

validated_atstring date-time

When the connection was last successfully validated (present only on a submit response).

messagestring

Human-readable outcome of the submit (present only on a submit response).

Example response

{
  "odoo_url": "https://mycompany.odoo.com",
  "status": "active",
  "lead_type": "opportunity"
}

Changes

No recorded changes to this operation across all 1 revision of this API.