v1

latestOpenAPI 3.0.22026-08-045831103.6 KB
Deals

Create deal

Create a new Deal

post/v1/deals

Headers

api-tokenstring required

API Token

Request body

origin_idstring uuid required
namestring
phonestring
emailstring
usernamestring
valuenumber
stage_idstring uuid
user_idstring uuid
contact_idstring uuid

Example request

{
  "origin_id": "8feade82-d77b-4e8b-9d35-fd43e972b5c8",
  "name": "Contact name",
  "phone": "48999999999",
  "email": "contact@email.com",
  "username": "Instagram ID",
  "stage_id": "8feade82-d77b-4e8b-9d35-fd43e972b5c8",
  "user_id": "8feade82-d77b-4e8b-9d35-fd43e972b5c8",
  "contact_id": "8feade82-d77b-4e8b-9d35-fd43e972b5c8"
}

Response

Deal created

idstring uuid

Example response

{
  "id": "8feade82-d77b-4e8b-9d35-fd43e972b5c8"
}