> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Person Image

> Stores the person image that is displayed in the CRM application.

NsApiSlow threshold: 2000 ms.



## OpenAPI

````yaml /openapi/agent/openapi-v3-PersonAgent.json post /api/v1/Agents/Person/SetPersonImage
openapi: 3.0.0
info:
  version: v1-Agents
  title: SuperOffice Agent API v1
  description: SuperOffice Agent API - PersonAgent
  contact:
    name: SuperOffice DevNet
    url: https://docs.superoffice.com/en/api/index.html
    email: sdk@superoffice.com
servers:
  - url: http://localhost:56350
  - url: https://localhost:56350
security: []
tags: []
externalDocs:
  description: >-
    The SuperOffice DevNet Community has more documentation, examples, and
    discussion forums.
  url: https://community.superoffice.com/en/developer/
paths:
  /api/v1/Agents/Person/SetPersonImage:
    post:
      tags:
        - Person_Agent
      summary: Set Person Image
      description: |-
        Stores the person image that is displayed in the CRM application.

        NsApiSlow threshold: 2000 ms.
      operationId: v1PersonAgent_SetPersonImage
      parameters:
        - name: $select
          in: query
          description: >-
            Optional comma separated list of properties to include in the
            result. Other fields are then nulled out to reduce payload size:
            "Name,department,category". Default = show all fields.
          required: false
          schema:
            type: string
        - name: SO-AppToken
          in: header
          description: >-
            The application token that identifies the partner app. Used when
            calling Online WebAPI from a server.
          required: false
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.PersonCarriers.SetPersonImageRequest
          text/json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.PersonCarriers.SetPersonImageRequest
          application/xml:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.PersonCarriers.SetPersonImageRequest
          text/xml:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.PersonCarriers.SetPersonImageRequest
          application/x-www-form-urlencoded:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.PersonCarriers.SetPersonImageRequest
          application/json-patch+json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.PersonCarriers.SetPersonImageRequest
          application/merge-patch+json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.PersonCarriers.SetPersonImageRequest
        description: PersonId, Image
        required: true
      responses:
        '204':
          description: No Content
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components:
  schemas:
    SuperOffice.WebApi.v1.Carriers.PersonCarriers.SetPersonImageRequest:
      description: >-
        SetPersonImage: Stores the person image that is displayed in the CRM
        application.
      type: object
      properties:
        PersonId:
          format: int32
          type: integer
        Image:
          format: byte
          type: string

````

## Related topics

- [Set Person Image](/en/api/reference/restful/agent/blob_agent/set-person-image.md)
- [SuperOffice.WebApi.Data.Person SetPersonImageRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Person_SetPersonImageRequest.md)
- [SuperOffice.WebApi.Data.BLOB SetPersonImageRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.BLOB_SetPersonImageRequest.md)
- [NSPersonAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSPersonAgent.md)
- [SuperOffice.WebApi.Agents.PersonAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.PersonAgent.md)
- [SuperOffice.WebApi.Agents.IPersonAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IPersonAgent.md)
