---
title: "Create Referral Code"
openapi: "openapi POST /v1/referrals.create_code"
---
import { DynamicParamField } from "/components/dynamic-param-field.jsx";
import { DynamicResponseField } from "/components/dynamic-response-field.jsx";
import { DynamicResponseExample } from "/components/dynamic-response-example.jsx";
### Body Parameters
The unique identifier of the customer
ID of your referral program
### Response
The referral code that can be shared with customers
Your unique identifier for the customer
The timestamp of when the referral code was created
```json 200
{
"code": "",
"customer_id": "",
"created_at": 123
}
```