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

# Add Member

> Add a member to a group DM conversation (admin-only).

Returns 201 with the audience resource on success.
Returns 403 when the caller is not an admin or not a member.
Returns 422 when the conversation is a 1:1 DM or the group cap is exceeded.
Returns 404 when the conversation does not exist.
Requires Content-Type: application/vnd.api+json.



## OpenAPI

````yaml /openapi/mio-openapi.json post /api/v1/conversations/{id}/audiences
openapi: 3.1.0
info:
  description: >-
    Production API reference for Membership.io. Use the authored guides for
    workflows and the generated endpoint pages for exact parameters and schemas.
  title: Membership.io API
  version: 0.1.0
servers:
  - description: Production
    url: https://api.member.dev
security:
  - bearerAuth: []
paths:
  /api/v1/conversations/{id}/audiences:
    post:
      tags:
        - community-conversations
      summary: Add Member
      description: >-
        Add a member to a group DM conversation (admin-only).


        Returns 201 with the audience resource on success.

        Returns 403 when the caller is not an admin or not a member.

        Returns 422 when the conversation is a 1:1 DM or the group cap is
        exceeded.

        Returns 404 when the conversation does not exist.

        Requires Content-Type: application/vnd.api+json.
      operationId: >-
        community_conversations.post_community_conversations_post_conversations_by_id_audiences
      parameters:
        - in: path
          name: id
          required: true
          schema:
            title: Id
            type: string
      requestBody:
        content:
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/AudienceCreateEnvelope'
        required: true
      responses:
        '201':
          content:
            application/vnd.api+json:
              schema:
                $ref: >-
                  #/components/schemas/JsonApiResponse_ConversationAudienceAttributes_
          description: Successful Response
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    AudienceCreateEnvelope:
      properties:
        data:
          $ref: '#/components/schemas/_AudienceCreateData'
      required:
        - data
      title: AudienceCreateEnvelope
      type: object
    JsonApiResponse_ConversationAudienceAttributes_:
      properties:
        data:
          $ref: '#/components/schemas/JsonApiResource_ConversationAudienceAttributes_'
        included:
          anyOf:
            - items: {}
              type: array
            - type: 'null'
          title: Included
        links:
          anyOf:
            - $ref: '#/components/schemas/JsonApiLinks'
            - type: 'null'
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
      required:
        - data
      title: JsonApiResponse[ConversationAudienceAttributes]
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    _AudienceCreateData:
      properties:
        attributes:
          $ref: '#/components/schemas/_AudienceCreateAttributes'
        type:
          title: Type
          type: string
      required:
        - type
        - attributes
      title: _AudienceCreateData
      type: object
    JsonApiResource_ConversationAudienceAttributes_:
      properties:
        attributes:
          $ref: '#/components/schemas/ConversationAudienceAttributes'
        id:
          title: Id
          type: string
        links:
          anyOf:
            - $ref: '#/components/schemas/JsonApiLinks'
            - type: 'null'
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
        relationships:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Relationships
        type:
          title: Type
          type: string
      required:
        - id
        - type
        - attributes
      title: JsonApiResource[ConversationAudienceAttributes]
      type: object
    JsonApiLinks:
      properties:
        self:
          anyOf:
            - type: string
            - type: 'null'
          title: Self
      title: JsonApiLinks
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    _AudienceCreateAttributes:
      properties:
        contact_id:
          title: Contact Id
          type: string
      required:
        - contact_id
      title: _AudienceCreateAttributes
      type: object
    ConversationAudienceAttributes:
      properties:
        contact_id:
          title: Contact Id
          type: string
        conversation_id:
          title: Conversation Id
          type: string
        display_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Display Name
        is_archived:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Archived
        is_muted:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Muted
        is_pinned:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Pinned
        last_seen_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Seen At
        photo_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Photo Url
        role:
          anyOf:
            - type: string
            - type: 'null'
          title: Role
      required:
        - conversation_id
        - contact_id
      title: ConversationAudienceAttributes
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT or mio_sk API key
      description: >-
        Send platform JWTs, contact JWTs, or team API keys as `Authorization:
        Bearer <token>`.
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````