1b.app
Link copied -

Description of API fields

1. Where can we see the description of the fields for the /api/v2/event/set/ method? What values should be specified in the direction key?
2. Does API V2 have a method for searching events by subject and a method for updating events - for example, attaching an audio file?
Original question is available on version: ru

Answers:

1. https://swagger.1b.app/#/event/event https://tppr.me/KFgySi in the documentation.
2. In the case of a call, you need to wait until you have an audio recording and then push it. There is almost never any point in sending calls via API, since the box has integrations with about 20 telephony systems, you can connect any of them and you will have events for calls from their box.
19.09.2024, 16:06
Original comment available on version: ru

Mikhail
Leave a message in this thread and the user's contacts will be shown to you
And what method from the documentation should I use to attach a call, because the doc specifies the POST /api/v2/event/set/ method and that's it. And what method should I use to search by events for the desired recording to which I should attach the audio?
19.09.2024, 16:11
Original comment available on version: ru

At the moment you can't attach audio using a separate request via API. That is, you need to create a call with audio right away.
20.09.2024, 11:35
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment