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

# Get a transaction

> Returns `PENDING`, `DONE` (with per-contact `results`), or `NOT_EXIST` for an unknown id (still HTTP `200`). See [Asynchronous writes](/api-reference/async-writes).



## OpenAPI

````yaml /api-reference/openapi.yaml get /v1/contacts/transactions/{transactionId}
openapi: 3.1.0
info:
  title: Inflection Developer API
  version: '1.0'
  description: >-
    A REST API for reading and writing the people in your Inflection workspace:
    their profiles, product and marketing activity, static lists, and emails.
servers:
  - url: https://api.inflection.io
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/contacts/transactions/{transactionId}:
    get:
      tags:
        - Contacts
      summary: Get a transaction
      description: >-
        Returns `PENDING`, `DONE` (with per-contact `results`), or `NOT_EXIST`
        for an unknown id (still HTTP `200`). See [Asynchronous
        writes](/api-reference/async-writes).
      operationId: getContactTransaction
      parameters:
        - name: transactionId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Transaction status.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Envelope'
                  - type: object
                    properties:
                      data:
                        $ref: '#/components/schemas/Transaction'
components:
  schemas:
    Envelope:
      type: object
      properties:
        data:
          description: 'Payload: object or array, shape depends on the endpoint.'
        pagination:
          type: object
          description: Present only on paged list endpoints.
          properties:
            pageNumber:
              type: integer
              example: 1
            pageSize:
              type: integer
              example: 20
            totalElements:
              type: integer
              example: 151
            totalPages:
              type: integer
              example: 8
        errors:
          type: array
          items:
            type: object
            properties:
              errorCode:
                type: string
              message:
                type: string
              detail:
                type: string
        meta:
          type: object
          properties:
            status:
              type: string
              enum:
                - SUCCESS
                - FAILURE
            timestamp:
              type: string
              format: date-time
    Transaction:
      type: object
      properties:
        transactionId:
          type: string
          example: 34-7e8009a7-2c91-409e-b5ac-0f1144a0cc7d
        status:
          type: string
          enum:
            - PENDING
            - DONE
            - NOT_EXIST
        data:
          type: object
          description: Present when status is DONE.
          properties:
            results:
              type: array
              items:
                type: object
                properties:
                  email:
                    type: string
                  status:
                    type: string
                    enum:
                      - CREATED
                      - UPDATED
                      - NO_CHANGE
                      - FAILED
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Personal Access Token or OAuth 2.1 access token, sent as a bearer
        credential. READ permission for GET, WRITE for POST/PATCH/DELETE.

````