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

# Update contact list subscription status

> Updates the subscription status of a contact in a specific list. Can set status to active, pending, unsubscribed, bounced, or complained.

**Note:** This endpoint only modifies **existing** list memberships. It does not add a contact to a list. To add a contact to a list, use the `/subscribe` endpoint (for public lists) or the `/api/contacts.import` endpoint (for any list, requires authentication).




## OpenAPI

````yaml /openapi.json post /api/contactLists.updateStatus
openapi: 3.0.3
info:
  title: Notifuse API
  description: API for Notifuse - a transactional email and newsletter management platform
  version: 1.0.0
  contact:
    name: Notifuse Support
    url: https://www.notifuse.com/support
    email: hello@notifuse.com
servers:
  - url: https://{notifuseDomain}
    description: Customer-specific Notifuse API server
    variables:
      notifuseDomain:
        description: Your unique Notifuse domain
        default: demo.notifuse.com
security: []
paths:
  /api/contactLists.updateStatus:
    post:
      summary: Update contact list subscription status
      description: >
        Updates the subscription status of a contact in a specific list. Can set
        status to active, pending, unsubscribed, bounced, or complained.


        **Note:** This endpoint only modifies **existing** list memberships. It
        does not add a contact to a list. To add a contact to a list, use the
        `/subscribe` endpoint (for public lists) or the `/api/contacts.import`
        endpoint (for any list, requires authentication).
      operationId: updateContactListStatus
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateContactListStatusRequest'
      responses:
        '200':
          description: Status updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateContactListStatusResponse'
        '400':
          description: Bad request - validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                missingWorkspaceId:
                  value:
                    error: workspace_id is required
                missingEmail:
                  value:
                    error: email is required
                missingListId:
                  value:
                    error: list_id is required
                invalidStatus:
                  value:
                    error: invalid status value
        '401':
          description: Unauthorized - invalid or missing authentication token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Contact list relationship not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: contact list not found
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    UpdateContactListStatusRequest:
      type: object
      required:
        - workspace_id
        - email
        - list_id
        - status
      properties:
        workspace_id:
          type: string
          description: The ID of the workspace
          example: ws_1234567890
        email:
          type: string
          format: email
          description: Email address of the contact
          example: user@example.com
        list_id:
          type: string
          description: ID of the list
          example: newsletter
        status:
          type: string
          enum:
            - active
            - pending
            - unsubscribed
            - bounced
            - complained
          description: New subscription status
          example: active
    UpdateContactListStatusResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Whether the operation was successful
          example: true
        message:
          type: string
          description: Status message
          example: status updated successfully
        found:
          type: boolean
          description: Whether the contact was found in the list
          example: true
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message
      required:
        - error
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API token for authentication

````