---
title: "Add multiple sources"
method: POST
path: "/sources/add"
tags: ["Sources"]
---

# Add multiple sources

`POST /sources/add`

## Request

- Base URL: `https://asm.cloud.tenable.com/api/1.0`
- URL: `https://asm.cloud.tenable.com/api/1.0/sources/add`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/tenable/apis/attack-surface-management/docs/sources/add/post.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `as_subdomains` boolean
- `dont_discover` boolean
- `is_elastic` boolean

## Request body

- string[]

## Response `200`

OK

- object[]
  - `id` number
  - `keyword` string
  - `warning` string
  - `alreadyAdded` string
  - `invalid` string
  - `blacklisted` string

## Other responses

- `401`: Unauthorized
- `500`: Internal server error

---

[API](https://skmtc.dev/tenable/apis/attack-surface-management.md) - [All operations](https://skmtc.dev/tenable/apis/attack-surface-management/llms.txt) - [OpenAPI document](https://skmtc.dev/tenable/apis/attack-surface-management/revisions/465c06285e48?raw)
