---
title: "Returns the destination accounts the caller is allowed to publish to"
method: GET
path: "/v1/publications/destinations/accounts/"
---

# Returns the destination accounts the caller is allowed to publish to

`GET /v1/publications/destinations/accounts/`

## Request

- Base URL: `https://app.iconik.io/API/assets`
- URL: `https://app.iconik.io/API/assets/v1/publications/destinations/accounts/`
- Auth: none declared. Required headers: `App-ID`, `Auth-Token`
- TypeScript: <https://skmtc.dev/iconik/apis/iconik-assets/docs/v1/publications/destinations/accounts/get.ts> (a function with typed inputs; its response is checked against the schema)

Required roles:
 - can_publish

## Headers

- `App-ID` string, required
- `Auth-Token` string, required

## Response `200`

Returns a list of destination accounts.

- DestinationItemsSchema
  - `objects` DestinationItemSchema[]
    - `label` string
    - `value` string

## Other responses

- `400`: Wildmoka settings are incomplete
- `401`: Token is invalid
- `403`: User is not allowed to fetch destination accounts from Wildmoka
- `422`: Publishing is not configured
- `502`: Failed to reach Wildmoka
- `default`: Error response

---

[API](https://skmtc.dev/iconik/apis/iconik-assets.md) - [All operations](https://skmtc.dev/iconik/apis/iconik-assets/llms.txt) - [OpenAPI document](https://skmtc.dev/iconik/apis/iconik-assets/revisions/62580d9e640e?raw)
