POST /crm/v3/objects/0-3

Create a deal with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard deals is provided.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
associations[] Array Yes
associations[].to Object Yes

Contains the Id of a Public Object

associations[].to.id String Yes

The unique ID of the object.

associations[].types[] Array Yes
associations[].types[].associationCategory String Yes

The category of the association, such as "HUBSPOT_DEFINED".

Valid values:

  • "USER_DEFINED"
  • "HUBSPOT_DEFINED"
  • "WORK"
  • "INTEGRATOR_DEFINED"
associations[].types[].associationTypeId Integer Yes

The ID representing the specific type of association.

properties Object Yes

Key-value pairs for setting properties for the new object.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.