Help

Open a new tab with a json body containing card information

Topic Labels: Automations
439 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Levasseur
4 - Data Explorer
4 - Data Explorer

Hi all!

I want to open a new tab according to the phone number on the card, however, I need the phone number to be in the body of the request and not in the URL
I need something like this:

 

curl --location 'https://example.com/' \
--header 'Content-Type: application/json' \
--data-raw '{"dialer":{
"dials": [{
"attendant_email": "test@test.com",
"extension_number": 101,
"customer_info": "Test",
"client": {
"phones": [{
"name":"Name in Card",
"number": "Phone in Card",
"type": "2"}]}}]},
"token": "fix token"}'

Can i do this in button with openURL?
0 Replies 0