---
title: "Create a custom user link"
method: POST
path: "/api/v2/users/{userId}/custom-links"
tags: ["Users"]
---

# Create a custom user link

`POST /api/v2/users/{userId}/custom-links`

> 🔑
>
> Required OAuth scope: `users:write`.

Creates a custom user link for the given user.

## Path parameters

- `userId` string, ObjectId, required

## Headers

- `360-api-version` 'v2.0', required

## Request body

- CreateCustomUserLinkRequestBody
  - `customLinkId` string, ObjectId, required — The unique ID of the custom link.
  - `url` string, required — The URL of the custom user link.

## Other responses

- `401` — The given access token is either missing, invalid, has expired, or has been revoked.
- `403` — The given access token does not have the required OAuth scope to execute the request.
- `404` — The server cannot find the requested resource.
- `409` — The given `customLinkId` is already used by the given user.
- `429` — The client has sent too many requests in a short amount of time.

---

[API](https://skmtc.dev/360learning/apis/core-api.md) · [All operations](https://skmtc.dev/360learning/apis/core-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/360learning/core-api/revisions/94b691b0b72c/schema)
