---
title: "Upload Opt In Evidence"
method: POST
path: "/api/v1/compliance/opt-in-evidence"
tags: ["Campaign"]
---

# Upload Opt In Evidence

`POST /api/v1/compliance/opt-in-evidence`

## Request

- Base URL: `https://api.inkbox.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.inkbox.ai/api/v1/compliance/opt-in-evidence`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Request body `multipart/form-data`

- BodyUploadOptInEvidenceOptInEvidencePost
  - `file` string, binary, required

## Response `201`

Successful Response

- OptInEvidenceUploadResponse
  - `url` string, required

## Other responses

- `422`: Validation Error
- `4XX`: Client error with Support Agent information.
- `5XX`: Server error with Support Agent information.

## Changes

- **2026-10-30** `77c7e3ee70cf`: 2 info
  - added `#/components/schemas/HTTPValidationError` to the response body `allOf` list for the response status `422`
  - removed `subschema #1` from the response body `allOf` list for the response status `422`
- **2026-10-30** `a0729c3c4a0b`: 2 info
  - added `subschema #1` to the response body `allOf` list for the response status `422`
  - removed `#/components/schemas/HTTPValidationError` from the response body `allOf` list for the response status `422`
- **2026-10-14** `0d26e2e0266f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/inkbox/apis/inkbox-api/changes/api/v1/compliance/opt-in-evidence/post.md)

---

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