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

# Get Traffic Control

Returns a single traffic control rule by its ID. The control must apply to the authenticated affiliate.


## OpenAPI

````yaml openapi/affiliate-traffic.yaml get /affiliates/trafficcontrols/{controlId}
openapi: 3.0.3
info:
  title: Everflow Affiliate API - Traffic
  description: >
    Traffic blocking and traffic control endpoints for the Everflow Affiliate
    API. Affiliates can view blocked offer sources, traffic control rules, and
    blocked variables that affect their traffic.
  version: 1.0.0
servers:
  - description: Production Server
    url: https://api.eflow.team/v1
security: []
tags:
  - name: Affiliate Traffic
    description: Endpoints for viewing traffic blocking rules and controls.
paths:
  /affiliates/trafficcontrols/{controlId}:
    get:
      tags:
        - Affiliate Traffic
      summary: Find Traffic Control By ID
      parameters:
        - name: controlId
          in: path
          required: true
          description: The numeric ID of the traffic control rule.
          schema:
            type: integer
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrafficControl'
        '404':
          description: >-
            Traffic control not found or does not apply to the authenticated
            affiliate.
      security:
        - API Key: []
components:
  schemas:
    TrafficControl:
      type: object
      properties:
        network_traffic_control_id:
          type: integer
          description: Unique identifier for the traffic control rule.
        status:
          type: string
          description: Status of the control rule (active, inactive).
        is_apply_all_offers:
          type: boolean
          description: Whether this control applies to all offers or specific ones.
        control_type:
          type: string
          description: The type of traffic control action (block, redirect, etc.).
        date_valid_from:
          type: string
          description: >-
            Start date when the control rule becomes effective. Empty string if
            not set.
        date_valid_to:
          type: string
          description: End date when the control rule expires. Empty string if not set.
        comparison_method:
          type: string
          description: >-
            Method used to compare variables (exact_match, contains,
            begins_with, etc.).
        variables:
          type: array
          description: >-
            Variable names that define the control matching criteria (e.g. "ip",
            "sub1").
          items:
            type: string
        relationship:
          type: object
          description: Related data for this control rule.
          properties:
            values:
              type: array
              description: The values to match against for the specified variables.
              items:
                type: string
  securitySchemes:
    API Key:
      description: >
        The affiliate's API key generated from the Affiliate Portal. Uses the
        X-Eflow-Api-Key header.
      in: header
      name: X-Eflow-Api-Key
      type: apiKey

````