cURL
curl --request POST \ --url https://fretatech.com.br/api/opportunity-source \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Website", "description": "Oportunidades vindas do website" } '
{ "msg": "Origem criada com sucesso", "source": { "id": 1, "name": "Website", "slug": "website", "description": "Oportunidades vindas do website" } }
Adiciona nova origem de oportunidade
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Nome da origem
"Website"
Descrição da origem
"Oportunidades vindas do website"
Successful operation
"Origem criada com sucesso"
Show child attributes
1
"website"