# Promotion API

### Introduction

The Promotion API endpoints provide access to CDP promotion data within our system. These endpoints enable you to import your promotion code from a third-party promotion engine into CDP and more, allowing your application to interact with our event data.

### Authentication

To access these endpoints, you will need to authenticate your requests using OAuth 2.0 and ensure that the access token is authenticated with the scope `promotion`. Please refer to our [Authentication Guide](#base-url) for details on how to obtain an access token.

{% openapi src="/files/slFgsxWi30I6PBr8NaTX" path="/api/promotion/pool" method="post" %}
[promotion.yaml](https://4137638855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLclllpxtah4ilNijP5l5%2Fuploads%2FZrALwjGJRUFCcdeKebLr%2Fpromotion.yaml?alt=media\&token=d3712320-b059-4f92-b89c-eb076a7214ac)
{% endopenapi %}

{% openapi src="/files/slFgsxWi30I6PBr8NaTX" path="/api/promotion/import" method="post" %}
[promotion.yaml](https://4137638855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLclllpxtah4ilNijP5l5%2Fuploads%2FZrALwjGJRUFCcdeKebLr%2Fpromotion.yaml?alt=media\&token=d3712320-b059-4f92-b89c-eb076a7214ac)
{% endopenapi %}

{% openapi src="/files/slFgsxWi30I6PBr8NaTX" path="/api/item/search" method="post" %}
[promotion.yaml](https://4137638855-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLclllpxtah4ilNijP5l5%2Fuploads%2FZrALwjGJRUFCcdeKebLr%2Fpromotion.yaml?alt=media\&token=d3712320-b059-4f92-b89c-eb076a7214ac)
{% endopenapi %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.antsomi.com/api-guide/endpoint/promotion-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
