{"command":{"effect":"write","timeoutSeconds":60,"inputSchema":{"type":"object","properties":{"brandId":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,159}$","title":"Brand id"},"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"},"phoneNumbers":{"type":"array","items":{"type":"string","pattern":"^\\+[1-9]\\d{7,14}$","title":"Phone number in E.164"},"minItems":1,"maxItems":100,"title":"Numbers to assign"}},"required":["brandId","campaign","phoneNumbers"],"additionalProperties":false},"name":"Register a 10DLC campaign","id":"telnyx.messaging.a2p-campaign.create","example":{"brandId":"4b6d8f2a","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},"phoneNumbers":["+15005550006"]},"maxRequests":1,"summary":false}}