Skip to main content

CreateDeal creates a new open deal.

POST 

/api/v1/crm/deals

At least one of contact_id or account_id must be provided. The caller must have write permission on the referenced parent object (SpiceDB).

Errors:

  • INVALID_ARGUMENT: title is empty; neither contact_id nor account_id given.
  • PERMISSION_DENIED: caller lacks write access to the parent object.
  • NOT_FOUND: referenced contact, account, or stage does not exist.

Request

Responses

A successful response.