The Wayback Machine - https://web.archive.org/web/20160617164532/https://dev.twitter.com/ads/reference/get/accounts

GET accounts

Retrieve all of the advertising-enabled accounts the authenticating user has access to.

Resource URL

https://ads-api.twitter.com/0/accounts

Resource Information

Response formats
JSON
Requires authentication?
Yes (user context only)
Rate limited?
Yes

Parameters

with_deleted optional

Include deleted results for your request.

Example Value: true

Default Value: false

sort_by optional

Sorts by supported attribute in ascending or descending order. See sorting for more information.

Example Value: created_at-asc

Example Value: updated_at-desc

OAuth Signature Generator

Sign in to see a list of your registered applications.

Example Request

GET

https://ads-api.twitter.com/0/accounts

Example Result

  {
    "data": [
        {
            "approval_status": "ACCEPTED",
            "created_at": "2012-11-28T22:38:43Z",
            "deleted": false,
            "id": "defg",
            "name": "Some company",
            "salt": "3ae83290ccd1831d9c867eddd96c8d6c",
            "timezone": "America/Los_Angeles",
            "timezone_switch_at": "2014-07-28T07:00:00Z",
            "updated_at": "2014-10-06T17:43:31Z"
        },
        {
            "approval_status": "ACCEPTED",
            "created_at": "2014-07-14T22:51:48Z",
            "deleted": false,
            "id": "abcd",
            "name": "Some person named Emma",
            "salt": "973fef8ecb1c5d5f6bba4b61827c214a",
            "timezone": "America/Los_Angeles",
            "timezone_switch_at": "2014-07-27T07:00:00Z",
            "updated_at": "2014-08-27T21:59:56Z"
        }
    ],
    "data_type": "account",
    "next_cursor": null,
    "request": {
        "params": {}
    },
    "total_count": 2
}