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

# Stream verification status via SSE

> Opens a Server-Sent Events stream. Sends an initial status event, then complete/expired, and closes.



## OpenAPI

````yaml /api/openapi.json get /api/v1/verify/session/{sid}/stream
openapi: 3.1.0
info:
  title: Dock API
  description: >-
    API for managing links between Roblox and Discord accounts, including
    mapping, updating, removing links, and resetting the custom database.
  version: 1.0.0
servers:
  - url: https://api.docksys.xyz
security:
  - bearerAuth: []
paths:
  /api/v1/verify/session/{sid}/stream:
    get:
      summary: Stream verification status via SSE
      description: >-
        Opens a Server-Sent Events stream. Sends an initial status event, then
        complete/expired, and closes.
      parameters:
        - name: sid
          in: path
          required: true
          schema:
            type: string
          description: Verification session identifier.
      responses:
        '200':
          description: SSE stream.
          content:
            text/event-stream:
              schema:
                type: string
                example: >-
                  event: status\ndata:
                  {"sid":"vsn_...","pid":"pid-yourapp","status":"pending","result":null}\n\nevent:
                  complete\ndata:
                  {"sid":"vsn_...","pid":"pid-yourapp","result":{"discordId":"123","robloxId":"456","linkChanged":false,"previousRobloxId":null}}\n\n
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Session not found or not owned by this API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Verify quota exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateLimitErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        status:
          type: integer
          enum:
            - 400
            - 401
            - 403
            - 404
            - 500
          description: The HTTP status code of the error response.
        error:
          type: string
          description: A message describing the error.
        timestamp:
          type: string
          format: date-time
          description: The timestamp of the response in ISO 8601 format.
        version:
          type: string
          example: 1.0.0
          description: The API version.
        requestsRemaining:
          type: integer
          nullable: true
          description: Number of requests remaining in the daily quota.
        ipRequestsRemaining:
          type: integer
          nullable: true
          description: >-
            Remaining IP-linked quota shared across API keys detected on the
            same IP.
    RateLimitErrorResponse:
      type: object
      properties:
        status:
          type: integer
          enum:
            - 429
          description: The HTTP status code of the rate limit error response.
        error:
          type: string
          description: A message describing the rate limit error.
        timestamp:
          type: string
          format: date-time
          description: The timestamp of the response in ISO 8601 format.
        version:
          type: string
          example: 1.0.0
          description: The API version.
        retryAfter:
          type: integer
          description: Seconds until the rate limit resets or the next request can be made.
        requestsRemaining:
          type: integer
          nullable: true
          description: Number of requests remaining in the daily quota.
        ipRequestsRemaining:
          type: integer
          nullable: true
          description: >-
            Remaining IP-linked quota shared across API keys detected on the
            same IP.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````