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

# Sync the current user's community identity cache



## OpenAPI

````yaml /api-reference/community-v1.openapi.json put /v1/community/me/identity
openapi: 3.1.0
info:
  description: >-
    Public write API for COPE communities — communities, memberships, invites,
    posts, comments, channels, messages, events, challenges, and library
    resources.
  title: COPE Community API
  version: 1.0.0
servers:
  - url: https://api.cope.com
security: []
paths:
  /v1/community/me/identity:
    put:
      summary: Sync the current user's community identity cache
      operationId: community.identity.sync
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                avatar_url:
                  type: string
                display_name:
                  type: string
                email:
                  format: email
                  type: string
              required:
                - email
              type: object
        required: true
      responses:
        '204':
          description: Identity synced
        '400':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Bad Request
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Unauthorized
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Forbidden
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Unprocessable Content
      security:
        - bearerAuth: []
components:
  schemas:
    Problem:
      properties:
        code:
          type: string
        detail:
          type: string
        errors:
          items:
            properties:
              code:
                type: string
              detail:
                type: string
              field:
                type: string
            required:
              - code
              - detail
            type: object
          type: array
        request_id:
          type: string
        status:
          type: integer
        title:
          type: string
        type:
          format: uri
          type: string
      required:
        - type
        - title
        - status
        - code
        - errors
      type: object
  securitySchemes:
    bearerAuth:
      description: >-
        Bearer credential for the public API. Send a live COPE API key
        (`cope_sk_live_*`), or a Clerk session token when acting as a signed-in
        user. Community operations are scoped to the authenticated user; include
        `X-Cope-Business-Id` to act on behalf of a specific business you own.
      scheme: bearer
      type: http

````