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

# Modify the profile bio, image and banner of the user

> Modify the profile bio, image and banner of the user



## OpenAPI

````yaml /api-reference/openapi.json post /twitter/profile
openapi: 3.1.0
info:
  title: Twitter API Service
  description: |2-

            A comprehensive Twitter API service that provides various Twitter operations including:
            
            * **Search Operations**: Advanced search, hashtags, cashtags
            * **Tweet Operations**: Post, like, retweet, quote, bookmark, delete
            * **User Operations**: Batch user information retrieval
            * **Influencer Operations**: Get tweets from top influencers
            
            All endpoints return standardized responses in the format:
            ```json
            {
                "code": 200,
                "msg": "success", 
                "data": {...}
            }
            ```
            
            ## Authentication
            
            This API uses Bearer token authentication. Include your token in the Authorization header:
            ```
            Authorization: Bearer your_token_here
            ```
            
  contact:
    name: API Support
    email: support@twitterxapi.com
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.twexapi.io
    description: Development server
security: []
paths:
  /twitter/profile:
    post:
      tags:
        - Twitter Profile Actions Endpoints
      summary: Modify the profile bio, image and banner of the user
      description: Modify the profile bio, image and banner of the user
      operationId: modify_profile_bio_endpoint_twitter_profile_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ModifyProfileBioRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModifyProfileBioResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ModifyProfileBioRequest:
      properties:
        cookie:
          type: string
          title: Cookie
          description: >-
            Twitter authentication cookie or Twitter auth_token,
            [how-to-get-twitter-cookie](https://youtube-promotion.pages.dev/how-to-get-twitter-cookie)
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          description: Name of the user
        website:
          anyOf:
            - type: string
            - type: 'null'
          title: Website
          description: Website of the user
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Description of the user
        location:
          anyOf:
            - type: string
            - type: 'null'
          title: Location
          description: Location of the user
          example: New York, USA
        profile_image:
          anyOf:
            - type: string
            - type: 'null'
          title: Profile Image
          description: Profile image of the user
          example: https://example.com/image.jpg
        profile_banner:
          anyOf:
            - type: string
            - type: 'null'
          title: Profile Banner
          description: Profile banner of the user
          example: https://example.com/banner.jpg
        proxy:
          anyOf:
            - type: string
            - type: 'null'
          title: Proxy
          description: >-
            The proxy to use.Please use high-quality residential proxies and
            avoid free proxies.Required.Example:
            http://username:password@ip:port . You can get proxy from:
            https://app.proxy-cheap.com/r/qiMxub
          example: http://username:password@ip:port
      type: object
      required:
        - cookie
      title: ModifyProfileBioRequest
    ModifyProfileBioResponse:
      properties:
        code:
          type: integer
          title: Code
          description: HTTP status code (200 for success)
          example: 200
        msg:
          type: string
          title: Msg
          description: Human-readable response message
          example: success
        data:
          type: boolean
          title: Data
          description: >-
            True if the profile bio, image and banner are modified successfully,
            False otherwise
          example: true
      type: object
      required:
        - code
        - msg
        - data
      title: ModifyProfileBioResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````