Opt-ins
Records that people agreed to your messages, and the rule that requires them for marketing.
| 方法 | 路径 | 摘要 | 权限 | 沙盒 |
|---|---|---|---|---|
| GET | /v1/{number}/settings/optin | Is the opt-in rule for marketing on? | settings:manage | 读取 |
| PUT | /v1/{number}/settings/optin | Turn the opt-in rule for marketing on or off | settings:manage | 拒绝 |
| GET | /v1/{number}/optins | The opt-in records, or check one number | settings:manage | 读取 |
| POST | /v1/{number}/optins | Record that people opted in | settings:manage | 真实更改 |
| DELETE | /v1/{number}/optins/{phone} | Remove an opt-in record | settings:manage | 真实更改 |