# Hermoso: claim_referral_code · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/workspace/claim_referral_code/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Workspace & account](https://hermoso.ai/docs/reference/workspace/) / claim_referral_code

# `claim_referral_code`

Enter a referral code

Area: FEEDBACK: let the AGENT report a bug or ask for a capability… · [Workspace & account](https://hermoso.ai/docs/reference/workspace/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Record that a friend referred this account, for someone who signed up without the friend's link: within 14 days of signing up and before the first payment. Free.

## Parameters

Parameter Type Description

`code` required `string` the friend's referral code

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/claim_referral_code`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"claim_referral_code","arguments":{"code":"<string>"}}}`
**CLI**

`hermoso call claim_referral_code --json '{"code":"<string>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [withdraw_affiliate_earnings](https://hermoso.ai/docs/reference/workspace/withdraw_affiliate_earnings/) Withdraw affiliate earnings
- [billing_status](https://hermoso.ai/docs/reference/workspace/billing_status/) Billing status
- [affiliate_payout_setup](https://hermoso.ai/docs/reference/workspace/affiliate_payout_setup/) Set up affiliate payouts
- [upgrade_plan](https://hermoso.ai/docs/reference/workspace/upgrade_plan/) Upgrade plan
- [join_affiliate_program](https://hermoso.ai/docs/reference/workspace/join_affiliate_program/) Join Refer & earn
- [set_auto_reload](https://hermoso.ai/docs/reference/workspace/set_auto_reload/) Set auto-reload
- [affiliate_status](https://hermoso.ai/docs/reference/workspace/affiliate_status/) Referral link and earnings
- [list_brands](https://hermoso.ai/docs/reference/workspace/list_brands/) List profiles
- [contact_support](https://hermoso.ai/docs/reference/workspace/contact_support/) Contact Hermoso support
- [use_brand](https://hermoso.ai/docs/reference/workspace/use_brand/) Switch profile

[All 143 Workspace & account tools](https://hermoso.ai/docs/reference/workspace/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
