Consent Update APIAsk AIpost https://api.in.kaleyra.io/v1/{sid}/consentRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Path ParamssidstringrequiredAccount SID (Security Identifier). For more information, see View API Key and SID.Body ParamschannelstringrequiredChannel name for which you want to update the consent. Example - sms.sender_identifierstringrequiredInbound Sender ID. In case of SMS, it’s the short code for customers.contact_identifierstringrequiredContact identifier of the end-user or end-user's mobile number.consent_categorystringConsent category. Example - Marketing, Transactional, or Promotional.consent_topicstringConsent topic. Example - Offers, Loan, or Insurance.sourcestringrequiredSource of the consent request or source of opt-in or opt-out. Example - API.source_identifierstringUnique identifier for the source request. Example - MO_id. The MO_id is the identifier stored on the SMS database.timestampdate-timeTimestamp when the event occurred in ISO Date format (YYYY-MM-DDThh:mm:ss).consent_statusstringrequiredStatus of consent. Example - OPT_IN or OPT_OUT.inbound_message_identifierstringInbound sender_id to which end-user is sending opt-in or opt-out message to. It will be the sender ID of the incoming MO.request_identifierstringUnique request ID from Kaleyra from where the consent API is triggered.x_callback_urlstringCallback URL to receive updates on processing.Headersapi-keystringrequiredAPI key generated from the Kaleyra platform account. For more information, see View API Key and SID.Responses 202Accepted 400Bad Request 401Unauthorized 500Internal Server ErrorUpdated 9 months ago