inxilpro / disastercheckin.com

Open source repository for disastercheckin.com
https://disastercheckin.com
MIT License
7 stars 11 forks source link

Onboarding experience #2

Closed johnrudolph closed 1 month ago

johnrudolph commented 1 month ago

When we receive a message from any number that we don't yet have in the db, we need to ask them to opt in.

belzaaron commented 1 month ago

Coming from Twilio:

#parameters: array:20 [▼
  "ToCountry" => "US"
  "ToState" => "NC"
  "SmsMessageSid" => "SMb636ddd1145fa485c2955081811ce627"
  "NumMedia" => "0"
  "ToCity" => null
  "FromZip" => "19611"
  "SmsSid" => "SMb636ddd1145fa485c2955081811ce627"
  "FromState" => "PA"
  "SmsStatus" => "received"
  "FromCity" => "READING"
  "Body" => "Hi"
  "FromCountry" => "US"
  "To" => "+18288880440"
  "MessagingServiceSid" => "MG8906a0d53042fe5da25a86474f7e6b15"
  "ToZip" => null
  "NumSegments" => "1"
  "MessageSid" => "SMb636ddd1145fa485c2955081811ce627"
  "AccountSid" => "ACb23d55d6d8e5f84ff488dbc6bf9c2160"
  "From" => "+0000000000"
  "ApiVersion" => "2010-04-01"
]

POST's to: /webhooks/twilio.