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

# Update Status

> Update the user profile status/about in the WhatsApp session

## Description

This endpoint allows you to update the status (about/bio) of the user profile authenticated in the WhatsApp session. The status is the message that appears below the name in the profile.

**Note:** This status is different from Stories (temporary status). Here you update the permanent bio text that stays in the profile.

## URL Parameters

<ParamField path="session" type="string" required>
  WhatsApp unique authenticated session ID
</ParamField>

## Request Body

<ParamField body="status" type="string" required>
  New status/about text for the profile. This is the message that will appear in the "About" field of your profile on WhatsApp.
</ParamField>

<RequestExample>
  ```json Request Example theme={null}
  {
      "status": "Available to chat"
  }
  ```
</RequestExample>

## Response

<ResponseField name="success" type="boolean">
  Indicates if the operation was successful
</ResponseField>

<ResponseExample>
  ```json Success Response theme={null}
  {
      "success": true
  }
  ```
</ResponseExample>

## Status Codes

* `200` - Status updated successfully
* `400` - Invalid parameters or missing status
* `401` - Unauthorized
* `500` - Internal server error

## Usage Example

<CodeGroup>
  ```bash cURL theme={null}
  curl -X PUT https://api.wappfy.com.br/api/my-session/profile/status \
    -H "Content-Type: application/json" \
    -d '{"status": "Available to chat"}'
  ```

  ```javascript JavaScript theme={null}
  const session = 'my-session';
  const response = await fetch(`https://api.wappfy.com.br/api/${session}/profile/status`, {
    method: 'PUT',
    headers: {
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      status: 'Available to chat'
    })
  });
  const data = await response.json();
  console.log(data);
  ```

  ```python Python theme={null}
  import requests

  session = 'my-session'
  response = requests.put(
      f'https://api.wappfy.com.br/api/{session}/profile/status',
      json={'status': 'Available to chat'}
  )
  data = response.json()
  print(data)
  ```
</CodeGroup>

## Observations

* The status is the permanent profile bio ("About" or "Bio" field)
* Not to be confused with Stories (temporary 24-hour status)
* The status text can contain emojis
* Recommended maximum length: 139 characters


## OpenAPI

````yaml viewer-en.json put /api/{session}/profile/status
openapi: 3.1.0
info:
  title: Wappfy - WhatsApp HTTP API
  version: '2.0'
  contact: {}
servers:
  - url: https://{host}
    description: Customizable Server
    variables:
      host:
        default: api.wappfy.com.br
        description: Server URL (e.g., api.wappfy.com.br or your-server.com)
security:
  - api_key: []
tags:
  - name: 🖥️ Sessions
    description: Control WhatsApp sessions (accounts)
  - name: 🔑 Auth
    description: Authentication
  - name: 🆔 Profile
    description: Your profile information
  - name: 🖼️ Screenshot
    description: Get WhatsApp screenshot and display QR code
  - name: 📤 Chatting
    description: Conversation methods
  - name: 📢 Channels
    description: Channels (newsletters) methods
  - name: 🟢 Status
    description: Status (aka stories) methods
  - name: 💬 Chats
    description: Conversations methods
  - name: 👤 Contacts
    description: |-
      Contacts methods.<br>
                      Use phone number (without +) or phone number and `@c.us` at the end as `contactId`.<br>
                      E.g: `12312312310` OR `12312312310@c.us`<br>
  - name: 👥 Groups
    description: Groups methods.<br>
  - name: ✅ Presence
    description: Presence information
  - name: 📅 Events
    description: Event Message
  - name: 🏷️ Labels
    description: Labels - available only for WhatsApp Business accounts
  - name: 🔍 Observability
    description: Other methods
  - name: 🗄️ Storage
    description: Storage methods
externalDocs:
  description: Wappfy - WhatsApp API
  url: https://docs.wappfy.com.br/
paths:
  /api/{session}/profile/status:
    put:
      tags:
        - 🆔 Profile
      summary: Set profile status (About)
      description: The {session} parameter must be the session's instanceName.
      operationId: ProfileController_setProfileStatus
      parameters:
        - name: session
          required: true
          in: path
          description: The session name (instanceName) of the profile you want to update
          example: my-session
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProfileStatusRequest'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Result'
      security:
        - api_key: []
components:
  schemas:
    ProfileStatusRequest:
      type: object
      properties:
        status:
          type: string
          description: Profile status/about text
          example: 🎉 Hello! I'm using WhatsApp 🎉
      required:
        - status
    Result:
      type: object
      properties:
        success:
          type: boolean
          default: true
      required:
        - success
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: apikey
      description: Your Wappfy API key (get it at dash.wappfy.com.br)

````