The same twilio message should always resolve to the same doc id so that if an update comes in (ie. status change) or a pagination request includes the same record (would this happen?) we can overwrite it.
Only client-generated messages are random now. Can't think of a way around that other than changing the _id after the server gets the id from twilio, which sounds messy.
The same twilio message should always resolve to the same doc id so that if an update comes in (ie.
status
change) or a pagination request includes the same record (would this happen?) we can overwrite it.