> 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

> List the To Dos on the accounts the authenticated user belongs to (every To Do for an admin), a page at a time.

```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**."}},"schemas":{"ToDoListEnvelope":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ToDo"}}}},"ToDo":{"type":"object","description":"A To Do record, with its schedule.","properties":{"id":{"type":"integer"},"name":{"type":"string","nullable":true,"description":"The To Do's name. Defaults to the creation time when none is sent."},"phone_id":{"type":"integer","nullable":true},"delivery_type":{"type":"string","enum":["sms","email","call","ai_outbound_call"]},"instructions":{"type":"string","nullable":true,"description":"Omitted on `ai_outbound_call` To Dos."},"contact":{"type":"string"},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":"string","format":"date-time"},"message_text":{"type":"string"},"times":{"type":"array","items":{"type":"string"},"nullable":true,"description":"Run times for one-time To Dos. Null for recurring To Dos, which carry a `schedule` instead."},"is_sending":{"type":"boolean"},"run_at":{"type":"string","format":"date-time","nullable":true},"from":{"type":"string"},"subject":{"type":"string","nullable":true},"from_email":{"type":"string","nullable":true},"sender_name":{"type":"string","nullable":true},"ai_assistant_id":{"type":"string","nullable":true,"description":"The AI Assistant this To Do dials with: the one pinned on the To Do, or failing that the one set on the phone or the account. Set only on `ai_outbound_call` To Dos."},"variables":{"type":"object","additionalProperties":{"type":"string"},"nullable":true,"description":"The per-call values sent to the assistant. Returned on `ai_outbound_call` To Dos."},"amd_detection":{"type":"string","enum":["off","standard","premium"],"nullable":true,"description":"Returned on `ai_outbound_call` To Dos."},"amd_machine_action":{"type":"string","enum":["hang_up","leave_message"],"nullable":true,"description":"Returned on `ai_outbound_call` To Dos."},"schedule":{"allOf":[{"$ref":"#/components/schemas/ScheduleRecord"}],"nullable":true,"description":"The recurring schedule. Null for one-time To Dos (`rule` of `immediately` or `today`), which carry `times` instead."}}},"ScheduleRecord":{"type":"object","properties":{"id":{"type":"integer"},"schedulable_id":{"type":"integer"},"schedulable_type":{"type":"string"},"rule":{"type":"object","additionalProperties":true,"description":"The recurrence rule: its type, interval and day validations."},"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"}}}}},"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","required":false,"description":"Results per page (default 10).","schema":{"type":"integer","minimum":1,"default":10}}}},"paths":{"/api/v2/to-dos":{"get":{"summary":"List To Dos","description":"List the To Dos on the accounts the authenticated user belongs to (every To Do for an admin), a page at a time.","tags":["List To Dos"],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ToDoListEnvelope"}}}},"401":{"$ref":"#/components/responses/Unauthorized"}},"parameters":[{"$ref":"#/components/parameters/Page"},{"$ref":"#/components/parameters/ToDoPageSize"}]}}}}
```


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
