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

# Create a link on an investigation

> Records a link as evidence: an absolute `http`/`https` URL, or a path inside this application starting with a single `/`. Any other scheme, and protocol-relative `//` links, are refused. Recorded on the timeline.



## OpenAPI

````yaml /openapi/transaction-monitoring.json post /api/v1/investigations/{investigation_id}/links/
openapi: 3.0.3
info:
  title: iDenfy Transaction Monitoring API
  version: v1
  description: >-
    Submit transactions and events for AML monitoring, and read back the alerts,
    cases and reports they produce.
servers:
  - url: https://ivs-tx-monitoring.idenfy.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Ingest
    description: Submit transactions and events for monitoring.
  - name: Transactions
    description: Read back submitted transactions and their rule hits.
  - name: Rules
    description: Detection rules evaluated against every submission.
  - name: Alerts
    description: Alerts opened when a rule matches.
  - name: Investigations
    description: Cases opened from one or more alerts.
  - name: SARs
    description: Suspicious activity reports and their attachments.
  - name: Sanctions screening
    description: Sanctions and PEP screening of transaction parties.
  - name: AML monitoring
    description: Ongoing AML monitoring of screened parties.
  - name: Party suspensions
    description: ''
  - name: Webhooks
    description: Outbound event delivery to your endpoints.
  - name: Custom fields
    description: Your own transaction attributes, declared so rules can match them.
  - name: Reference lists
    description: Named value lists rules can reference.
  - name: Notification rules
    description: Slack and email notifications for alerts.
  - name: Reports
    description: Generated compliance reports.
paths:
  /api/v1/investigations/{investigation_id}/links/:
    post:
      tags:
        - Investigations
      summary: Create a link on an investigation
      description: >-
        Records a link as evidence: an absolute `http`/`https` URL, or a path
        inside this application starting with a single `/`. Any other scheme,
        and protocol-relative `//` links, are refused. Recorded on the timeline.
      operationId: investigations_links_create
      parameters:
        - in: path
          name: investigation_id
          schema:
            type: string
          required: true
          description: Identifies the investigation.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InvestigationLinkCreate'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/InvestigationLinkCreate'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/InvestigationLinkCreate'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvestigationLinkResponse'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    InvestigationLinkCreate:
      type: object
      properties:
        url:
          type: string
          description: Absolute http(s) URL, or an in-app path starting with a single slash
          maxLength: 2000
        title:
          type: string
          default: ''
          description: Optional label shown instead of the URL
          maxLength: 200
      required:
        - url
    InvestigationLinkResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Primary key
        url:
          type: string
          readOnly: true
          description: Absolute http(s) URL, or an in-app path starting with a single slash
        title:
          type: string
          readOnly: true
          description: Optional label shown instead of the URL
        createdBy:
          type: integer
          description: Unique identifier of the user
          readOnly: true
        createdByName:
          type: string
          nullable: true
          readOnly: true
          description: Name, or email, of whoever added the link
        createdAt:
          type: string
          format: date-time
          readOnly: true
      required:
        - createdAt
        - createdBy
        - createdByName
        - id
        - title
        - url
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

## Related topics

- [Create an investigation](https://documentation.idenfy.com/api-reference/transaction-monitoring/investigations/create-an-investigation.md)
- [Delete a link on an investigation](https://documentation.idenfy.com/api-reference/transaction-monitoring/investigations/delete-a-link-on-an-investigation.md)
- [List links on an investigation](https://documentation.idenfy.com/api-reference/transaction-monitoring/investigations/list-links-on-an-investigation.md)
- [Create an attachment on an investigation](https://documentation.idenfy.com/api-reference/transaction-monitoring/investigations/create-an-attachment-on-an-investigation.md)
- [Magic Link](https://documentation.idenfy.com/integrations/magic-link.md)


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