curl "https://app.tatango.com/api/v2/lists/<ID>/opt_in_settings" -d '{"opt_in_type":"double","opt_in_requests":[{"collected_data":"zip_code","request_message":"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":true,"follow_up_hour":2,"no_response_message":"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"second_opt_in_message":null,"success_action":"nextrequest"},{"collected_data":"email_address","request_message":"Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":true,"follow_up_hour":24,"no_response_message":"Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"second_opt_in_message":null,"success_action":"nextrequest"},{"collected_data":"first_name","request_message":"Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":true,"follow_up_hour":24,"no_response_message":"Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"second_opt_in_message":null,"success_action":"nextrequest"},{"collected_data":"yes","request_message":"Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":false,"follow_up_hour":null,"opt_in_message":"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com","second_opt_in_message":"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com","success_action":"optinsubscriber"}]}' -X PUT \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -u emailaddress@mydomain.com:my_api_key \ -H "Host: example.org" \ -H "Cookie: "
require 'net/http'\nrequire 'uri'\n\nuri = URI.parse('https://app.tatango.com/api/v2/lists/<ID>/opt_in_settings')
http = Net::HTTP.new(uri.host, uri.port)
request = Net::HTTP::Put.new(uri.request_url)
request.basic_auth("emailaddress@mydomain.com", "my_api_key")
request.body({"opt_in_type":"double","opt_in_requests":[{"collected_data":"zip_code","request_message":"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":true,"follow_up_hour":2,"no_response_message":"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"second_opt_in_message":null,"success_action":"nextrequest"},{"collected_data":"email_address","request_message":"Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":true,"follow_up_hour":24,"no_response_message":"Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"second_opt_in_message":null,"success_action":"nextrequest"},{"collected_data":"first_name","request_message":"Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":true,"follow_up_hour":24,"no_response_message":"Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"second_opt_in_message":null,"success_action":"nextrequest"},{"collected_data":"yes","request_message":"Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":false,"follow_up_hour":null,"opt_in_message":"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com","second_opt_in_message":"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com","success_action":"optinsubscriber"}]} )
response = http.request(request)
var request = new XMLHttpRequest();
request.open('PUT', 'https://app.tatango.com/api/v2/lists/<ID>/opt_in_settings', false);
request.setRequestHeader('Content-Type', 'application/json');
request.setRequestHeader('Authorization', 'Basic ' + btoa('emailaddress@mydomain.com:my_api_key'));
var data = JSON.stringify({
opt_in_type: 'double',
opt_in_requests: [
{
collected_data: 'zip_code',
request_message: 'Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
retry_message: 'Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
follow_up: true,
follow_up_hour: 2,
no_response_message: 'Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
opt_in_message: null,
second_opt_in_message: null,
success_action: 'nextrequest'
},
{
collected_data: 'email_address',
request_message: 'Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
retry_message: 'Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
follow_up: true,
follow_up_hour: 24,
no_response_message: 'Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
opt_in_message: null,
second_opt_in_message: null,
success_action: 'nextrequest'
},
{
collected_data: 'first_name',
request_message: 'Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
retry_message: 'Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
follow_up: true,
follow_up_hour: 24,
no_response_message: 'Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
opt_in_message: null,
second_opt_in_message: null,
success_action: 'nextrequest'
},
{
collected_data: 'yes',
request_message: 'Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
retry_message: 'Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
follow_up: false,
follow_up_hour: null,
opt_in_message: 'ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com',
second_opt_in_message: 'ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com',
success_action: 'optinsubscriber'
}
]
});
request.send(data);
{ "status": "Opt in settings updated", "opt_in_type": "double", "opt_in_requests": [ { "bypass_opt_in_response": false, "collected_data": "zip_code", "created_at": "2016-09-07T14:10:41-07:00", "follow_up": true, "follow_up_hour": 2, "id": 1, "list_id": 10, "no_response_message": "Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com", "opt_in_message": null, "request_message": "Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com", "retry_message": "Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com", "second_opt_in_message": null, "success_action": "nextrequest", "updated_at": "2016-09-07T14:10:41-07:00" }, { "bypass_opt_in_response": false, "collected_data": "email_address", "created_at": "2016-09-07T14:10:41-07:00", "follow_up": true, "follow_up_hour": 2, "id": 2, "list_id": 10, "no_response_message": "Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com", "opt_in_message": null, "request_message": "Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com", "retry_message": "Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com", "second_opt_in_message": null, "success_action": "nextrequest", "updated_at": "2016-09-07T14:10:41-07:00" }, { "bypass_opt_in_response": false, "collected_data": "first_name", "created_at": "2016-09-07T14:10:41-07:00", "follow_up": true, "follow_up_hour": 2, "id": 3, "list_id": 10, "no_response_message": "Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com", "opt_in_message": null, "request_message": "Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com", "retry_message": "Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com", "second_opt_in_message": null, "success_action": "nextrequest", "updated_at": "2016-09-07T14:10:41-07:00" }, { "bypass_opt_in_response": false, "collected_data": "yes", "created_at": "2016-09-07T14:10:41-07:00", "follow_up": true, "follow_up_hour": 2, "id": 4, "list_id": 10, "no_response_message": null, "opt_in_message": "ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com", "request_message": "Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com", "retry_message": "Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com", "second_opt_in_message": "ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com", "success_action": "optinsubscriber", "updated_at": "2016-09-07T14:10:41-07:00" } ]}
Lists
Configure List Opt-In Type
This endpoint configures an opt-in type for a list.
PUT
/
api
/
v2
/
lists
/
{ID}
/
opt_in_settings
cURL
curl "https://app.tatango.com/api/v2/lists/<ID>/opt_in_settings" -d '{"opt_in_type":"double","opt_in_requests":[{"collected_data":"zip_code","request_message":"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":true,"follow_up_hour":2,"no_response_message":"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"second_opt_in_message":null,"success_action":"nextrequest"},{"collected_data":"email_address","request_message":"Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":true,"follow_up_hour":24,"no_response_message":"Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"second_opt_in_message":null,"success_action":"nextrequest"},{"collected_data":"first_name","request_message":"Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":true,"follow_up_hour":24,"no_response_message":"Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"second_opt_in_message":null,"success_action":"nextrequest"},{"collected_data":"yes","request_message":"Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":false,"follow_up_hour":null,"opt_in_message":"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com","second_opt_in_message":"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com","success_action":"optinsubscriber"}]}' -X PUT \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -u emailaddress@mydomain.com:my_api_key \ -H "Host: example.org" \ -H "Cookie: "
require 'net/http'\nrequire 'uri'\n\nuri = URI.parse('https://app.tatango.com/api/v2/lists/<ID>/opt_in_settings')
http = Net::HTTP.new(uri.host, uri.port)
request = Net::HTTP::Put.new(uri.request_url)
request.basic_auth("emailaddress@mydomain.com", "my_api_key")
request.body({"opt_in_type":"double","opt_in_requests":[{"collected_data":"zip_code","request_message":"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":true,"follow_up_hour":2,"no_response_message":"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"second_opt_in_message":null,"success_action":"nextrequest"},{"collected_data":"email_address","request_message":"Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":true,"follow_up_hour":24,"no_response_message":"Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"second_opt_in_message":null,"success_action":"nextrequest"},{"collected_data":"first_name","request_message":"Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":true,"follow_up_hour":24,"no_response_message":"Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"second_opt_in_message":null,"success_action":"nextrequest"},{"collected_data":"yes","request_message":"Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","retry_message":"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com","follow_up":false,"follow_up_hour":null,"opt_in_message":"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com","second_opt_in_message":"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com","success_action":"optinsubscriber"}]} )
response = http.request(request)
var request = new XMLHttpRequest();
request.open('PUT', 'https://app.tatango.com/api/v2/lists/<ID>/opt_in_settings', false);
request.setRequestHeader('Content-Type', 'application/json');
request.setRequestHeader('Authorization', 'Basic ' + btoa('emailaddress@mydomain.com:my_api_key'));
var data = JSON.stringify({
opt_in_type: 'double',
opt_in_requests: [
{
collected_data: 'zip_code',
request_message: 'Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
retry_message: 'Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
follow_up: true,
follow_up_hour: 2,
no_response_message: 'Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
opt_in_message: null,
second_opt_in_message: null,
success_action: 'nextrequest'
},
{
collected_data: 'email_address',
request_message: 'Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
retry_message: 'Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
follow_up: true,
follow_up_hour: 24,
no_response_message: 'Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
opt_in_message: null,
second_opt_in_message: null,
success_action: 'nextrequest'
},
{
collected_data: 'first_name',
request_message: 'Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
retry_message: 'Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
follow_up: true,
follow_up_hour: 24,
no_response_message: 'Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
opt_in_message: null,
second_opt_in_message: null,
success_action: 'nextrequest'
},
{
collected_data: 'yes',
request_message: 'Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
retry_message: 'Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg&data rates may apply. Terms apply 12345-info.com',
follow_up: false,
follow_up_hour: null,
opt_in_message: 'ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com',
second_opt_in_message: 'ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com',
success_action: 'optinsubscriber'
}
]
});
request.send(data);
The momoGood Messaging API v2 authenticates requests by validating an API key passed via HTTP Basic Authentication. Use your login email as the username and your API key as the password.
Opt in type (may be either "single" or "double") "single" - This opt-in type is used when you want the user to subscribe to a designated list by simply texting your opt-in keyword to your shortcode."double" - This opt-in type is used when you want the user to provide you additional information such as email, name, zip codes, etc., after texting your opt-in keyword to your shortcode, but before subscribing them to a designated list.
If this is set to true, then the usual "first_optin_message" or "second_optin_message" that momoGood sends when someone completes the opt-in process for a list, is not sent. Customers may use this functionality if they prefer to use a scheduled after opt-in message to welcome subscribers, rather than the "first_optin_message" or "second_optin_message".
This message is sent to a phone number after they've succesfully completed the single opt-in process for a specific list, and at no point in the past has been subscribed to the list. (only used with single opt-ins)
Example Message: "ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com"
This message is sent to a phone number after they've succesfully completed the single opt-in process for a specific list, and at some point in the past has been subscribed to the list. This happens when a phone number opts-in, opts-out, then opts-in again. (only used with single opt-ins)
Example Message: "ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg&data rates may apply. Terms apply 12345-info.com"
Array of opt-in requests, which designate the type of information you'd like a phone number to respond to the message [request_message] with. (only used with double opt-ins)
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"momoDevelopers","colors":{"primary":"#fc5c50","light":"#fc5c50","dark":"#cf4035"},"logo":{"light":"https://mintcdn.com/momogood/dmrB84qM9HhjUu6m/logo/light.svg?fit=max\u0026auto=format\u0026n=dmrB84qM9HhjUu6m\u0026q=85\u0026s=e821b994940900a6e5c1d261a928f94b","dark":"https://mintcdn.com/momogood/dmrB84qM9HhjUu6m/logo/dark.svg?fit=max\u0026auto=format\u0026n=dmrB84qM9HhjUu6m\u0026q=85\u0026s=44f854ac1cd0f452160adea0f175f4ec"},"favicon":"https://mintcdn.com/momogood/dmrB84qM9HhjUu6m/favicon.png?fit=max\u0026auto=format\u0026n=dmrB84qM9HhjUu6m\u0026q=85\u0026s=3b43ec12f1c6ce718342e633752bee63","navbar":{"links":[{"href":"mailto:support@tatango.com","label":"Support"}]},"footer":{"socials":{"x":"https://x.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://linkedin.com/company/mintlify"}},"fonts":{"heading":{"family":"Outfit"},"body":{"family":"Work Sans"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"momogood","hasAudioNarration":false,"actualSubdomain":"momogood","customDomains":["developers.momogood.com"],"gitSource":{"type":"github","owner":"momogoodhq","repo":"momodevelopers","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ada236e0febba82de30bec6","collectionId":"201ea471-8792-4958-8237-20fcdd767a9e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ada236e0febba82de30bec6"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ada236e0febba82de30bec6","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"Messaging","count":63},{"language":"default","tag":"momoGood Messaging API v2","count":40},{"language":"default","tag":"Events \u0026 Auctions","count":13},{"language":"default","tag":"momoGood Messaging API v3","count":13},{"language":"default","tag":"Data Hub","count":12},{"language":"default","tag":"Overview","count":10},{"language":"default","tag":"Reports","count":10},{"language":"default","tag":"Webhooks","count":9},{"language":"default","tag":"Subscribers","count":8},{"language":"default","tag":"Lists","count":7}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":":root{--brand-coral-500: #fc5c50;--brand-coral-700: #cf4035;--brand-crimson-500: #a4275e;--brand-crimson-600: #9a2356;--brand-crimson-700: #7e1941;--brand-night-sky: #2d2c3e;--brand-periwinkle: #baccfa;--brand-parchment: #f3f2e6;--brand-pure-white: #ffffff;--bg-gradient-donors: linear-gradient(180deg, #a4275e 0%, #fc5c50 100%);--bg-gradient-employers: linear-gradient(180deg, #a4275e 0%, #2d2c3e 100%);--bg-gradient-charities: linear-gradient(180deg, #a4275e 0%, #baccfa 100%);--text-eyebrow: clamp(0.625rem, 0.575rem + 0.25vw, 0.75rem);--text-p2: clamp(0.875rem, 0.825rem + 0.25vw, 1rem);--text-p1: clamp(1.125rem, 0.95rem + 0.875vw, 1.375rem);--text-h5: clamp(1rem, 0.7rem + 1.5vw, 1.375rem);--text-h4: clamp(1.375rem, 0.85rem + 2.625vw, 1.75rem);--text-h3: clamp(2rem, 1.375rem + 3.125vw, 2.625rem);--text-h2: clamp(2.625rem, 1.5rem + 5.625vw, 3.75rem);--text-h1: clamp(3rem, 0.75rem + 11.25vw, 5.625rem);--text-display: clamp(8.75rem, 4.375rem + 21.875vw, 15rem);--doc-bg: var(--brand-pure-white);--doc-bg-soft: #fafaf6;--doc-border: color-mix(in oklab, var(--brand-night-sky) 9%, transparent);--doc-border-strong: color-mix(in oklab, var(--brand-night-sky) 14%, transparent);--doc-text-subtle: color-mix(in oklab, var(--brand-night-sky) 60%, transparent);--doc-text-muted: color-mix(in oklab, var(--brand-night-sky) 75%, transparent);--doc-accent: var(--brand-coral-500);--doc-accent-700: var(--brand-coral-700);--doc-success: #2f7a52}.bg-gradient-donors{background:var(--bg-gradient-donors);color:var(--brand-pure-white)}.bg-gradient-employers{background:var(--bg-gradient-employers);color:var(--brand-pure-white)}.bg-gradient-charities{background:var(--bg-gradient-charities);color:var(--brand-night-sky)}.text-display{font-family:\"Outfit\", ui-sans-serif, system-ui, sans-serif;font-weight:600;font-size:var(--text-display);line-height:1.1;letter-spacing:-0.01em}.text-h1{font-family:\"Outfit\", ui-sans-serif, system-ui, sans-serif;font-weight:600;font-size:var(--text-h1);line-height:1.1;letter-spacing:-0.01em}.text-h2{font-family:\"Outfit\", ui-sans-serif, system-ui, sans-serif;font-weight:600;font-size:var(--text-h2);line-height:1.1;letter-spacing:-0.01em}.text-h3{font-family:\"Outfit\", ui-sans-serif, system-ui, sans-serif;font-weight:600;font-size:var(--text-h3);line-height:1.1;letter-spacing:-0.01em}.text-h4{font-family:\"Outfit\", ui-sans-serif, system-ui, sans-serif;font-weight:600;font-size:var(--text-h4);line-height:1.1;letter-spacing:-0.01em}.text-h5{font-family:\"Outfit\", ui-sans-serif, system-ui, sans-serif;font-weight:600;font-size:var(--text-h5);line-height:1.1;letter-spacing:-0.01em}.text-p1{font-family:\"Work Sans\", ui-sans-serif, system-ui, sans-serif;font-weight:360;font-size:var(--text-p1);line-height:1.3;letter-spacing:-0.02em}.text-p2{font-family:\"Work Sans\", ui-sans-serif, system-ui, sans-serif;font-weight:360;font-size:var(--text-p2);line-height:1.3;letter-spacing:-0.02em}.text-eyebrow{font-family:\"Work Sans\", ui-sans-serif, system-ui, sans-serif;font-weight:400;font-size:var(--text-eyebrow);line-height:1.1;letter-spacing:-0.02em;text-transform:uppercase}a{text-underline-offset:3px}.momo-landing{font-family:\"Work Sans\", ui-sans-serif, system-ui, sans-serif;color:var(--brand-night-sky);max-width:1080px;margin:0 auto;padding:48px 32px 96px}@media (max-width: 700px){.momo-landing{padding:32px 20px 64px}}.momo-landing .hero-h{display:flex;flex-direction:column;gap:20px;padding:8px 0}.momo-landing .hero-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;color:var(--doc-text-subtle)}.momo-landing .hero-eyebrow .dot{width:6px;height:6px;border-radius:50%;background:var(--doc-accent)}.momo-landing .hero-h h1{font-family:\"Outfit\", ui-sans-serif, system-ui, sans-serif;font-weight:600;font-size:clamp(36px, 4.4vw, 58px);line-height:1.05;letter-spacing:-0.025em;color:var(--brand-night-sky);margin:0;text-wrap:balance}.momo-landing .hero-h h1 .accent{color:var(--doc-accent)}.momo-landing .hero-h p.tag{font-size:20px;line-height:1.45;color:var(--doc-text-muted);max-width:640px;margin:0}.momo-landing .hero-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:6px}.momo-landing .pri-btn{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 18px;border-radius:9999px;background:var(--brand-night-sky);color:#fff!important;font-weight:500;font-size:14px;text-decoration:none;border:0;cursor:pointer}.momo-landing .pri-btn:hover{filter:brightness(0.92)}.momo-landing .sec-btn{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 18px;border-radius:9999px;background:var(--doc-bg);color:var(--brand-night-sky)!important;border:1px solid var(--doc-border-strong);font-weight:500;font-size:14px;text-decoration:none;cursor:pointer}.momo-landing .sec-btn:hover{background:var(--doc-bg-soft)}.momo-landing .status-pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;padding:3px 8px;border-radius:9999px;background:color-mix(in oklab, var(--doc-success) 12%, transparent);color:var(--doc-success);font-weight:500}.momo-landing .status-pill .pulse{width:6px;height:6px;border-radius:50%;background:var(--doc-success);animation:momo-pulse 1.6s infinite}@keyframes momo-pulse{0%{box-shadow:0 0 0 0 color-mix(in oklab, var(--doc-success) 50%, transparent)}70%{box-shadow:0 0 0 6px transparent}100%{box-shadow:0 0 0 0 transparent}}.momo-landing h2{font-family:\"Outfit\", ui-sans-serif, system-ui, sans-serif;font-weight:600;font-size:28px;line-height:1.2;letter-spacing:-0.01em;margin:56px 0 10px;color:var(--brand-night-sky)}.momo-landing .section-lede{font-size:15px;color:var(--doc-text-subtle);margin:0 0 14px;max-width:640px}.momo-landing .prod-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:16px;margin:14px 0 40px}@media (max-width: 900px){.momo-landing .prod-grid{grid-template-columns:1fr}}.momo-landing .prod-card{position:relative;border-radius:18px;overflow:hidden;padding:28px 26px 26px;display:flex;flex-direction:column;gap:14px;min-height:280px;color:#fff;cursor:pointer;text-decoration:none;transition:transform 0.2s ease;isolation:isolate}.momo-landing .prod-card:hover{transform:translateY(-3px)}.momo-landing .prod-card.messaging{background:linear-gradient(165deg, #fc5c50 0%, #a4275e 100%)}.momo-landing .prod-card.events{background:linear-gradient(165deg, #a4275e 0%, #2d2c3e 100%)}.momo-landing .prod-card.datahub{background:linear-gradient(165deg, #4a6cc9 0%, #2d2c3e 60%, #a4275e 100%)}.momo-landing .prod-card::before{content:\"\";position:absolute;inset:0;background:radial-gradient(ellipse at top right, rgba(255,255,255,0.18), transparent 60%);pointer-events:none}.momo-landing .prod-eyebrow{font-size:11px;letter-spacing:0.08em;text-transform:uppercase;font-weight:500;color:rgba(255,255,255,0.75)}.momo-landing .prod-name{font-family:\"Outfit\", ui-sans-serif, system-ui, sans-serif;font-weight:600;font-size:30px;line-height:1.05;letter-spacing:-0.01em}.momo-landing .prod-desc{font-size:14.5px;line-height:1.5;color:rgba(255,255,255,0.85);margin:0}.momo-landing .prod-routes{display:flex;flex-direction:column;gap:4px;margin-top:6px;font-family:ui-monospace, \"SF Mono\", Menlo, monospace;font-size:10.5px;color:rgba(255,255,255,0.70)}.momo-landing .prod-routes .rt{display:flex;gap:8px;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.momo-landing .prod-foot{margin-top:auto;padding-top:14px;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:#fff}.momo-landing .arch{margin:24px 0 36px;padding:32px 28px;border-radius:18px;background:radial-gradient(ellipse at top, color-mix(in oklab, var(--brand-coral-500) 10%, transparent), transparent 50%),\n var(--doc-bg-soft);border:1px solid var(--doc-border);display:flex;flex-direction:column;gap:22px}.momo-landing .arch-banner{display:flex;align-items:center;gap:12px;padding:14px 18px;border-radius:10px;background:color-mix(in oklab, var(--brand-night-sky) 6%, transparent);border:1px dashed var(--doc-border-strong);font-size:13.5px;color:var(--doc-text-muted)}.momo-landing .arch-banner strong{color:var(--brand-night-sky)}.momo-landing .arch-lane{display:grid;grid-template-columns:200px 32px minmax(0, 1fr);align-items:stretch}@media (max-width: 1100px){.momo-landing .arch-lane{grid-template-columns:1fr;gap:18px}}.momo-landing .arch-lane .core{border-radius:14px;background:var(--brand-night-sky);color:#fff;padding:16px;display:flex;flex-direction:column;gap:6px;justify-content:center}.momo-landing .arch-lane .core .label{font-size:10px;letter-spacing:0.08em;text-transform:uppercase;color:rgba(255,255,255,0.6)}.momo-landing .arch-lane .core .name{font-family:\"Outfit\", ui-sans-serif, system-ui, sans-serif;font-weight:600;font-size:18px}.momo-landing .arch-lane .core .role{font-size:12px;color:rgba(255,255,255,0.8);line-height:1.4}.momo-landing .arch-lane .connector{position:relative;align-self:center;width:100%;height:2px;background:var(--doc-border-strong)}.momo-landing .arch-lane .connector::after{content:\"\";position:absolute;right:-1px;top:-3px;width:0;height:0;border-left:6px solid var(--doc-border-strong);border-top:4px solid transparent;border-bottom:4px solid transparent}@media (max-width: 1100px){.momo-landing .arch-lane .connector{display:none}}.momo-landing .arch-lane .stack{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:12px}@media (max-width: 700px){.momo-landing .arch-lane .stack{grid-template-columns:1fr}}.momo-landing .arch-lane .node{border-radius:12px;padding:14px;background:var(--doc-bg);border:1px solid var(--doc-border);display:flex;flex-direction:column;gap:4px}.momo-landing .arch-lane .node .head{display:flex;align-items:center;gap:8px}.momo-landing .arch-lane .node .swatch{width:10px;height:10px;border-radius:3px}.momo-landing .arch-lane .node .name{font-weight:600;font-size:14px}.momo-landing .arch-lane .node .api{font-family:ui-monospace, \"SF Mono\", Menlo, monospace;font-size:11px;color:var(--doc-text-subtle);word-break:break-all;line-height:1.4}.momo-landing .arch-lane .node .tag{font-size:11px;color:var(--doc-text-subtle);margin-top:2px}.momo-landing .stat-row{display:grid;grid-template-columns:repeat(4, 1fr);margin:30px 0;border-radius:12px;border:1px solid var(--doc-border);overflow:hidden;background:var(--doc-bg)}@media (max-width: 700px){.momo-landing .stat-row{grid-template-columns:1fr 1fr}}.momo-landing .stat-row .stat{padding:18px 20px;display:flex;flex-direction:column;gap:4px;border-right:1px solid var(--doc-border)}.momo-landing .stat-row .stat:last-child{border-right:0}@media (max-width: 700px){.momo-landing .stat-row .stat:nth-child(2n){border-right:0}}.momo-landing .stat .num{font-family:\"Outfit\", ui-sans-serif, system-ui, sans-serif;font-weight:600;font-size:28px;letter-spacing:-0.01em;color:var(--brand-night-sky)}.momo-landing .stat .lab{font-size:12px;letter-spacing:0.04em;color:var(--doc-text-subtle);text-transform:uppercase}.momo-landing .steps{display:grid;grid-template-columns:repeat(3, 1fr);gap:14px;margin:16px 0 28px;counter-reset:step}@media (max-width: 900px){.momo-landing .steps{grid-template-columns:1fr}}.momo-landing .step{padding:18px 20px;border-radius:12px;background:var(--doc-bg);border:1px solid var(--doc-border);display:flex;flex-direction:column;gap:8px;counter-increment:step}.momo-landing .step::before{content:counter(step, decimal-leading-zero);font-family:ui-monospace, \"SF Mono\", Menlo, monospace;font-size:11px;color:var(--doc-accent);letter-spacing:0.04em}.momo-landing .step .step-title{font-family:\"Outfit\", ui-sans-serif, system-ui, sans-serif;font-weight:600;font-size:16px}.momo-landing .step .step-desc{font-size:13.5px;color:var(--doc-text-subtle);line-height:1.5}.momo-landing .step .step-link{margin-top:4px;color:var(--doc-accent)!important;font-weight:500;font-size:13px;text-decoration:none}.momo-landing .doc-grid{display:grid;grid-template-columns:repeat(2, 1fr);gap:14px;margin:14px 0 28px}@media (max-width: 700px){.momo-landing .doc-grid{grid-template-columns:1fr}}.momo-landing .doc-card{display:flex;flex-direction:column;gap:6px;padding:18px 20px;border-radius:12px;border:1px solid var(--doc-border);background:var(--doc-bg);text-decoration:none;color:var(--brand-night-sky);transition:border 0.15s, transform 0.15s;cursor:pointer}.momo-landing .doc-card:hover{border-color:color-mix(in oklab, var(--doc-accent) 50%, transparent);transform:translateY(-1px)}.momo-landing .doc-card .doc-card-icon{width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;background:color-mix(in oklab, var(--doc-accent) 12%, transparent);color:var(--doc-accent);margin-bottom:6px}.momo-landing .doc-card .doc-card-title{font-family:\"Outfit\", ui-sans-serif, system-ui, sans-serif;font-weight:600;font-size:16px;line-height:1.2}.momo-landing .doc-card .doc-card-desc{font-size:13.5px;color:var(--doc-text-subtle);line-height:1.5}.momo-landing .doc-card .doc-card-foot{margin-top:auto;padding-top:10px;display:inline-flex;align-items:center;gap:4px;font-size:13px;color:var(--doc-accent);font-weight:500}.dark .momo-landing{color:var(--brand-parchment);background-color:#1f1e2c;--doc-bg: #1f1e2c;--doc-bg-soft: #38374b;--doc-border: color-mix(in oklab, var(--brand-parchment) 12%, transparent);--doc-border-strong: color-mix(in oklab, var(--brand-parchment) 18%, transparent);--doc-text-subtle: color-mix(in oklab, var(--brand-parchment) 55%, transparent);--doc-text-muted: color-mix(in oklab, var(--brand-parchment) 78%, transparent);--doc-success: #5daa7e}.dark .momo-landing h2,.dark .momo-landing .hero-h h1,.dark .momo-landing .stat .num,.dark .momo-landing .step .step-title,.dark .momo-landing .doc-card,.dark .momo-landing .doc-card .doc-card-title{color:var(--brand-parchment)}.dark .momo-landing .arch{background:radial-gradient(ellipse at top, color-mix(in oklab, var(--brand-coral-500) 14%, transparent), transparent 55%),\n var(--doc-bg-soft)}.dark .momo-landing .arch-banner{background:color-mix(in oklab, var(--brand-parchment) 6%, transparent)}.dark .momo-landing .arch-banner strong{color:var(--brand-parchment)}.dark .momo-landing .pri-btn{background:color-mix(in srgb, var(--brand-coral-500) 88%, white);color:var(--brand-night-sky)!important}.dark .momo-landing .sec-btn{color:var(--brand-parchment)!important;background:var(--doc-bg)}.dark .momo-landing .sec-btn:hover{background:var(--doc-bg-soft)}"}],"page":{"pagePath":"messaging/v2-api-reference/lists/configure-list-opt-in-type","slug":"/messaging/v2-api-reference/lists/configure-list-opt-in-type","pageMetadata":{"title":"Configure List Opt-In Type","openapi":"PUT /api/v2/lists/{ID}/opt_in_settings","description":"This endpoint configures an opt-in type for a list.","href":"/messaging/v2-api-reference/lists/configure-list-opt-in-type"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"This endpoint configures an opt-in type for a list.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`request-url`,children:`Request URL`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`PUT`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` https://app.tatango.com/api/v2/lists/\u003cID>/opt_in_settings`})]}),`\n`]})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Configure List Opt-In Type","openapi":"PUT /api/v2/lists/{ID}/opt_in_settings","description":"This endpoint configures an opt-in type for a list.","href":"/messaging/v2-api-reference/lists/configure-list-opt-in-type"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Request URL","slug":"request-url","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Configure List Opt-In Type","description":"This endpoint configures an opt-in type for a list.","tags":["Lists"],"parameters":["d3d5001e-3392-44f9-aa10-9ab2afaafa3c"],"requestBody":"89e87929-2ac9-4afe-af9f-b1972276d934","x-codeSamples":[{"lang":"cURL","label":"cURL","source":"curl \"https://app.tatango.com/api/v2/lists/\u003cID>/opt_in_settings\" -d '{\"opt_in_type\":\"double\",\"opt_in_requests\":[{\"collected_data\":\"zip_code\",\"request_message\":\"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":true,\"follow_up_hour\":2,\"no_response_message\":\"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"opt_in_message\":null,\"second_opt_in_message\":null,\"success_action\":\"nextrequest\"},{\"collected_data\":\"email_address\",\"request_message\":\"Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":true,\"follow_up_hour\":24,\"no_response_message\":\"Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"opt_in_message\":null,\"second_opt_in_message\":null,\"success_action\":\"nextrequest\"},{\"collected_data\":\"first_name\",\"request_message\":\"Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":true,\"follow_up_hour\":24,\"no_response_message\":\"Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"opt_in_message\":null,\"second_opt_in_message\":null,\"success_action\":\"nextrequest\"},{\"collected_data\":\"yes\",\"request_message\":\"Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":false,\"follow_up_hour\":null,\"opt_in_message\":\"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"second_opt_in_message\":\"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"success_action\":\"optinsubscriber\"}]}' -X PUT \\\n -H \"Accept: application/json\" \\\n -H \"Content-Type: application/json\" \\\n -u emailaddress@mydomain.com:my_api_key \\\n -H \"Host: example.org\" \\\n -H \"Cookie: \""},{"lang":"Ruby","label":"Ruby","source":"require 'net/http'\\nrequire 'uri'\\n\\nuri = URI.parse('https://app.tatango.com/api/v2/lists/\u003cID>/opt_in_settings')\nhttp = Net::HTTP.new(uri.host, uri.port)\nrequest = Net::HTTP::Put.new(uri.request_url)\nrequest.basic_auth(\"emailaddress@mydomain.com\", \"my_api_key\")\nrequest.body({\"opt_in_type\":\"double\",\"opt_in_requests\":[{\"collected_data\":\"zip_code\",\"request_message\":\"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":true,\"follow_up_hour\":2,\"no_response_message\":\"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"opt_in_message\":null,\"second_opt_in_message\":null,\"success_action\":\"nextrequest\"},{\"collected_data\":\"email_address\",\"request_message\":\"Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":true,\"follow_up_hour\":24,\"no_response_message\":\"Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"opt_in_message\":null,\"second_opt_in_message\":null,\"success_action\":\"nextrequest\"},{\"collected_data\":\"first_name\",\"request_message\":\"Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":true,\"follow_up_hour\":24,\"no_response_message\":\"Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"opt_in_message\":null,\"second_opt_in_message\":null,\"success_action\":\"nextrequest\"},{\"collected_data\":\"yes\",\"request_message\":\"Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":false,\"follow_up_hour\":null,\"opt_in_message\":\"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"second_opt_in_message\":\"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"success_action\":\"optinsubscriber\"}]} )\nresponse = http.request(request)"},{"lang":"JavaScript","label":"JavaScript","source":"var request = new XMLHttpRequest();\nrequest.open('PUT', 'https://app.tatango.com/api/v2/lists/\u003cID>/opt_in_settings', false);\nrequest.setRequestHeader('Content-Type', 'application/json');\nrequest.setRequestHeader('Authorization', 'Basic ' + btoa('emailaddress@mydomain.com:my_api_key'));\nvar data = JSON.stringify({\n opt_in_type: 'double',\n opt_in_requests: [\n {\n collected_data: 'zip_code',\n request_message: 'Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n retry_message: 'Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n follow_up: true,\n follow_up_hour: 2,\n no_response_message: 'Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n opt_in_message: null,\n second_opt_in_message: null,\n success_action: 'nextrequest'\n },\n {\n collected_data: 'email_address',\n request_message: 'Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n retry_message: 'Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n follow_up: true,\n follow_up_hour: 24,\n no_response_message: 'Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n opt_in_message: null,\n second_opt_in_message: null,\n success_action: 'nextrequest'\n },\n {\n collected_data: 'first_name',\n request_message: 'Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n retry_message: 'Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n follow_up: true,\n follow_up_hour: 24,\n no_response_message: 'Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n opt_in_message: null,\n second_opt_in_message: null,\n success_action: 'nextrequest'\n },\n {\n collected_data: 'yes',\n request_message: 'Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n retry_message: 'Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n follow_up: false,\n follow_up_hour: null,\n opt_in_message: 'ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n second_opt_in_message: 'ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n success_action: 'optinsubscriber'\n }\n ]\n});\nrequest.send(data);"}],"responses":{"200":"5a781f52-5364-4480-a8f5-fde8ff74dae7"},"method":"put","type":"path","servers":["a095f27e-e601-4c4b-aedf-a0efbc6729da"],"security":["55431207-e164-47a8-98c4-fbab8f38e642"],"path":"/api/v2/lists/{ID}/opt_in_settings","baseUrlOptions":["https://app.tatango.com"],"title":"Configure List Opt-In Type","codeSamples":[{"label":"cURL","lang":"cURL","source":"curl \"https://app.tatango.com/api/v2/lists/\u003cID>/opt_in_settings\" -d '{\"opt_in_type\":\"double\",\"opt_in_requests\":[{\"collected_data\":\"zip_code\",\"request_message\":\"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":true,\"follow_up_hour\":2,\"no_response_message\":\"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"opt_in_message\":null,\"second_opt_in_message\":null,\"success_action\":\"nextrequest\"},{\"collected_data\":\"email_address\",\"request_message\":\"Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":true,\"follow_up_hour\":24,\"no_response_message\":\"Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"opt_in_message\":null,\"second_opt_in_message\":null,\"success_action\":\"nextrequest\"},{\"collected_data\":\"first_name\",\"request_message\":\"Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":true,\"follow_up_hour\":24,\"no_response_message\":\"Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"opt_in_message\":null,\"second_opt_in_message\":null,\"success_action\":\"nextrequest\"},{\"collected_data\":\"yes\",\"request_message\":\"Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":false,\"follow_up_hour\":null,\"opt_in_message\":\"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"second_opt_in_message\":\"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"success_action\":\"optinsubscriber\"}]}' -X PUT \\\n -H \"Accept: application/json\" \\\n -H \"Content-Type: application/json\" \\\n -u emailaddress@mydomain.com:my_api_key \\\n -H \"Host: example.org\" \\\n -H \"Cookie: \""},{"label":"Ruby","lang":"Ruby","source":"require 'net/http'\\nrequire 'uri'\\n\\nuri = URI.parse('https://app.tatango.com/api/v2/lists/\u003cID>/opt_in_settings')\nhttp = Net::HTTP.new(uri.host, uri.port)\nrequest = Net::HTTP::Put.new(uri.request_url)\nrequest.basic_auth(\"emailaddress@mydomain.com\", \"my_api_key\")\nrequest.body({\"opt_in_type\":\"double\",\"opt_in_requests\":[{\"collected_data\":\"zip_code\",\"request_message\":\"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":true,\"follow_up_hour\":2,\"no_response_message\":\"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"opt_in_message\":null,\"second_opt_in_message\":null,\"success_action\":\"nextrequest\"},{\"collected_data\":\"email_address\",\"request_message\":\"Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":true,\"follow_up_hour\":24,\"no_response_message\":\"Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"opt_in_message\":null,\"second_opt_in_message\":null,\"success_action\":\"nextrequest\"},{\"collected_data\":\"first_name\",\"request_message\":\"Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":true,\"follow_up_hour\":24,\"no_response_message\":\"Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"opt_in_message\":null,\"second_opt_in_message\":null,\"success_action\":\"nextrequest\"},{\"collected_data\":\"yes\",\"request_message\":\"Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"retry_message\":\"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"follow_up\":false,\"follow_up_hour\":null,\"opt_in_message\":\"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"second_opt_in_message\":\"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\",\"success_action\":\"optinsubscriber\"}]} )\nresponse = http.request(request)"},{"label":"JavaScript","lang":"JavaScript","source":"var request = new XMLHttpRequest();\nrequest.open('PUT', 'https://app.tatango.com/api/v2/lists/\u003cID>/opt_in_settings', false);\nrequest.setRequestHeader('Content-Type', 'application/json');\nrequest.setRequestHeader('Authorization', 'Basic ' + btoa('emailaddress@mydomain.com:my_api_key'));\nvar data = JSON.stringify({\n opt_in_type: 'double',\n opt_in_requests: [\n {\n collected_data: 'zip_code',\n request_message: 'Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n retry_message: 'Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n follow_up: true,\n follow_up_hour: 2,\n no_response_message: 'Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n opt_in_message: null,\n second_opt_in_message: null,\n success_action: 'nextrequest'\n },\n {\n collected_data: 'email_address',\n request_message: 'Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n retry_message: 'Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n follow_up: true,\n follow_up_hour: 24,\n no_response_message: 'Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n opt_in_message: null,\n second_opt_in_message: null,\n success_action: 'nextrequest'\n },\n {\n collected_data: 'first_name',\n request_message: 'Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n retry_message: 'Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n follow_up: true,\n follow_up_hour: 24,\n no_response_message: 'Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n opt_in_message: null,\n second_opt_in_message: null,\n success_action: 'nextrequest'\n },\n {\n collected_data: 'yes',\n request_message: 'Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n retry_message: 'Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n follow_up: false,\n follow_up_hour: null,\n opt_in_message: 'ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n second_opt_in_message: 'ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com',\n success_action: 'optinsubscriber'\n }\n ]\n});\nrequest.send(data);"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"d3d5001e-3392-44f9-aa10-9ab2afaafa3c":{"name":"ID","in":"path","description":"The ID of the list to change.","required":true,"schema":{"type":"integer","isRequired":true,"description":"The ID of the list to change.","uniqueKey":"","typeLabel":"integer"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"opt_in_type":{"type":"string","enum":["single","double"],"description":"Opt in type (may be either \"single\" or \"double\") \"single\" - This opt-in type is used when you want the user to subscribe to a designated list by simply texting your opt-in keyword to your shortcode.\"double\" - This opt-in type is used when you want the user to provide you additional information such as email, name, zip codes, etc., after texting your opt-in keyword to your shortcode, but before subscribing them to a designated list.","isRequired":true,"uniqueKey":"opt_in_type","typeLabel":"enum\u003cstring>"},"bypass_opt_in_response":{"type":"boolean","description":"If this is set to true, then the usual \"first_optin_message\" or \"second_optin_message\" that momoGood sends when someone completes the opt-in process for a list, is not sent. Customers may use this functionality if they prefer to use a scheduled after opt-in message to welcome subscribers, rather than the \"first_optin_message\" or \"second_optin_message\".","uniqueKey":"bypass_opt_in_response","typeLabel":"boolean"},"first_optin_message":{"oneOf":[{"type":"string","description":"This message is sent to a phone number after they've succesfully completed the single opt-in process for a specific list, and at no point in the past has been subscribed to the list. (only used with single opt-ins)\n\nExample Message: \"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"first_optin_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"This message is sent to a phone number after they've succesfully completed the single opt-in process for a specific list, and at no point in the past has been subscribed to the list. (only used with single opt-ins)\n\nExample Message: \"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"first_optin_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"first_optin_message","typeLabel":"string | null"},"second_optin_message":{"oneOf":[{"type":"string","description":"This message is sent to a phone number after they've succesfully completed the single opt-in process for a specific list, and at some point in the past has been subscribed to the list. This happens when a phone number opts-in, opts-out, then opts-in again. (only used with single opt-ins)\n\nExample Message: \"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"second_optin_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"This message is sent to a phone number after they've succesfully completed the single opt-in process for a specific list, and at some point in the past has been subscribed to the list. This happens when a phone number opts-in, opts-out, then opts-in again. (only used with single opt-ins)\n\nExample Message: \"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"second_optin_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"second_optin_message","typeLabel":"string | null"},"opt_in_requests":{"type":"array","description":"Array of opt-in requests, which designate the type of information you'd like a phone number to respond to the message [request_message] with. (only used with double opt-ins)","items":{"oneOf":[{"type":"object","required":["collected_data","request_message","success_action","follow_up","follow_up_hour","no_response_message"],"properties":{"follow_up":{"type":"boolean","description":"If a phone number doesn't respond to [request_message], you have the option of sending a follow up message, which is [no_response_message], to re-request the information you're asking them for. (may be either \"true\" or \"false\")","const":true,"isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.follow_up","typeLabel":"boolean"},"collected_data":{"type":"string","enum":["zip_code","email_address","first_name","yes"],"description":"Type of data to collect.","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.collected_data","typeLabel":"enum\u003cstring>"},"request_message":{"type":"string","description":"This message is received by a phone number after they text your opt-in keyword, and the opt_in_type is set as \"double\". It's critical in this message that you ask the user to respond back with whatever information you've set in [collected_data].\n\nExample Message: \"ACME Retail: Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.request_message","typeLabel":"string"},"follow_up_hour":{"oneOf":[{"type":"integer","minimum":1,"maximum":24,"description":"If `follow_up` is \"true\" it's required that you set an amount of hours to have momoGood follow up with a phone number, if they don't respond to the [request_message]. The message that is sent to follow up, is [no_response_message].","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.follow_up_hour.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":24,"description":"If `follow_up` is \"true\" it's required that you set an amount of hours to have momoGood follow up with a phone number, if they don't respond to the [request_message]. The message that is sent to follow up, is [no_response_message].","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.follow_up_hour.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.follow_up_hour","typeLabel":"integer | null"},"no_response_message":{"oneOf":[{"type":"string","description":"This is the message sent to a phone number that doesn't respond to [request_message] after the amount of hours designated with [follow_up_hour], to re-request the information you're asking them for. (only used if [follow_up] is \"true\")\n\nExample Message: \"No response received. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com.\"","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.no_response_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"This is the message sent to a phone number that doesn't respond to [request_message] after the amount of hours designated with [follow_up_hour], to re-request the information you're asking them for. (only used if [follow_up] is \"true\")\n\nExample Message: \"No response received. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com.\"","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.no_response_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.no_response_message","typeLabel":"string | null"},"success_action":{"type":"string","enum":["nextrequest","optinsubscriber"],"description":"Use either \"nextrequest\" or \"optinsubscriber\".\n\n\"nextrequest\" - This option allows you to collect additional information from a user, before subscribing them to a designated list.\n\n\"optinsubscriber\" - This option ends the opt-in process, and subscribes the user to a designated list. (Required on last opt-in request)","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.success_action","typeLabel":"enum\u003cstring>"},"retry_message":{"oneOf":[{"type":"string","description":"If a phone number's response to the message `request_message` isn't valid, based on the information you're trying to collect based on [collected_data], this is the message that will be sent back in response.\n\nExample Message: \"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.retry_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"If a phone number's response to the message `request_message` isn't valid, based on the information you're trying to collect based on [collected_data], this is the message that will be sent back in response.\n\nExample Message: \"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.retry_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.retry_message","typeLabel":"string | null"},"opt_in_message":{"oneOf":[{"type":"string","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at no point in the past has been subscribed to the list. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.opt_in_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at no point in the past has been subscribed to the list. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.opt_in_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.opt_in_message","typeLabel":"string | null"},"second_opt_in_message":{"oneOf":[{"type":"string","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at some point in the past has been subscribed to the list. This happens when a phone number opts-in, opts-out, then opts-in again. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.second_opt_in_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at some point in the past has been subscribed to the list. This happens when a phone number opts-in, opts-out, then opts-in again. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.second_opt_in_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.second_opt_in_message","typeLabel":"string | null"}},"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["collected_data","request_message","success_action","follow_up"],"properties":{"follow_up":{"type":"boolean","description":"If a phone number doesn't respond to [request_message], you have the option of sending a follow up message, which is [no_response_message], to re-request the information you're asking them for. (may be either \"true\" or \"false\")","const":false,"isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.follow_up","typeLabel":"boolean"},"collected_data":{"type":"string","enum":["zip_code","email_address","first_name","yes"],"description":"Type of data to collect.","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.collected_data","typeLabel":"enum\u003cstring>"},"request_message":{"type":"string","description":"This message is received by a phone number after they text your opt-in keyword, and the opt_in_type is set as \"double\". It's critical in this message that you ask the user to respond back with whatever information you've set in [collected_data].\n\nExample Message: \"ACME Retail: Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.request_message","typeLabel":"string"},"success_action":{"type":"string","enum":["nextrequest","optinsubscriber"],"description":"Use either \"nextrequest\" or \"optinsubscriber\".\n\n\"nextrequest\" - This option allows you to collect additional information from a user, before subscribing them to a designated list.\n\n\"optinsubscriber\" - This option ends the opt-in process, and subscribes the user to a designated list. (Required on last opt-in request)","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.success_action","typeLabel":"enum\u003cstring>"},"retry_message":{"oneOf":[{"type":"string","description":"If a phone number's response to the message `request_message` isn't valid, based on the information you're trying to collect based on [collected_data], this is the message that will be sent back in response.\n\nExample Message: \"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.retry_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"If a phone number's response to the message `request_message` isn't valid, based on the information you're trying to collect based on [collected_data], this is the message that will be sent back in response.\n\nExample Message: \"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.retry_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.retry_message","typeLabel":"string | null"},"follow_up_hour":{"oneOf":[{"type":"integer","minimum":1,"maximum":24,"description":"If `follow_up` is \"true\" it's required that you set an amount of hours to have momoGood follow up with a phone number, if they don't respond to the [request_message]. The message that is sent to follow up, is [no_response_message].","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.follow_up_hour.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":24,"description":"If `follow_up` is \"true\" it's required that you set an amount of hours to have momoGood follow up with a phone number, if they don't respond to the [request_message]. The message that is sent to follow up, is [no_response_message].","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.follow_up_hour.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.follow_up_hour","typeLabel":"integer | null"},"no_response_message":{"oneOf":[{"type":"string","description":"This is the message sent to a phone number that doesn't respond to [request_message] after the amount of hours designated with [follow_up_hour], to re-request the information you're asking them for. (only used if [follow_up] is \"true\")\n\nExample Message: \"No response received. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com.\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.no_response_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"This is the message sent to a phone number that doesn't respond to [request_message] after the amount of hours designated with [follow_up_hour], to re-request the information you're asking them for. (only used if [follow_up] is \"true\")\n\nExample Message: \"No response received. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com.\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.no_response_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.no_response_message","typeLabel":"string | null"},"opt_in_message":{"oneOf":[{"type":"string","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at no point in the past has been subscribed to the list. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.opt_in_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at no point in the past has been subscribed to the list. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.opt_in_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.opt_in_message","typeLabel":"string | null"},"second_opt_in_message":{"oneOf":[{"type":"string","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at some point in the past has been subscribed to the list. This happens when a phone number opts-in, opts-out, then opts-in again. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.second_opt_in_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at some point in the past has been subscribed to the list. This happens when a phone number opts-in, opts-out, then opts-in again. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.second_opt_in_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.second_opt_in_message","typeLabel":"string | null"}},"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"opt_in_requests.items.[INDEX]","typeLabel":"object"},"uniqueKey":"opt_in_requests","typeLabel":"object[]"}},"required":["opt_in_type"],"uniqueKey":"","typeLabel":"object"},"example":{"opt_in_type":"double","opt_in_requests":[]},"examples":{"Example":{"title":"Example","value":{"opt_in_type":"double","opt_in_requests":[]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"5a781f52-5364-4480-a8f5-fde8ff74dae7":{"description":"Opt-in settings updated","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"Opt in settings updated","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"opt_in_type":{"type":"string","enum":["single","double"],"example":"double","isRequired":true,"uniqueKey":"opt_in_type","typeLabel":"enum\u003cstring>"},"opt_in_requests":{"type":"array","items":{"oneOf":[{"type":"object","required":["collected_data","request_message","success_action","follow_up","follow_up_hour","no_response_message"],"properties":{"follow_up":{"type":"boolean","description":"If a phone number doesn't respond to [request_message], you have the option of sending a follow up message, which is [no_response_message], to re-request the information you're asking them for. (may be either \"true\" or \"false\")","const":true,"isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.follow_up","typeLabel":"boolean"},"collected_data":{"type":"string","enum":["zip_code","email_address","first_name","yes"],"description":"Type of data to collect.","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.collected_data","typeLabel":"enum\u003cstring>"},"request_message":{"type":"string","description":"This message is received by a phone number after they text your opt-in keyword, and the opt_in_type is set as \"double\". It's critical in this message that you ask the user to respond back with whatever information you've set in [collected_data].\n\nExample Message: \"ACME Retail: Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.request_message","typeLabel":"string"},"follow_up_hour":{"oneOf":[{"type":"integer","minimum":1,"maximum":24,"description":"If `follow_up` is \"true\" it's required that you set an amount of hours to have momoGood follow up with a phone number, if they don't respond to the [request_message]. The message that is sent to follow up, is [no_response_message].","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.follow_up_hour.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":24,"description":"If `follow_up` is \"true\" it's required that you set an amount of hours to have momoGood follow up with a phone number, if they don't respond to the [request_message]. The message that is sent to follow up, is [no_response_message].","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.follow_up_hour.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.follow_up_hour","typeLabel":"integer | null"},"no_response_message":{"oneOf":[{"type":"string","description":"This is the message sent to a phone number that doesn't respond to [request_message] after the amount of hours designated with [follow_up_hour], to re-request the information you're asking them for. (only used if [follow_up] is \"true\")\n\nExample Message: \"No response received. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com.\"","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.no_response_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"This is the message sent to a phone number that doesn't respond to [request_message] after the amount of hours designated with [follow_up_hour], to re-request the information you're asking them for. (only used if [follow_up] is \"true\")\n\nExample Message: \"No response received. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com.\"","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.no_response_message.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.no_response_message","typeLabel":"string | null"},"success_action":{"type":"string","enum":["nextrequest","optinsubscriber"],"description":"Use either \"nextrequest\" or \"optinsubscriber\".\n\n\"nextrequest\" - This option allows you to collect additional information from a user, before subscribing them to a designated list.\n\n\"optinsubscriber\" - This option ends the opt-in process, and subscribes the user to a designated list. (Required on last opt-in request)","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.success_action","typeLabel":"enum\u003cstring>"},"retry_message":{"oneOf":[{"type":"string","description":"If a phone number's response to the message `request_message` isn't valid, based on the information you're trying to collect based on [collected_data], this is the message that will be sent back in response.\n\nExample Message: \"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.retry_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"If a phone number's response to the message `request_message` isn't valid, based on the information you're trying to collect based on [collected_data], this is the message that will be sent back in response.\n\nExample Message: \"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.retry_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.retry_message","typeLabel":"string | null"},"opt_in_message":{"oneOf":[{"type":"string","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at no point in the past has been subscribed to the list. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.opt_in_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at no point in the past has been subscribed to the list. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.opt_in_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.opt_in_message","typeLabel":"string | null"},"second_opt_in_message":{"oneOf":[{"type":"string","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at some point in the past has been subscribed to the list. This happens when a phone number opts-in, opts-out, then opts-in again. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.second_opt_in_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at some point in the past has been subscribed to the list. This happens when a phone number opts-in, opts-out, then opts-in again. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.second_opt_in_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.second_opt_in_message","typeLabel":"string | null"},"id":{"type":"integer","example":1,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.id","typeLabel":"integer"},"list_id":{"type":"integer","example":5555,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.list_id","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","example":"2025-01-01T00:00:00Z","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","example":"2025-01-01T00:00:00Z","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["collected_data","request_message","success_action","follow_up"],"properties":{"follow_up":{"type":"boolean","description":"If a phone number doesn't respond to [request_message], you have the option of sending a follow up message, which is [no_response_message], to re-request the information you're asking them for. (may be either \"true\" or \"false\")","const":false,"isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.follow_up","typeLabel":"boolean"},"collected_data":{"type":"string","enum":["zip_code","email_address","first_name","yes"],"description":"Type of data to collect.","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.collected_data","typeLabel":"enum\u003cstring>"},"request_message":{"type":"string","description":"This message is received by a phone number after they text your opt-in keyword, and the opt_in_type is set as \"double\". It's critical in this message that you ask the user to respond back with whatever information you've set in [collected_data].\n\nExample Message: \"ACME Retail: Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.request_message","typeLabel":"string"},"success_action":{"type":"string","enum":["nextrequest","optinsubscriber"],"description":"Use either \"nextrequest\" or \"optinsubscriber\".\n\n\"nextrequest\" - This option allows you to collect additional information from a user, before subscribing them to a designated list.\n\n\"optinsubscriber\" - This option ends the opt-in process, and subscribes the user to a designated list. (Required on last opt-in request)","isRequired":true,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.success_action","typeLabel":"enum\u003cstring>"},"retry_message":{"oneOf":[{"type":"string","description":"If a phone number's response to the message `request_message` isn't valid, based on the information you're trying to collect based on [collected_data], this is the message that will be sent back in response.\n\nExample Message: \"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.retry_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"If a phone number's response to the message `request_message` isn't valid, based on the information you're trying to collect based on [collected_data], this is the message that will be sent back in response.\n\nExample Message: \"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.retry_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.retry_message","typeLabel":"string | null"},"follow_up_hour":{"oneOf":[{"type":"integer","minimum":1,"maximum":24,"description":"If `follow_up` is \"true\" it's required that you set an amount of hours to have momoGood follow up with a phone number, if they don't respond to the [request_message]. The message that is sent to follow up, is [no_response_message].","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.follow_up_hour.oneOf.0","typeLabel":"integer"},{"type":"null","minimum":1,"maximum":24,"description":"If `follow_up` is \"true\" it's required that you set an amount of hours to have momoGood follow up with a phone number, if they don't respond to the [request_message]. The message that is sent to follow up, is [no_response_message].","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.follow_up_hour.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.follow_up_hour","typeLabel":"integer | null"},"no_response_message":{"oneOf":[{"type":"string","description":"This is the message sent to a phone number that doesn't respond to [request_message] after the amount of hours designated with [follow_up_hour], to re-request the information you're asking them for. (only used if [follow_up] is \"true\")\n\nExample Message: \"No response received. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com.\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.no_response_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"This is the message sent to a phone number that doesn't respond to [request_message] after the amount of hours designated with [follow_up_hour], to re-request the information you're asking them for. (only used if [follow_up] is \"true\")\n\nExample Message: \"No response received. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com.\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.no_response_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.no_response_message","typeLabel":"string | null"},"opt_in_message":{"oneOf":[{"type":"string","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at no point in the past has been subscribed to the list. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.opt_in_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at no point in the past has been subscribed to the list. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.opt_in_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.opt_in_message","typeLabel":"string | null"},"second_opt_in_message":{"oneOf":[{"type":"string","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at some point in the past has been subscribed to the list. This happens when a phone number opts-in, opts-out, then opts-in again. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.second_opt_in_message.oneOf.0","typeLabel":"string"},{"type":"null","description":"This message is sent to a phone number after they've succesfully completed the double opt-in process for a specific list, and at some point in the past has been subscribed to the list. This happens when a phone number opts-in, opts-out, then opts-in again. (only used with double opt-ins)\n\nExample Message: \"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com\"","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.second_opt_in_message.oneOf.1","typeLabel":"null"}],"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.second_opt_in_message","typeLabel":"string | null"},"id":{"type":"integer","example":1,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.id","typeLabel":"integer"},"list_id":{"type":"integer","example":5555,"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.list_id","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","example":"2025-01-01T00:00:00Z","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","example":"2025-01-01T00:00:00Z","uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1.updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"opt_in_requests.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"opt_in_requests.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"opt_in_requests","typeLabel":"object[]"}},"required":["status","opt_in_type","opt_in_requests"],"uniqueKey":"","typeLabel":"object"},"example":{"status":"Opt in settings updated","opt_in_type":"double","opt_in_requests":[{"bypass_opt_in_response":false,"collected_data":"zip_code","created_at":"2016-09-07T14:10:41-07:00","follow_up":true,"follow_up_hour":2,"id":1,"list_id":10,"no_response_message":"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"request_message":"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","second_opt_in_message":null,"success_action":"nextrequest","updated_at":"2016-09-07T14:10:41-07:00"},{"bypass_opt_in_response":false,"collected_data":"email_address","created_at":"2016-09-07T14:10:41-07:00","follow_up":true,"follow_up_hour":2,"id":2,"list_id":10,"no_response_message":"Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"request_message":"Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","second_opt_in_message":null,"success_action":"nextrequest","updated_at":"2016-09-07T14:10:41-07:00"},{"bypass_opt_in_response":false,"collected_data":"first_name","created_at":"2016-09-07T14:10:41-07:00","follow_up":true,"follow_up_hour":2,"id":3,"list_id":10,"no_response_message":"Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"request_message":"Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","second_opt_in_message":null,"success_action":"nextrequest","updated_at":"2016-09-07T14:10:41-07:00"},{"bypass_opt_in_response":false,"collected_data":"yes","created_at":"2016-09-07T14:10:41-07:00","follow_up":true,"follow_up_hour":2,"id":4,"list_id":10,"no_response_message":null,"opt_in_message":"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com","request_message":"Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","retry_message":"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","second_opt_in_message":"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com","success_action":"optinsubscriber","updated_at":"2016-09-07T14:10:41-07:00"}]},"examples":{"Example":{"title":"Example","value":{"status":"Opt in settings updated","opt_in_type":"double","opt_in_requests":[{"bypass_opt_in_response":false,"collected_data":"zip_code","created_at":"2016-09-07T14:10:41-07:00","follow_up":true,"follow_up_hour":2,"id":1,"list_id":10,"no_response_message":"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"request_message":"Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect zip code. Reply with zip code for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","second_opt_in_message":null,"success_action":"nextrequest","updated_at":"2016-09-07T14:10:41-07:00"},{"bypass_opt_in_response":false,"collected_data":"email_address","created_at":"2016-09-07T14:10:41-07:00","follow_up":true,"follow_up_hour":2,"id":2,"list_id":10,"no_response_message":"Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"request_message":"Thank you! Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect email. Reply with email address for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","second_opt_in_message":null,"success_action":"nextrequest","updated_at":"2016-09-07T14:10:41-07:00"},{"bypass_opt_in_response":false,"collected_data":"first_name","created_at":"2016-09-07T14:10:41-07:00","follow_up":true,"follow_up_hour":2,"id":3,"list_id":10,"no_response_message":"Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","opt_in_message":null,"request_message":"Thank you! Reply with first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","retry_message":"Incorrect name. Reply with your first name for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","second_opt_in_message":null,"success_action":"nextrequest","updated_at":"2016-09-07T14:10:41-07:00"},{"bypass_opt_in_response":false,"collected_data":"yes","created_at":"2016-09-07T14:10:41-07:00","follow_up":true,"follow_up_hour":2,"id":4,"list_id":10,"no_response_message":null,"opt_in_message":"ACME Retail: You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com","request_message":"Thank you! Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","retry_message":"Response not understood. Reply YES for recurring autodialed SMS/MMS marketing msgs. No purchase rqd. Msg\u0026data rates may apply. Terms apply 12345-info.com","second_opt_in_message":"ACME Retail: Welcome back! You agreed to receive recurring SMS/MMS msgs. Txt STOP 2 end, HELP 4 help. Msg\u0026data rates may apply. Terms apply 12345-info.com","success_action":"optinsubscriber","updated_at":"2016-09-07T14:10:41-07:00"}]}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"55431207-e164-47a8-98c4-fbab8f38e642":{"basicAuth":{"type":"http","scheme":"basic","description":"The momoGood Messaging API v2 authenticates requests by validating an API key passed via HTTP Basic Authentication. Use your login email as the username and your API key as the password.","scopes":[]}}},"servers":{"a095f27e-e601-4c4b-aedf-a0efbc6729da":{"url":"https://app.tatango.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"basic","description":"The momoGood Messaging API v2 authenticates requests by validating an API key passed via HTTP Basic Authentication. Use your login email as the username and your API key as the password.","scopes":[]},"schema":{"title":"Basic Auth","type":"object","description":"The momoGood Messaging API v2 authenticates requests by validating an API key passed via HTTP Basic Authentication. Use your login email as the username and your API key as the password.","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"basicAuth","name":"Authorization"}],"title":"basicAuth"}]},"originalFileLocation":"messaging/v2-api-reference/openapi.json"},"subdomain":"momogood","siteName":"momoDevelopers","title":"Configure List Opt-In Type - momoDevelopers","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-18T16:36:12.479Z","originalFileLocation":"messaging/v2-api-reference/lists/configure-list-opt-in-type.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"This endpoint configures an opt-in type for a list.\">\u003cmeta data-mint-head name=\"application-name\" content=\"momoDevelopers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/momogood/rjbus870Xov2gWVE/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/momogood/rjbus870Xov2gWVE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/momogood/rjbus870Xov2gWVE/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/momogood/rjbus870Xov2gWVE/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/momogood/rjbus870Xov2gWVE/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/momogood/rjbus870Xov2gWVE/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/momogood/rjbus870Xov2gWVE/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/momogood/rjbus870Xov2gWVE/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/momogood/rjbus870Xov2gWVE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Configure List Opt-In Type - momoDevelopers\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint configures an opt-in type for a list.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"momoDevelopers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developers.momogood.com/messaging/v2-api-reference/lists/configure-list-opt-in-type\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://momogood.mintlify.site/_mintlify/api/og/v2?division=Lists\u0026amp;title=Configure+List+Opt-In+Type\u0026amp;description=This+endpoint+configures+an+opt-in+type+for+a+list.\u0026amp;theme=0c557735b8397fc72d1c1548\u0026amp;signature=2b560046e025725c28331e71e2700b61c3ea110303b3f01ab05c8aeab672b3b3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Configure List Opt-In Type - momoDevelopers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint configures an opt-in type for a list.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://momogood.mintlify.site/_mintlify/api/og/v2?division=Lists\u0026amp;title=Configure+List+Opt-In+Type\u0026amp;description=This+endpoint+configures+an+opt-in+type+for+a+list.\u0026amp;theme=0c557735b8397fc72d1c1548\u0026amp;signature=2b560046e025725c28331e71e2700b61c3ea110303b3f01ab05c8aeab672b3b3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/momogood/rjbus870Xov2gWVE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"momoDevelopers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#fc5c50\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developers.momogood.com/messaging/v2-api-reference/lists/configure-list-opt-in-type\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/messaging/v2-api-reference/lists/configure-list-opt-in-type.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developers.momogood.com/#organization\",\"name\":\"momoDevelopers\",\"url\":\"https://developers.momogood.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/momogood/dmrB84qM9HhjUu6m/logo/light.svg?fit=max\u0026auto=format\u0026n=dmrB84qM9HhjUu6m\u0026q=85\u0026s=e821b994940900a6e5c1d261a928f94b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developers.momogood.com#website\",\"name\":\"momoDevelopers\",\"url\":\"https://developers.momogood.com\",\"publisher\":{\"@id\":\"https://developers.momogood.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developers.momogood.com/messaging/v2-api-reference/lists/configure-list-opt-in-type#webpage\",\"url\":\"https://developers.momogood.com/messaging/v2-api-reference/lists/configure-list-opt-in-type\",\"name\":\"Configure List Opt-In Type\",\"description\":\"This endpoint configures an opt-in type for a list.\",\"dateModified\":\"2026-05-18T16:36:12.479Z\",\"isPartOf\":{\"@id\":\"https://developers.momogood.com#website\"},\"breadcrumb\":{\"@id\":\"https://developers.momogood.com/messaging/v2-api-reference/lists/configure-list-opt-in-type#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developers.momogood.com/messaging/v2-api-reference/lists/configure-list-opt-in-type#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Lists\",\"item\":\"https://developers.momogood.com/messaging/v2-api-reference/lists/list-all-lists\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configure List Opt-In Type\",\"item\":\"https://developers.momogood.com/messaging/v2-api-reference/lists/configure-list-opt-in-type\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developers.momogood.com/messaging/v2-api-reference/lists/configure-list-opt-in-type#apireference\",\"headline\":\"Configure List Opt-In Type\",\"name\":\"Configure List Opt-In Type\",\"description\":\"This endpoint configures an opt-in type for a list.\",\"url\":\"https://developers.momogood.com/messaging/v2-api-reference/lists/configure-list-opt-in-type\",\"mainEntityOfPage\":{\"@id\":\"https://developers.momogood.com/messaging/v2-api-reference/lists/configure-list-opt-in-type#webpage\"},\"dateModified\":\"2026-05-18T16:36:12.479Z\",\"publisher\":{\"@id\":\"https://developers.momogood.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developers.momogood.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"momoDevelopers\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"momoDevelopers","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"Messaging","anchors":[{"anchor":"momoGood Messaging API v2","icon":"code","pages":[{"title":"Introduction","icon":"rocket","href":"/messaging/v2-api-reference/introduction"},{"title":"Rate Limits","icon":"stopwatch","href":"/messaging/v2-api-reference/rate-limit"},{"group":"Accounts","pages":[{"title":"Get Current Account","openapi":"GET /api/v2/accounts/me","href":"/messaging/v2-api-reference/accounts/get-current-account"}]},{"group":"Lists","pages":[{"title":"List All Lists","openapi":"GET /api/v2/lists","href":"/messaging/v2-api-reference/lists/list-all-lists"},{"title":"Retrieve List","openapi":"GET /api/v2/lists/{ID}","description":"This endpoint retrieves a specific list.","href":"/messaging/v2-api-reference/lists/retrieve-list"},{"title":"Configure List Opt-In Type","openapi":"PUT /api/v2/lists/{ID}/opt_in_settings","href":"/messaging/v2-api-reference/lists/configure-list-opt-in-type"},{"title":"Creating a New List","openapi":"POST /api/v2/lists/","description":"This endpoint creates a new list.","href":"/messaging/v2-api-reference/lists/creating-a-new-list"},{"title":"Destroying a List","openapi":"DELETE /api/v2/lists/{ID}","href":"/messaging/v2-api-reference/lists/destroying-a-list"},{"title":"Setting Keywords for a List","openapi":"PUT /api/v2/lists/{ID}/keywords","href":"/messaging/v2-api-reference/lists/setting-keywords-for-list"},{"title":"Updating a List","openapi":"PUT /api/v2/lists/{ID}","href":"/messaging/v2-api-reference/lists/updating-a-list"}]},{"group":"Subscribers","pages":[{"title":"Adding a Subscriber","openapi":"POST /api/v2/lists/{ID}/subscribers","href":"/messaging/v2-api-reference/subscribers/adding-a-subscriber"},{"title":"Getting a Subscriber","openapi":"GET /api/v2/lists/{ID}/subscribers/{SUBSCRIBER_ID}","href":"/messaging/v2-api-reference/subscribers/getting-a-subscriber"},{"title":"Updating a Subscriber","openapi":"PUT /api/v2/lists/{ID}/subscribers/{SUBSCRIBER_ID}","href":"/messaging/v2-api-reference/subscribers/updating-a-subscriber"},{"title":"Adding Multiple Tags to Multiple Subscribers","openapi":"POST /api/v2/lists/{ID}/bulk_taggings","href":"/messaging/v2-api-reference/subscribers/adding-multiple-tags-to-multiple-subscribers"},{"title":"Deleting tags from a Subscriber","openapi":"DELETE /api/v2/lists/{ID}/subscribers/{PHONE_NUMBER}/tags","href":"/messaging/v2-api-reference/subscribers/deleting-tags-from-a-subscriber"},{"title":"Unsubscribing a Subscriber","openapi":"DELETE /api/v2/lists/{ID}/subscribers/{SUBSCRIBER_ID}","href":"/messaging/v2-api-reference/subscribers/unsubscribing-a-subscriber"},{"title":"Get a List of Subscribed Phone Numbers","openapi":"GET /api/v2/lists/{ID}/subscribers","href":"/messaging/v2-api-reference/subscribers/get-list-of-subscribed-phones"},{"title":"Get a List of Unsubscribed Phone Numbers","openapi":"GET /api/v2/lists/{ID}/subscribers/unsubscribed","href":"/messaging/v2-api-reference/subscribers/get-list-of-unsubscribed-phones"}]},{"group":"Custom Fields","pages":[{"title":"Get a List of Custom Fields","openapi":"GET /api/v2/lists/{ID}/custom_fields","href":"/messaging/v2-api-reference/custom-fields/get-list-of-custom-fields"},{"title":"Create a Custom Field","openapi":"POST /api/v2/lists/{ID}/custom_field","href":"/messaging/v2-api-reference/custom-fields/create-custom-field"},{"title":"Deleting a Custom Field","openapi":"DELETE /api/v2/lists/{ID}/custom_fields","href":"/messaging/v2-api-reference/custom-fields/deleting-custom-field"}]},{"group":"Tags","pages":[{"title":"Deleting a Tag From All Subscribers","openapi":"DELETE /api/v2/lists/{ID}/tags","href":"/messaging/v2-api-reference/tags/deleting-tag-from-all-subscribers"}]},{"group":"Messaging","pages":[{"title":"Retrieve All Sent Messages in a List","openapi":"GET /api/v2/lists/{ID}/messages","href":"/messaging/v2-api-reference/messaging/retrieve-all-sent-messages-in-list"},{"title":"Retrieve All Draft Messages in a List","openapi":"GET /api/v2/lists/{ID}/messages/draft","href":"/messaging/v2-api-reference/messaging/retrieve-all-draft-messages-in-list"},{"title":"Retrieve All Scheduled Messages in a List","openapi":"GET /api/v2/lists/{ID}/messages/scheduled","href":"/messaging/v2-api-reference/messaging/retrieve-all-scheduled-messages-in-list"},{"title":"Send Message to Entire List","openapi":"POST /api/v2/lists/{ID}/messages","href":"/messaging/v2-api-reference/messaging/sending-message-to-entire-list"},{"title":"Querying an Existing Message","openapi":"GET /api/v2/lists/{ID}/messages/{MESSAGE_ID}","href":"/messaging/v2-api-reference/messaging/querying-an-existing-message"}]},{"group":"Message Log (MOMT) Reports","pages":[{"title":"Creating a New MOMT Report","openapi":"POST /api/v2/momt_reports","href":"/messaging/v2-api-reference/momt-reports/creating-a-new-momt-report"},{"title":"Getting Status of a Processed MOMT Report","openapi":"GET /api/v2/momt_reports/{ID}","href":"/messaging/v2-api-reference/momt-reports/get-status-of-momt-report"},{"title":"Getting Status of a Unprocessed MOMT Report","openapi":"GET /api/v2/momt_reports/{ID}/unprocessed","href":"/messaging/v2-api-reference/momt-reports/get-status-of-unprocessed-momt-report"}]},{"group":"Shortcodes","pages":[{"title":"Listing Account Shortcodes","openapi":"GET /api/v2/shortcodes","href":"/messaging/v2-api-reference/shortcodes/listing-account-shortcodes"},{"title":"Testing Keyword Availability on Shortcode","openapi":"POST /api/v2/shortcodes/{ID}/test_keyword","href":"/messaging/v2-api-reference/shortcodes/testing-keyword-availability"}]},{"group":"Transactional Messages","pages":[{"title":"Send Transactional SMS Message","openapi":"POST /api/v2/transactional_messages","href":"/messaging/v2-api-reference/transactional-messages/send-transactional-sms"},{"title":"Send Transactional MMS Message","openapi":"POST /api/v2/transactional_messages","href":"/messaging/v2-api-reference/transactional-messages/send-transactional-mms"}]},{"group":"Webhooks","pages":[{"title":"Webhook Events","icon":"book","href":"/messaging/v2-api-reference/webhooks/webhook-event-info"},{"title":"Creating a New Webhook for a List","openapi":"POST /api/v2/lists/{ID}/webhooks","href":"/messaging/v2-api-reference/webhooks/creating-new-webhook-for-list"},{"title":"Updating a Webhook","openapi":"PUT /api/v2/lists/{ID}/webhooks/{WEBHOOK_ID}","href":"/messaging/v2-api-reference/webhooks/updating-webhook"},{"title":"Showing a Webhook","openapi":"GET /api/v2/lists/{ID}/webhooks/{WEBHOOK_ID}","href":"/messaging/v2-api-reference/webhooks/showing-webhook"},{"title":"Listing Webhooks","openapi":"GET /api/v2/lists/{ID}/webhooks","href":"/messaging/v2-api-reference/webhooks/listing-webhooks"},{"title":"Destroying a Webhook","openapi":"DELETE /api/v2/lists/{ID}/webhooks/{WEBHOOK_ID}","href":"/messaging/v2-api-reference/webhooks/destroying-webhook"}]}],"groups":[{"group":"Accounts","pages":[{"title":"Get Current Account","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/accounts/me","href":"/api-reference/accounts/get-current-account"}]},{"group":"Lists","pages":[{"title":"List All Lists","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/lists","href":"/api-reference/lists/list-all-lists"},{"title":"Create a New List","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json post /api/v2/lists","href":"/api-reference/lists/create-a-new-list"},{"title":"Retrieve List","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/lists/{ID}","href":"/api-reference/lists/retrieve-list"},{"title":"Updating a List","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json put /api/v2/lists/{ID}","href":"/api-reference/lists/updating-a-list"},{"title":"Destroy a List","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json delete /api/v2/lists/{ID}","href":"/api-reference/lists/destroy-a-list"},{"title":"Configure List Opt-In Type","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json put /api/v2/lists/{ID}/opt_in_settings","href":"/api-reference/lists/configure-list-opt-in-type"},{"title":"Set Keywords for a List","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json put /api/v2/lists/{ID}/keywords","href":"/api-reference/lists/set-keywords-for-a-list"}]},{"group":"Subscribers","pages":[{"title":"Get a List of Subscribed Phone Numbers","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/lists/{ID}/subscribers","href":"/api-reference/subscribers/get-a-list-of-subscribed-phone-numbers"},{"title":"Adding a Subscriber","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json post /api/v2/lists/{ID}/subscribers","href":"/api-reference/subscribers/adding-a-subscriber"},{"title":"Get a List of Unsubscribed Phone Numbers","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/lists/{ID}/subscribers/unsubscribed","href":"/api-reference/subscribers/get-a-list-of-unsubscribed-phone-numbers"},{"title":"Getting a Subscriber","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/lists/{ID}/subscribers/{SUBSCRIBER_ID}","href":"/api-reference/subscribers/getting-a-subscriber"},{"title":"Updating a Subscriber","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json put /api/v2/lists/{ID}/subscribers/{SUBSCRIBER_ID}","href":"/api-reference/subscribers/updating-a-subscriber"},{"title":"Unsubscribing a Subscriber","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json delete /api/v2/lists/{ID}/subscribers/{SUBSCRIBER_ID}","href":"/api-reference/subscribers/unsubscribing-a-subscriber"},{"title":"Adding Multiple Tags to Multiple Subscribers","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json post /api/v2/lists/{ID}/bulk_taggings","href":"/api-reference/subscribers/adding-multiple-tags-to-multiple-subscribers"},{"title":"Deleting tags from a Subscriber","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json delete /api/v2/lists/{ID}/subscribers/{PHONE_NUMBER}/tags","href":"/api-reference/subscribers/deleting-tags-from-a-subscriber"}]},{"group":"Messaging","pages":[{"title":"Retrieve All Sent Messages in a List","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/lists/{ID}/messages","href":"/api-reference/messaging/retrieve-all-sent-messages-in-a-list"},{"title":"Send Message to Entire List","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json post /api/v2/lists/{ID}/messages","href":"/api-reference/messaging/send-message-to-entire-list"},{"title":"Querying an Existing Message","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/lists/{ID}/messages/{MESSAGE_ID}","href":"/api-reference/messaging/querying-an-existing-message"},{"title":"Retrieve All Draft Messages in a List","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/lists/{ID}/messages/draft","href":"/api-reference/messaging/retrieve-all-draft-messages-in-a-list"},{"title":"Retrieve All Scheduled Messages in a List","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/lists/{ID}/messages/scheduled","href":"/api-reference/messaging/retrieve-all-scheduled-messages-in-a-list"}]},{"group":"Tags","pages":[{"title":"Deleting a Tag From All Subscribers","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json delete /api/v2/lists/{ID}/tags","href":"/api-reference/tags/deleting-a-tag-from-all-subscribers"}]},{"group":"Custom Fields","pages":[{"title":"Get a List of Custom Fields","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/lists/{ID}/custom_fields","href":"/api-reference/custom-fields/get-a-list-of-custom-fields"},{"title":"Deleting a Custom Field","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json delete /api/v2/lists/{ID}/custom_fields","href":"/api-reference/custom-fields/deleting-a-custom-field"},{"title":"Create a Custom Field","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json post /api/v2/lists/{ID}/custom_field","href":"/api-reference/custom-fields/create-a-custom-field"}]},{"group":"Shortcodes","pages":[{"title":"Testing Keyword Availability on Shortcode","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json post /api/v2/shortcodes/{ID}/test_keyword","href":"/api-reference/shortcodes/testing-keyword-availability-on-shortcode"},{"title":"Listing Account Shortcodes","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/shortcodes","href":"/api-reference/shortcodes/listing-account-shortcodes"}]},{"group":"Message Log (MOMT) Reports","pages":[{"title":"Creating a New MOMT Report","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json post /api/v2/momt_reports","href":"/api-reference/message-log-momt-reports/creating-a-new-momt-report"},{"title":"Getting Status of a Processed MOMT Report","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/momt_reports/{ID}","href":"/api-reference/message-log-momt-reports/getting-status-of-a-processed-momt-report"},{"title":"Getting Status of a Unprocessed MOMT Report","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/momt_reports/{ID}/unprocessed","href":"/api-reference/message-log-momt-reports/getting-status-of-a-unprocessed-momt-report"}]},{"group":"Transactional Messages","pages":[{"title":"Send Transactional SMS/MMS Message","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json post /api/v2/transactional_messages","href":"/api-reference/transactional-messages/send-transactional-smsmms-message"}]},{"group":"Webhooks","pages":[{"title":"Listing Webhooks","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/lists/{ID}/webhooks","href":"/api-reference/webhooks/listing-webhooks"},{"title":"Creating a New Webhook for a List","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json post /api/v2/lists/{ID}/webhooks","href":"/api-reference/webhooks/creating-a-new-webhook-for-a-list"},{"title":"Showing a Webhook","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json get /api/v2/lists/{ID}/webhooks/{WEBHOOK_ID}","href":"/api-reference/webhooks/showing-a-webhook"},{"title":"Updating a Webhook","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json put /api/v2/lists/{ID}/webhooks/{WEBHOOK_ID}","href":"/api-reference/webhooks/updating-a-webhook"},{"title":"Destroying a Webhook","deprecated":null,"version":null,"openapi":"/messaging/v2-api-reference/openapi.json delete /api/v2/lists/{ID}/webhooks/{WEBHOOK_ID}","href":"/api-reference/webhooks/destroying-a-webhook"}]}]},{"anchor":"momoGood Messaging API v3","icon":"code","pages":[{"title":"momoGood Messaging API v3","href":"/messaging/message-sending-api-reference/introduction"}]},{"anchor":"Salesforce Marketing Cloud","icon":"salesforce","pages":[{"title":"Salesforce Marketing Cloud","href":"/messaging/sfmc/overview"}]},{"anchor":"Messaging Trust Center","icon":"shield-check","href":"https://trust.tatango.com/"}]},{"tab":"Data Hub","pages":[{"title":"Data Hub","href":"/data-hub/introduction"}]},{"tab":"Events \u0026 Auctions","pages":[{"title":"Events \u0026 Auctions","href":"/events-auctions/overview"}]}]},"basePath":"","title":"Configure List Opt-In Type - momoDevelopers","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}