# Agency referral link and API keys

> Copy your referral link with a source for each channel, see clicks on the Panel, and create or revoke your agency's API keys.

Your agency has its own referral link and API keys to operate client accounts through integrations.

## Referral link

Every referral that turns into a Wascer purchase earns your agency a commission.

1. Open **Wallet** > **Resources**.
2. To know where clicks come from, fill in **Origin**, for example `instagram`, `site` or `whatsapp`. Use lowercase letters, numbers and hyphens, up to 30 characters.
3. Click **Copy link** and share it anywhere: social media, your website or a direct message.

When someone clicks the link and signs up for Wascer, the referral shows up in your dashboard automatically. Your agency has one main link: to tell channels apart, use a different origin for each one.

On the **Panel**, the **Referral link** card shows clicks and sign-ups through the link, a chart of clicks per day over the last 30 days and the split by origin.

If you see "Your main link isn't ready yet", refresh the page in a bit.

## Agency API keys

Agency keys let you operate client workspaces through the API. Only the Owner and Administrators can create and revoke keys. Members see the list without actions.

1. Open **Agency** > **Settings** (the page is called **Agency registration**) and go to **API keys**.
2. Click **New key**.
3. Give it a **Name**, up to 100 characters, that reminds you where the key will be used.
4. Under **Permissions**, select at least one: **Read** (view containers and settings), **Update** (change existing resources) or **Write** (create and remove resources).
5. If you want, fill in **Expires on (optional)**. Without a date, the key is valid until revoked.
6. Click **Create key**.
7. On **Copy your key now**, click **Copy key**, store the key somewhere safe and click **I've copied it**.

> **Atenção:** The full key is shown only once. If you lose it, revoke it and create another.

The table shows **Name**, **Key**, **Permissions**, **Created**, **Last used** and **Status**: Active, Expired or Revoked. To cancel a key, click **Revoke** and confirm. Integrations using the key stop working immediately, and this can't be undone.

The API documentation is at [wascer.com/docs](https://wascer.com/docs). For keys on a client account, see [API keys](https://wascer.com/ee/helpdesk/conta-equipe-e-seguranca/chaves-de-api).

Source: https://wascer.com/helpdesk/agencias-parceiras/indicacao-e-chaves-da-agencia
