{"command":{"effect":"write","timeoutSeconds":60,"inputSchema":{"type":"object","properties":{"messagingServiceId":{"type":"string","pattern":"^MG[0-9a-fA-F]{32}$","title":"Messaging Service SID"},"brandRegistrationId":{"type":"string","pattern":"^BN[0-9a-fA-F]{32}$","title":"Brand Registration SID"},"campaign":{"type":"object","properties":{"useCase":{"type":"string","minLength":1,"maxLength":120,"title":"Use case"},"description":{"type":"string","minLength":1,"maxLength":4000,"title":"Description"},"messageFlow":{"type":"string","minLength":1,"maxLength":4000,"title":"Opt-in message flow"},"sampleMessages":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":10,"title":"Sample messages"},"optInKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":20,"title":"Opt-in keywords"},"optOutKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":20,"title":"Opt-out keywords"},"helpKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":20,"title":"Help keywords"},"optInMessage":{"type":"string","maxLength":2000,"title":"Opt-in reply"},"optOutMessage":{"type":"string","maxLength":2000,"title":"Opt-out reply"},"helpMessage":{"type":"string","maxLength":2000,"title":"Help reply"},"privacyPolicyUrl":{"type":"string","format":"uri","maxLength":2048,"title":"HTTPS callback URL"},"termsAndConditionsUrl":{"type":"string","format":"uri","maxLength":2048,"title":"HTTPS callback URL"},"subscriberOptIn":{"type":"boolean","title":"Subscribers opt in"},"ageGated":{"type":"boolean","title":"Age gated"},"hasEmbeddedLinks":{"type":"boolean","title":"Messages contain links"},"hasEmbeddedPhone":{"type":"boolean","title":"Messages contain phone numbers"}},"required":["useCase","description","messageFlow","sampleMessages","optInKeywords","optOutKeywords","helpKeywords"],"additionalProperties":false,"title":"Campaign"}},"required":["messagingServiceId","brandRegistrationId","campaign"],"additionalProperties":false},"name":"Register a US A2P 10DLC campaign","id":"twilio.messaging.a2p-campaign.create","example":{"messagingServiceId":"MGaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","brandRegistrationId":"BNaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","campaign":{"useCase":"CUSTOMER_CARE","description":"Workflow run notifications for Gridheap customers.","messageFlow":"Customers opt in from the Gridheap dashboard when enabling notifications.","sampleMessages":["Your workflow finished."],"optInKeywords":["START"],"optOutKeywords":["STOP"],"helpKeywords":["HELP"],"subscriberOptIn":true}},"maxRequests":1,"summary":false}}