---
updatedAt: 2025-09-04T20:37:06.000Z
agentTools:
  projectIndex: https://directiq.readme.io/llms.txt
---

# Get a contact activity

Returns a contact activity with the given id.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Contacts API",
    "description": "Contacts API",
    "termsOfService": "https://directiq.com/terms",
    "contact": {
      "name": "Baris Ergin",
      "url": "https://directiq.com/contact",
      "email": ""
    },
    "version": "v1-current"
  },
  "servers": [
    {
      "url": "https://rest.directiq.com/contacts",
      "description": "Production"
    }
  ],
  "paths": {
    "/contactactivity/get/{id}": {
      "get": {
        "tags": [
          "ContactActivity"
        ],
        "summary": "Get a contact activity",
        "description": "Returns a contact activity with the given id.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "activityAction",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api-version",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContactActivityResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ContactActivityResponse": {
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "nullable": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "masterDataId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "masterDataContent": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "description": "Basic Authentication",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    }
  ]
}
```