Saltar para o conteúdo principal
POST
/
v1
/
activities
Criar atividade
curl --request POST \
  --url https://api.vendaze.com/v1/activities \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "call",
  "content_html": "<string>",
  "person_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "deal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "owner_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "type": "call",
    "content_html": "<p>Discussed commercial proposal.</p>",
    "person_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "deal_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "owner_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.vendaze.com/llms.txt

Use this file to discover all available pages before exploring further.

Autorizações

Authorization
string
header
obrigatório

OAuth 2.1 access token.

Corpo

application/json
type
enum<string>
obrigatório
Opções disponíveis:
notes,
email,
call,
meeting
Exemplo:

"call"

content_html
string
person_id
string<uuid>
company_id
string<uuid>
deal_id
string<uuid>
owner_user_id
string<uuid>

Resposta

Atividade criada com sucesso.

data
object