curl "$PAM_API_BASE/sms-conversations" \
-X POST \
-H "Authorization: Bearer $PAM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agentSlug": "sms-retention",
"toNumber": "'"$PAM_TEST_TO_NUMBER"'",
"fromNumber": "'"$PAM_SMS_FROM_NUMBER"'",
"welcomeMessage": "Hi John, this is Pam from PAM Xtime Test Store. We have a $49.95 oil and filter change special for your 2015 Mercedes-Benz GLK-Class. The offer includes up to 5 quarts of conventional oil, a new oil filter, and a complimentary multi-point inspection. Reply if you want help finding a service time.",
"dynamicVariables": {
"contact_first_name": "John",
"contact_last_name": "Smith",
"contact_email": "test@example.com",
"dealership_name": "PAM Xtime Test Store",
"service_ids": "2323372",
"service_names": "Replace engine oil and oil filter (6cyl)",
"offer_description": "$49.95 oil and filter change special, including up to 5 quarts of conventional oil, a new oil filter, and a complimentary multi-point inspection. Taxes, shop supplies, synthetic oil, and diesel vehicles may be extra.",
"vin": "WDCGG5HB4FG429584",
"vehicle_year": "2015",
"vehicle_make": "MERCEDES-BENZ",
"vehicle_model": "GLK-Class",
"vehicle_mileage": "100000",
"transport_type": "WAITER"
},
"metadata": {
"testRun": "prod-outbound-xtime-sms-smoke"
},
"externalReferenceId": "'"$PAM_SMS_TEST_RUN_ID"'"
}'