POST
/
excluded-domains
curl --request POST \
  --url https://api.amplemarket.com/excluded-domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --data '{
  "excluded_domains": [
    {
      "domain": "<string>"
    }
  ]
}'
{
  "existing_domain.com": "duplicated",
  "new_domain.com": "success"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string
required

Query Parameters

page[size]
string

Page size

page[after]
string

Page after

page[before]
string

Page before

filter
string

Filter by domain keyword

Body

application/vnd.amp+json
excluded_domains
object[]
required

Response

200
application/vnd.amp+json
Successful
{key}
enum<string>
Available options:
success,
duplicated,
error