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

# Send an OCPI command

> Send a single OCPI command through a registered connection you own and read back the raw HTTP status, OCPI status code and response body.



## OpenAPI

````yaml /openapi/public-api.json post /testing/command
openapi: 3.1.0
info:
  title: EV Roaming Tester public API
  version: 1.0.0
  description: >-
    Automate EV Roaming Tester with an evrt_ API key: register partner
    connections, run conformance suites and charging journeys, and read the
    graded reports.
servers:
  - url: https://evsim.synergyboat.com/api/v1
security:
  - apiKey: []
tags:
  - name: Connections
  - name: Testing
  - name: Reports
  - name: Usage
  - name: Journeys
paths:
  /testing/command:
    post:
      tags:
        - Testing
      summary: Send one bounded OCPI command through an owned registered connection
      description: >-
        Send a single OCPI command through a registered connection you own and
        read back the raw HTTP status, OCPI status code and response body.
      operationId: command_send
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManualCommand'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommandResult'
        '400':
          description: Malformed input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: The plan does not include this capability
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Not found, or owned by another account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Unsupported configuration for this target
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Quota or rate limit reached
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKey: []
components:
  schemas:
    ManualCommand:
      type: object
      required:
        - connectionId
        - command
      properties:
        connectionId:
          type: string
        command:
          type: string
        payload:
          type: object
    CommandResult:
      type: object
      required:
        - success
        - data
      properties:
        success:
          type: boolean
        data:
          type: object
          properties:
            httpStatus:
              type: integer
            ocpiStatusCode:
              type: integer
            response:
              type: object
    Error:
      type: object
      required:
        - success
        - message
      properties:
        success:
          type: boolean
          enum:
            - false
        message:
          type: string
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: An evrt_... API key created in the app under Settings.

````