---
title: "Facebook Endpoint"
method: POST
path: "/facebook"
---

# Facebook Endpoint

`POST /facebook`

## Request

- Base URL: `https://api.adyntel.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.adyntel.com/facebook`
- Auth: none declared

## Request body

- FacebookRequest
  - `api_key` string, required
  - `email` string, required
  - `facebook_url` string, nullable
  - `company_domain` string, nullable
  - `country_code` union
    - string
    - string[]
  - `webhook_url` string, nullable
  - `continuation_token` string, nullable
  - `media_type` string, nullable
  - `active_status` string, nullable
  - `language` unknown
  - `all_ads` boolean
  - `check_ugc` boolean
  - `internal_testing` boolean
  - `test` boolean
  - `skip_aws` boolean
  - `railwayq` boolean
  - `celeryq` boolean
  - `new_celeryq` boolean
  - `batching_jobs` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-01** `3b8537efdc90`: 2 info
  - added the new optional request property `language`
  - request property `country_code` list-of-types was widened by adding types `array` to media type `application/json`

[Operation history](https://skmtc.dev/adyntel/apis/adyntel-api/changes/facebook/post.md)

---

[API](https://skmtc.dev/adyntel/apis/adyntel-api.md) - [All operations](https://skmtc.dev/adyntel/apis/adyntel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/adyntel/apis/adyntel-api/revisions/4d24e351fca5?raw)
