POST Booking popCall
PopCall Post a booking through a webhook.
POST
/popcall/authorization<token>
To get an API key, please contact us. We'll be happy to help you.
In: header
call_idstring
Format
uuidcall_caller_idstring
phone number
call_caller_id_valid_phoneboolean
Is the phone number following the E.164 format
Value in
falsecall_phone_numberstring
Only sent if phone number is valid (c.f: call_caller_id_valid_phone)
call_current_statusstring
status of the current call
Value in
"ABANDON" | "SONNERIE" | "RACCROCHE" | "DECROCHE"call_date_millisinteger
call date timestamp in milliseconds
Range
0 <= valuelocationIdstring
location id
Format
uuidorganizationIdstring
organization id
Format
uuidResponse Body
application/json
curl -X POST "http://localhost:4008/popcall/" \ -H "Content-Type: application/json" \ -d '{ "call_id": "0d0a16ab-a508-4d58-bf24-5dc3cb248f3e", "call_caller_id": "string", "call_caller_id_valid_phone": true, "call_phone_number": "string", "call_current_status": "ABANDON", "call_date_millis": 0, "locationId": "1a5515a3-ba81-4a42-aee7-ad9ffc090a54", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9" }'null