POST
/
projects
/
{projectId}
/
leads
curl --request POST \
  --url https://api.chat-dash.com/v1/public/projects/{projectId}/leads \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "phone": "<string>",
    "customFields": {},
    "tags": [
      "<string>"
    ]
  }
]'
[
  {
    "_id": "<string>",
    "phone": "<string>",
    "customFields": {},
    "tags": [
      "<string>"
    ]
  }
]

Headers

Authorization
string
required

All requests to the ChatDash API must be validated with the agency API Key found on your agency profile

Path Parameters

projectId
string
required

The ID of the project

Body

application/json · object[]

The body is of type object[].

Response

200
application/json
OK

The response is of type object[].