> ## 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.

# Contact Email Engagement

> Per-send tracked feedback for this contact, newest queued time and ID first.

Includes persisted machine/prefetch events; no bot filtering. Tracking off,
BYO SMTP or missing webhook feedback means unknown engagement: zero events
never proves unread. Link-bearing auth emails are omitted. Erased residual
identities have subject and template metadata redacted. No addresses, body,
context, raw webhook payload, provider identifiers or URLs are returned.



## OpenAPI

````yaml /openapi/mio-openapi.json get /api/v1/teams/{team_id}/contacts/{team_contact_id}/email-engagement
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/teams/{team_id}/contacts/{team_contact_id}/email-engagement:
    get:
      tags:
        - contacts-admin
      summary: Contact Email Engagement
      description: >-
        Per-send tracked feedback for this contact, newest queued time and ID
        first.


        Includes persisted machine/prefetch events; no bot filtering. Tracking
        off,

        BYO SMTP or missing webhook feedback means unknown engagement: zero
        events

        never proves unread. Link-bearing auth emails are omitted. Erased
        residual

        identities have subject and template metadata redacted. No addresses,
        body,

        context, raw webhook payload, provider identifiers or URLs are returned.
      operationId: >-
        contacts_admin.get_contacts_admin_get_teams_by_team_id_contacts_by_team_contact_id_email_engagement
      parameters:
        - in: path
          name: team_id
          required: true
          schema:
            title: Team Id
            type: string
        - in: path
          name: team_contact_id
          required: true
          schema:
            title: Team Contact Id
            type: string
        - description: Cursor — ID of the last item on the previous page.
          in: query
          name: page[after]
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Cursor — ID of the last item on the previous page.
            title: Page[After]
        - in: query
          name: page[size]
          required: false
          schema:
            default: 20
            maximum: 100
            minimum: 1
            title: Page[Size]
            type: integer
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/ContactEmailEngagementListResponse'
          description: Successful Response
        '401':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Authentication required
        '403':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Owner JWT or same-team full-access API key required
        '404':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: Contact not found
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: invalid_cursor at page[after]
        '429':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/JsonApiErrorResponse'
          description: 'Read limit: 300/hour; Retry-After header'
          headers:
            Retry-After:
              schema:
                type: string
      security:
        - HTTPBearer: []
components:
  schemas:
    ContactEmailEngagementListResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/ContactEmailEngagementResource'
          title: Data
          type: array
        links:
          additionalProperties:
            anyOf:
              - type: string
              - type: 'null'
          title: Links
          type: object
        meta:
          additionalProperties: true
          title: Meta
          type: object
      required:
        - data
        - meta
        - links
      title: ContactEmailEngagementListResponse
      type: object
    JsonApiErrorResponse:
      description: Error JSON:API response.
      properties:
        errors:
          items:
            $ref: '#/components/schemas/JsonApiError'
          title: Errors
          type: array
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
      required:
        - errors
      title: JsonApiErrorResponse
      type: object
    ContactEmailEngagementResource:
      properties:
        attributes:
          $ref: '#/components/schemas/ContactEmailEngagementAttributes'
        id:
          title: Id
          type: string
        type:
          const: contact_email_engagements
          default: contact_email_engagements
          title: Type
          type: string
      required:
        - id
        - attributes
      title: ContactEmailEngagementResource
      type: object
    JsonApiError:
      properties:
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
        detail:
          anyOf:
            - type: string
            - type: 'null'
          title: Detail
        id:
          anyOf:
            - type: string
            - type: 'null'
          title: Id
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
        source:
          anyOf:
            - additionalProperties:
                type: string
              type: object
            - type: 'null'
          title: Source
        status:
          title: Status
          type: string
        title:
          title: Title
          type: string
      required:
        - status
        - title
      title: JsonApiError
      type: object
    ContactEmailEngagementAttributes:
      description: >-
        Tracked feedback, including machines/prefetch; zero does not prove
        unread.
      properties:
        click_count:
          minimum: 0
          title: Click Count
          type: integer
        clicked:
          title: Clicked
          type: boolean
        first_clicked_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: First Clicked At
        first_opened_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: First Opened At
        hub_id:
          title: Hub Id
          type: string
        last_clicked_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Last Clicked At
        last_opened_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Last Opened At
        open_count:
          minimum: 0
          title: Open Count
          type: integer
        opened:
          title: Opened
          type: boolean
        queued_at:
          format: date-time
          title: Queued At
          type: string
        send_status:
          title: Send Status
          type: string
        sent_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Sent At
        subject:
          anyOf:
            - type: string
            - type: 'null'
          title: Subject
        template_ref:
          anyOf:
            - type: string
            - type: 'null'
          title: Template Ref
      required:
        - hub_id
        - subject
        - template_ref
        - send_status
        - queued_at
        - sent_at
        - opened
        - first_opened_at
        - clicked
        - first_clicked_at
        - open_count
        - click_count
        - last_opened_at
        - last_clicked_at
      title: ContactEmailEngagementAttributes
      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

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.