getGreetings
getGreetings
application/json
Request Body required
callRequest
callSid string
callerCommunicationValue string
dealerUUID string
numberType string
Possible values: [DRIVER_AND_CUSTOMER DRIV_CALL
, TM_AND_CUSTOMER PDM_CALL
, SA_AND_CUSTOMER SA_CALL
, DRIVER_AND_SA DRIV_SA
, DRIVER_AND_TM DRIV_TM
]
Responses
- 200
- 201
- 401
- 403
- 404
OK
*/*
Schema
Example (from schema)
Schema
errors object[]
greetings string
warnings object[]
{
"errors": [
{
"errorCode": "string",
"errorDescription": "string",
"metadata": {}
}
],
"greetings": "string",
"warnings": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
Created
Unauthorized
Forbidden
Not Found
POST /v3/external/call/greetings
Request
Request
curl / cURL
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/external/call/greetings' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"callSid": "string",
"callerCommunicationValue": "string",
"dealerUUID": "string",
"numberType": "DRIVER_AND_CUSTOMER DRIV_CALL"
}'
python / requests
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/external/call/greetings' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"callSid": "string",
"callerCommunicationValue": "string",
"dealerUUID": "string",
"numberType": "DRIVER_AND_CUSTOMER DRIV_CALL"
}'
go / native
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/external/call/greetings' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"callSid": "string",
"callerCommunicationValue": "string",
"dealerUUID": "string",
"numberType": "DRIVER_AND_CUSTOMER DRIV_CALL"
}'
nodejs / axios
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/external/call/greetings' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"callSid": "string",
"callerCommunicationValue": "string",
"dealerUUID": "string",
"numberType": "DRIVER_AND_CUSTOMER DRIV_CALL"
}'
ruby / Net::HTTP
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/external/call/greetings' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"callSid": "string",
"callerCommunicationValue": "string",
"dealerUUID": "string",
"numberType": "DRIVER_AND_CUSTOMER DRIV_CALL"
}'
csharp / RestSharp
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/external/call/greetings' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"callSid": "string",
"callerCommunicationValue": "string",
"dealerUUID": "string",
"numberType": "DRIVER_AND_CUSTOMER DRIV_CALL"
}'
php / cURL
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/external/call/greetings' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"callSid": "string",
"callerCommunicationValue": "string",
"dealerUUID": "string",
"numberType": "DRIVER_AND_CUSTOMER DRIV_CALL"
}'
java / OkHttp
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/external/call/greetings' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"callSid": "string",
"callerCommunicationValue": "string",
"dealerUUID": "string",
"numberType": "DRIVER_AND_CUSTOMER DRIV_CALL"
}'
powershell / RestMethod
curl -L -X POST '//api.mykaarma.com/pickupdelivery/v3/external/call/greetings' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{
"callSid": "string",
"callerCommunicationValue": "string",
"dealerUUID": "string",
"numberType": "DRIVER_AND_CUSTOMER DRIV_CALL"
}'