---
title: "add attachment to order"
method: POST
path: "/orders/{orderId}/results/attachment"
tags: ["result"]
---

# add attachment to order

`POST /orders/{orderId}/results/attachment`

## Request

- Base URL: `https://api.smartrecruiters.com/assessment-api/v202010`
- URL: `https://api.smartrecruiters.com/assessment-api/v202010/orders/{orderId}/results/attachment`
- Auth: none declared

Add attachment to order. Adding attachment to inline assessment orders is not supported.

## Path parameters

- `orderId` string, uuid, required

## Request body `multipart/form-data`

- string

## Response `201`

Created

- AttachmentResult
  - `url` string, required

## Other responses

- `401`: Unauthorized request
- `403`: Request missed required scopes
- `404`: Order with given id does not exist

---

[API](https://skmtc.dev/smartrecruiters/apis/assessment-partner-api.md) - [All operations](https://skmtc.dev/smartrecruiters/apis/assessment-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartrecruiters/apis/assessment-partner-api/revisions/f7c764bd7c6d?raw)
