---
title: "List Fastly accounts"
method: GET
path: "/api/v2/integrations/fastly/accounts"
tags: ["Fastly Integration"]
---

# List Fastly accounts

`GET /api/v2/integrations/fastly/accounts`

List Fastly accounts.

## Response `200`

OK

- FastlyAccountsResponse — The expected response schema when getting Fastly accounts.
  - `data` FastlyAccountResponseData[] — The JSON:API data schema.
    - `attributes` FastlyAccounResponseAttributes, required — Attributes object of a Fastly account.
      - `name` string, required — The name of the Fastly account.
      - `services` FastlyService[] — A list of services belonging to the parent account.
        - `id` string, required — The ID of the Fastly service
        - `tags` string[] — A list of tags for the Fastly service.
    - `id` string, required — The ID of the Fastly account, a hash of the account name.
    - `type` 'fastly-accounts', required — The JSON:API type for this API. Should always be `fastly-accounts`.

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
