---
title: "Auto Add Friend"
method: POST
path: "/api/friends/auto-add/{sender_id}"
tags: ["friends"]
---

# Auto Add Friend

`POST /api/friends/auto-add/{sender_id}`

Directly add a user as a friend without a request/accept flow.

The caller is the receiver — they include the sender_id (the user who shared their ID).
The sender receives the notification.

## Path parameters

- `sender_id` string, required

## Headers

- `x-user-id` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/usecreed/apis/creed-api.md) · [All operations](https://skmtc.net/usecreed/apis/creed-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usecreed/creed-api/revisions/39e293adecd1/schema)
