# Udemy module (deprecated)

{% hint style="danger" %}
**Deprecation Notice: Udemy Affiliate API**

Udemy has officially closed its affiliate API, and as a result, this module is now **deprecated**.
{% endhint %}

### 🔄 Alternative ways to work with Udemy

If you're looking to promoting Udemy products, consider the following options:

1. [**Rakuten module**](/modules/affiliate/linkshare.md)\
   Use the Rakuten module to access Udemy affiliate products.

   > *Note: You must first be approved for the Udemy affiliate program via Rakuten.*
2. [**Content Egg + Affiliate Egg**](/modules/affiliate-egg-integration.md)\
   Integrate Udemy using Content Egg and Affiliate Egg.

   > *No prior approval is required to add and display Udemy products using this method.*

***

### Obtaining Client ID and Client Secret

To access Udemy's API, follow these steps to obtain your **Client ID** and **Client Secret**:

1. Log in to your [Udemy account](https://www.udemy.com/).
2. Navigate to Edit profile > [API Clients](https://www.udemy.com/user/edit-api-clients/) and click **Request Affiliate API Client**.
3. Once approved, your **Client Id** and **Client Secret** will be available on the same page.

<figure><img src="/files/JFGKlKqWAmkhVVyOb7Ug" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Note:** If you do not see the **Client ID** in your profile, switch your account language to **English** in your Udemy settings.
{% endhint %}

### Generating a Deeplink on Rakuten Advertising

Udemy's affiliate program is available through the **Rakuten Advertising** network. Follow these steps to generate your deeplink:

1. Join the **regional merchant** specific to your target geographic regions. Refer to this [guide](https://partnersupport.udemy.com/hc/en-us/articles/360048655014-How-do-I-Join-the-Udemy-Affiliate-Program) for details.
2. Once approved, navigate to **Links > Link Tools > Deep Links** in Rakuten Advertising.
3. Select **Udemy** as the advertiser and generate your [deeplink](https://ce-docs.keywordrush.com/modules/affiliate/pages/-MTUXEKm5VcN0CRKILEW#id-1.-deeplinks).

![](/files/-M4y5R38nfxIn1R2FMbZ)


---

# 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://ce-docs.keywordrush.com/modules/affiliate/udemy.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.
