Skip to content
Navigation

Publish a DealHub DealRoom for a CRM Opportunity

Uses the API-owned DealHub service and credential to generate a published DealRoom, waits for asynchronous publication, and returns the quote ID and URL. Requires the payment-setup create scope.

POST
https://api.caretlegal.net/integrations/external-clients/dealhub/deal-rooms

Authorization

  • PartnerApiKey
    HTTP
    required

Request body JSON required

  • external_opportunity_id
    string
    required

    CRM Opportunity ID linked to the DealHub quote.

    maxLength: 50
  • opportunity_name
    string
    required

    Quote and published DealRoom name.

    maxLength: 250

Returns

200

DealRoom published

JSON
  • success
    boolean
    required
  • data
    object
    required
    • externalOpportunityId
      string
      required
    • opportunityName
      string
      required
    • dealhubQuoteId
      string
      required
    • dealRoomUrl
      string
      required
      format: uri

400

Invalid request
JSON
  • success
    boolean
    required
  • error
    string
    required
  • details
    optional
    array of
    object

401

Invalid API key
JSON
  • success
    boolean
    required
  • error
    string
    required
  • details
    optional
    array of
    object

403

Missing payment-setup scope
JSON
  • success
    boolean
    required
  • error
    string
    required
  • details
    optional
    array of
    object

502

DealHub provider request failed
JSON
  • success
    boolean
    required
  • error
    string
    required
  • details
    optional
    array of
    object

503

DealHub API runtime configuration is missing
JSON
  • success
    boolean
    required
  • error
    string
    required
  • details
    optional
    array of
    object

504

DealRoom publication did not complete before the polling deadline
JSON
  • success
    boolean
    required
  • error
    string
    required
  • details
    optional
    array of
    object

Type to search…

↑↓ navigate↵ selectEsc close