Adicionar histórico de ligação
Changed onpost/calls
Request
- Base URLhttps://api.pipe.run/v1
- AuthAPI key in header token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Content-Typestring required
Tokenstring required
Request body
Response
201
Example response
{
"success": true,
"message": "OK",
"data": {
"id": 78,
"account_id": 1,
"user_id": 2,
"from_user_id": 1,
"deal_id": 47,
"company_id": 94,
"person_id": 49,
"webphone_id": 1,
"webphone_extension_id": 1,
"name": "Lucas Marinho",
"to_number": "55991318182",
"record_audio": 1,
"from_caller_id": "51992307570",
"to_caller_id": "55991318182",
"start_at": "2021-03-17 15:30:23",
"status": 200,
"record_url": "https://example.org/audio.mp3",
"external_call_id": 66558623,
"important": 1,
"duration": "00:05:31",
"cost": 1.46,
"created_at": "2021-03-17 14:02:54",
"updated_at": "2021-03-17 14:02:54"
}
}Changes
- info
endpoint added
- info