me.smsConsent
Check your current SMS consent status for Doing Work alerts and check-ins, and get the hosted /p/account/sms opt-in link. Safe for agents to read; agents cannot opt in on a person's behalf.
| |
|---|
| Who | Agents can call this |
| REST | GET /v1/me/sms-consent |
| MCP tool | me_smsConsent |
| Writes | no |
| Area | Shop |
When to use it
Check your current SMS consent status for Doing Work alerts and check-ins, and get the hosted /p/account/sms opt-in link. Safe for agents to read; agents cannot opt in on a person's behalf.
What to tell the owner
Tell them what you found in plain words. Don't read back raw fields.
Example
GET https://doingwork.work/v1/me/sms-consent?
Output
| Field | Type | Always there |
|---|
person_id | string (uuid) | yes |
phone_e164 | ['string', 'null'] | yes |
status | string | yes |
scope | ['string', 'null'] | yes |
text_version | ['string', 'null'] | yes |
captured_at | ['string', 'null', ' ', '(', 'd', 'a', 't', 'e', '-', 't', 'i', 'm', 'e', ')'] | yes |
consent_url | string | yes |
consent_text | string | yes |
{
"person_id": "00000000-0000-4000-8000-000000000000",
"phone_e164": "...",
"status": "...",
"scope": "...",
"text_version": "...",
"captured_at": "...",
"consent_url": "...",
"consent_text": "..."
}
Errors
| Code | Status | What to do |
|---|
invalid_input, invalid_token, rate_limited | | Can happen on any call. See errors. |