# Query DID's

## Get All DIDs

Retrieve all DIDs currently associated with the given API key.

```
curl "https://sms.accentvoice.com/api/v2/dids?key=<API Key>"
```

> This request returns a JSON payload of this structure:

```
{
    "success": true,
    "error": false,
    "status_code": "DID-LIST",
    "message": "DID listing for David Lemcoe Jr..",
    "data": {
        "dids": [{
                "did": "17724447849",
                "activated": {
                    "date": "2019-05-09 15:41:44.000000",
                    "timezone_type": 3,
                    "timezone": "America/New_York"
                }
            },
            {
                "did": "19412003696",
                "activated": {
                    "date": "2019-05-09 15:41:56.000000",
                    "timezone_type": 3,
                    "timezone": "America/New_York"
                }
            }
        ]
    }
}
```

This endpoint retrieves all DIDs for a given API key.

#### HTTP Request <a href="#http-request" id="http-request"></a>

`GET https://sms.accentvoice.com/api/v2/dids?key=<API Key>`

#### Query Parameters <a href="#query-parameters" id="query-parameters"></a>

None

Remember: For API `GET` requests, your API Key must be provided as a URL parameter!


---

# Agent Instructions: 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:

```
GET https://guides.accentvoice.com/sms-api/query-dids.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
