---
title: "Add profile picture"
method: POST
path: "/self/avatar"
tags: ["Self"]
---

# Add profile picture

`POST /self/avatar`

## Request

- Base URL: `https://app.mammoth.io/api/v2`
- URL: `https://app.mammoth.io/api/v2/self/avatar`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-KEY` and API key in header `X-API-SECRET` and API key in header `X-WORKSPACE-ID`

Add a profile picture (avatar) to the user

## Response `201`

Document created, URL follows

- JobSchema
  - `id` integer, required
  - `status` 'success' | 'failure' | 'processing' | 'error', required: Job status can be success, failure or processing
  - `response` object, required: Result of async task is stored in response
  - `last_updated_at` string, date-time, required: Job last updated at is the time when Job status was last updated
  - `created_at` string, date-time, required: Create at is time when async task was created
  - `path` string, required: API request path of the Job operation
  - `operation` string, required: Operation is async task name which Job is tracking

## Other responses

- `400`: Bad request syntax or unsupported method
- `403`: Request forbidden -- authorization will not help

---

[API](https://skmtc.dev/mammoth/apis/mammoth-analytics.md) · [All operations](https://skmtc.dev/mammoth/apis/mammoth-analytics/llms.txt) · [OpenAPI document](https://skmtc.dev/mammoth/apis/mammoth-analytics/revisions/5dfd1c296ded?raw)
