---
title: "Generate AI personalization from a single URL"
method: POST
path: "/v3/user-api/personalization/generate"
tags: ["Personalization"]
---

# Generate AI personalization from a single URL

`POST /v3/user-api/personalization/generate`

## Request

- Base URL: `https://api.nureply.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nureply.com/v3/user-api/personalization/generate`
- Auth: none declared. Required headers: `x-personal-api-key`

Generate personalized email content from a LinkedIn profile or website URL. Automatically detects URL type and uses appropriate personalization strategy. Consumes 1 personalization credit.

## Headers

- `x-personal-api-key` string, required

## Request body

- GeneratePersonalizationDto
  - `writingStyle` 'formal' | 'casual' | 'funny': Writing style for the personalization
  - `language` 'English' | 'German' | 'French' | 'Turkish' | 'Dutch' | 'Spanish': Language for the personalization
  - `customPrompt` string: Custom prompt for additional AI instructions (max 500 chars)
  - `url` string, required: URL to analyze for personalization (LinkedIn profile or company website)

## Response `200`

- PersonalizationResponseDto
  - `message` string, required
  - `data` PersonalizationDataDto, required
    - `personalization` string, required: The AI-generated personalized message
    - `source` 'linkedin' | 'website' | 'both', required: Source used for personalization
    - `creditsUsed` number, required: Number of credits consumed for this personalization
    - `remainingCredits` number, required: Remaining personalization credits

## Other responses

- `400`
- `401`
- `500`

---

[API](https://skmtc.dev/nureply/apis/nureply-api.md) - [All operations](https://skmtc.dev/nureply/apis/nureply-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nureply/apis/nureply-api/revisions/a754b8b5eb0a?raw)
