---
title: "Add CrackerBinarys relationship"
method: POST
path: "/api/v2/ui/crackers/{id}/relationships/tasks"
tags: ["CrackerBinarys"]
---

# Add CrackerBinarys relationship

`POST /api/v2/ui/crackers/{id}/relationships/tasks`

## Request

- Base URL: `https://docs.hashtopolis.org`
- URL: `https://docs.hashtopolis.org/api/v2/ui/crackers/{id}/relationships/tasks`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/hashtopolis/apis/hashtopolis-api/docs/api/v2/ui/crackers/:id/relationships/tasks/post.ts> (a function with typed inputs; its response is checked against the schema)

POST request to create a to-one relationship link.

## Path parameters

- `id` integer, required

## Request body

- CrackerBinaryRelationTasks
  - `data` object[], required
    - `type` 'task', required
    - `id` integer, required

## Response `204`

successfully created

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: Permission denied
- `404`: Not Found
- `409`: Resource already exists

## Changes

- **2026-10-22** `559b0274a0c8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hashtopolis/apis/hashtopolis-api/changes/api/v2/ui/crackers/:id/relationships/tasks/post.md)

---

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