# Developers

Create, rotate and revoke the API keys your backend uses to call Wandura, and see which endpoints those keys call.

![The Developers screen](https://docs.wandura.ai/images/partners/images/screens/developers.47cfb133.png)

The screen has two tabs. **API keys** is where you manage keys and watch usage. **Player SDK** is the setup guide for playing licensed episodes in your iOS and Android apps.

## How a key works

A key lets your server call the Wandura API. Each key carries **scopes**: the list of things it is allowed to do. You do not need to know scope names: you pick what the key is for, and the portal sets the scopes for you. Which scope opens which endpoint is in [Scopes](https://docs.wandura.ai/partners/developer-keys#scopes).

## Who sees it

Admins and developers. Developers land here after they sign in. Admins find it in the sidebar, in the **Organization** group.

## What you can do here

Under **Create a key**, step **1. What will this key do?** offers these choices:

| Choice | Scopes it sets | What the key lets your server do |
|---|---|---|
| **Sync catalog to your CMS** | Read film metadata | Read titles, episodes, posters and synopses of your licensed films. It cannot play or download video. |
| **Receive creatives** | Receive exported creatives | List the ad creatives exported for your organisation and keep them in sync. |
| **Advanced: choose scopes** | The ones you tick | Anything your scopes allow. Tick only what the integration needs. |
| **Streaming films in your app** | None, there is no button | A note that points you to playing films from your own video space. No own space yet? Ask Wandura to set one up. |

Below the form:

- **Keys** lists your organisation's keys, newest first: the first characters of each key, its label, its scopes and its status (**Never used**, **Last used** with a date, or **Revoked**). Each live key has **Rotate** and **Revoke**.
- **API usage** shows, per key, the endpoints it called in the last 30 days (UTC), with call counts, last call and API version. Counts appear within seconds and are a lower bound, not a bill.
- **Changes affecting you** lists documentation changes to the endpoints your keys called, newest first.

## Main steps

1. Select **Developers** in the sidebar.
2. Under **1. What will this key do?**, pick a choice.
3. Give the key a **Label** that says where it is used, for example `cms-sync-prod` (up to 80 characters).
4. Select **Create key**.
5. Copy the key with **Copy key**, store it as a secret on your server, then select **I saved it**.

## Good to know

- The full key is shown only once. Wandura cannot show it again. If you lose it, rotate it or create a new one.
- **Rotate** gives the key a new secret and keeps its label and scopes. **Revoke** stops the key for good and cannot be undone. In both cases, new requests with the old secret are refused within about a second, and tickets already issued keep playing for up to 30 minutes.
- There is no overlap when you rotate: update your servers right away.
- A new key uses the latest API version. A rotated key keeps the version it had.
- Keep keys on your servers. Never put a key in an app, a web page or a public repository.
- Playback keys you already have stay in the list and keep working. You can rotate or revoke them here, but you cannot create new ones.
- The **Keys** list shows up to 100 keys.
- An **Apps** list appears above the keys only if your organisation registered apps earlier.

## Learn more

- [Developer keys](https://docs.wandura.ai/partners/developer-keys)
- [API overview](https://docs.wandura.ai/developers)
- [Screens](https://docs.wandura.ai/partners/screens)
