---
title: "Upsert Sponsor Profile"
method: POST
path: "/api/sponsorship/guardian/preferences"
tags: ["sponsorship"]
---

# Upsert Sponsor Profile

`POST /api/sponsorship/guardian/preferences`

## Request

- Base URL: `https://api.usecreed.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.usecreed.com/api/sponsorship/guardian/preferences`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/usecreed/apis/creed-api/docs/api/sponsorship/guardian/preferences/post.ts> (a function with typed inputs; its response is checked against the schema)

Create or update the current user's sponsor profile.

## Headers

- `x-user-id` string, nullable

## Request body

- SponsorProfileRequest
  - `message` string, nullable
  - `discord_username` string, nullable
  - `share_on_kindness_wall` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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