POST
/
leads
curl --request POST \
  --url https://api.meuassistente.rdstationmentoria.com.br/rest/leads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "agentId": "<string>",
  "name": null,
  "email": null,
  "phone": null,
  "company": null,
  "site": null,
  "custom": {},
  "utm": {},
  "capture": "completed",
  "platformId": "<string>",
  "platform": "<string>"
}'
{
  "id": "<string>",
  "agentId": "<string>",
  "name": null,
  "email": null,
  "phone": null,
  "company": null,
  "site": null,
  "custom": {},
  "utm": {},
  "capture": "completed",
  "workspaceId": "<string>",
  "createdAt": "2025-07-04T18:19:22.559Z",
  "updatedAt": "2025-07-04T18:19:22.559Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Successful response

The response is of type object.

POST
/
leads
curl --request POST \
  --url https://api.meuassistente.rdstationmentoria.com.br/rest/leads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "agentId": "<string>",
  "name": null,
  "email": null,
  "phone": null,
  "company": null,
  "site": null,
  "custom": {},
  "utm": {},
  "capture": "completed",
  "platformId": "<string>",
  "platform": "<string>"
}'
{
  "id": "<string>",
  "agentId": "<string>",
  "name": null,
  "email": null,
  "phone": null,
  "company": null,
  "site": null,
  "custom": {},
  "utm": {},
  "capture": "completed",
  "workspaceId": "<string>",
  "createdAt": "2025-07-04T18:19:22.559Z",
  "updatedAt": "2025-07-04T18:19:22.559Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Successful response

The response is of type object.