> For the complete documentation index, see [llms.txt](https://answeringservicecare.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://answeringservicecare.com/docs/api-reference/user-portal-apis/to-dos/list-to-dos.md).

# List To Dos

## List To Dos

> Retrieve To Dos for the authenticated user. Admins see every To Do; all other users see the To Dos belonging to phones on their own accounts. Results are paginated with \`page\` and \`page\_size\` — this endpoint does not support date-range filtering.

```json
{"openapi":"3.0.3","info":{"title":"Answering Service Care API","version":"1.0.0"},"tags":[{"name":"List To Dos"}],"servers":[{"url":"https://secure.answeringservicecare.com","description":"Answering Service Care host"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API token","description":"Answering Service Care uses bearer token authentication. Generate API tokens from your user profile under **Application Keys**."}},"parameters":{"Page":{"name":"page","in":"query","description":"Page number to return (1-based).","required":false,"schema":{"type":"integer","minimum":1,"default":1}},"ToDoPageSize":{"name":"page_size","in":"query","description":"Number of To Dos per page. Defaults to 10.","required":false,"schema":{"type":"integer","minimum":1,"default":10}}},"schemas":{"ToDoListEnvelope":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ToDo"}}}},"ToDo":{"type":"object","description":"A To Do record — the stored row, plus a nested `schedule`.","properties":{"id":{"type":"integer"},"name":{"type":"string","nullable":true},"phone_id":{"type":"integer","nullable":true},"delivery_type":{"type":"string","enum":["sms","email","call","ai_outbound_call"]},"contact":{"type":"string","nullable":true},"message_text":{"type":"string","nullable":true},"instructions":{"type":"string","nullable":true},"from":{"type":"string","nullable":true},"from_email":{"type":"string","nullable":true},"sender_name":{"type":"string","nullable":true},"subject":{"type":"string","nullable":true},"sendgrid_authenticated_domain_id":{"type":"integer","nullable":true},"ai_assistant_id":{"type":"string","nullable":true,"description":"Telnyx AI Assistant resolved from the account's number. Set only on `ai_outbound_call` To Dos."},"times":{"type":"array","items":{"type":"string"},"nullable":true,"description":"Run times for one-shot To Dos (`rule` of `immediately` or `today`). Null for recurring To Dos, which carry a `schedule` instead."},"is_sending":{"type":"boolean"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"schedule":{"allOf":[{"$ref":"#/components/schemas/ScheduleRecord"}],"nullable":true,"description":"Populated for recurring To Dos; null for one-shot To Dos."}}},"ScheduleRecord":{"type":"object","properties":{"id":{"type":"integer"},"schedulable_id":{"type":"integer"},"schedulable_type":{"type":"string"},"rule":{"type":"object","additionalProperties":true,"description":"IceCube rule object."},"times":{"type":"array","items":{"type":"string"}},"previous_occurrence":{"type":"string","format":"date-time","nullable":true},"next_occurrence":{"type":"string","format":"date-time","nullable":true},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"}}},"ErrorSimple":{"type":"object","description":"Compact error response (used for 401/422/400).","properties":{"error":{"type":"string"}}}},"responses":{"Unauthorized":{"description":"Missing or invalid bearer token.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorSimple"}}}}}},"paths":{"/api/v2/to-dos":{"get":{"summary":"List To Dos","description":"Retrieve To Dos for the authenticated user. Admins see every To Do; all other users see the To Dos belonging to phones on their own accounts. Results are paginated with `page` and `page_size` — this endpoint does not support date-range filtering.","tags":["List To Dos"],"parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/ToDoPageSize"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToDoListEnvelope"}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://answeringservicecare.com/docs/api-reference/user-portal-apis/to-dos/list-to-dos.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
