---
title: "Claim nodeId into publisherId for the authenticated publisher"
method: POST
path: "/publishers/{publisherId}/nodes/{nodeId}/claim-my-node"
tags: ["Registry"]
---

# Claim nodeId into publisherId for the authenticated publisher

`POST /publishers/{publisherId}/nodes/{nodeId}/claim-my-node`

This endpoint allows a publisher to claim an unclaimed node that they own the repo, which is identified by the nodeId. The unclaimed node's repository must be owned by the authenticated user.

## Path parameters

- `publisherId` string, required
- `nodeId` string, required

## Request body

- ClaimMyNodeRequest
  - `GH_TOKEN` string, required — GitHub token to verify if the user owns the repo of the node

## Response `204`

Node claimed successfully

## Other responses

- `400` — Bad request, invalid input data
- `401` — Unauthorized
- `403` — Forbidden - various authorization and permission issues Includes: - The authenticated user does not have permission to claim the node - The node is already claimed by another publisher - The GH_TOKEN is invalid - The repository is not owned by the authenticated GitHub user
- `429` — Too many requests - GitHub API rate limit exceeded
- `500` — Internal server error
- `503` — Service unavailable - GitHub API is currently unavailable

---

[API](https://skmtc.dev/ac/apis/comfy-api.md) · [All operations](https://skmtc.dev/ac/apis/comfy-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ac/comfy-api/revisions/c1893dffe250/schema)
