---
title: "Creates a profile picture for an advisor"
method: POST
path: "/v1/Agencies/{agencyId}/Advisors/{advisorId}/Images"
tags: ["AgencyImages"]
---

# Creates a profile picture for an advisor

`POST /v1/Agencies/{agencyId}/Advisors/{advisorId}/Images`

## Request

- Base URL: `https://api.adaptek.net` (the document declares no server; this is the origin it was published from)
- URL: `https://api.adaptek.net/v1/Agencies/{agencyId}/Advisors/{advisorId}/Images`
- Auth: OAuth 2
  - Authorization code: `https://login.konnexme.com/connect/authorize`
  - Client credentials
  - Token URL: `https://login.konnexme.com/connect/token` scopes: `nxt.adaptek`
- TypeScript: <https://skmtc.dev/adaptek/apis/adaptek-api/docs/v1/Agencies/:agencyId/Advisors/:advisorId/Images/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `agencyId` integer, required
- `advisorId` integer, required

## Request body `multipart/form-data`

- object
  - `file` string, binary

## Response `200`

Profile picture created successfully

- AdaptekApiApplicationAgencyImagesCommandsCreateAgencyImageResponseModel
  - `id` string, nullable
  - `thumbnailUrl` string, nullable
  - `imageUrl` string, nullable

## Other responses

- `400`: Invalid data
- `404`: Advisor not found

---

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