---
title: "Upload Contact Photo"
method: POST
path: "/v1/contacts/{id}/photo"
tags: ["Contacts"]
---

# Upload Contact Photo

`POST /v1/contacts/{id}/photo`

## Request

- Base URL: `https://crm-public-api.app.carta.com`
- URL: `https://crm-public-api.app.carta.com/v1/contacts/{id}/photo`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/carta/apis/carta/docs/v1/contacts/:id/photo/post.ts> (a function with typed inputs; its response is checked against the schema)

Uploads a photo for a contact. Send the file as `multipart/form-data` with the field name `file`. Replaces any existing photo.

## Path parameters

- `id` string, required

## Request body `multipart/form-data`

- object
  - `file` string, binary, required: The photo file to upload

## Response `200`

Photo uploaded

- CommonResponseDto
  - `success` boolean, required

## Other responses

- `401`: Invalid or missing API key
- `404`: Contact not found
- `500`: Internal server error

---

[API](https://skmtc.dev/carta/apis/carta.md) - [All operations](https://skmtc.dev/carta/apis/carta/llms.txt) - [OpenAPI document](https://skmtc.dev/carta/apis/carta/revisions/e2df8f96438f?raw)
