The key in the response is opt_out_states. It will contain keys for push, email, and sms. Each of those will be an object with a state key which can be one of opt_out, available, opt_in, absent. email and sms channels may have an additional boolean value in delivery_fault, indicating if Teak encountered an error attempting to deliver an email to that player. If no delivery_fault key is present it should be assumed that Teak has not encountered any errors.
The key in the response is
opt_out_states
. It will contain keys forpush
,email
, andsms
. Each of those will be an object with astate
key which can be one ofopt_out
,available
,opt_in
,absent
.email
andsms
channels may have an additional boolean value indelivery_fault
, indicating if Teak encountered an error attempting to deliver an email to that player. If nodelivery_fault
key is present it should be assumed that Teak has not encountered any errors.For example