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

# Call

> Invokes a custom call endpoint (specific to ICP).



## OpenAPI

````yaml nodeapi/openapi/icp-openapiv3-vc2.json POST /call
openapi: 3.0.3
info:
  title: ICP Rosetta API
  description: OpenAPI v3 spec for ICP Rosetta endpoints on the Internet Computer.
  version: 1.0.0
servers:
  - url: https://icp-mainnet.icp.validationcloud.io/v1/<YOUR_API_KEY_HERE>
security: []
paths:
  /call:
    post:
      tags:
        - Call
      summary: Make a custom call
      description: Invokes a custom call endpoint (specific to ICP).
      requestBody:
        description: Rosetta CallRequest
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CallRequest'
      responses:
        '200':
          description: Successful call response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallResponse'
        '400':
          description: Invalid request
        '500':
          description: Internal server error
components:
  schemas:
    CallRequest:
      type: object
      properties:
        network_identifier:
          $ref: '#/components/schemas/NetworkIdentifier'
        method:
          type: string
        parameters:
          type: object
          additionalProperties: true
    CallResponse:
      type: object
      properties:
        result:
          type: object
          additionalProperties: true
        idempotent:
          type: boolean
        error:
          type: object
          additionalProperties: true
    NetworkIdentifier:
      type: object
      required:
        - blockchain
        - network
      properties:
        blockchain:
          type: string
          example: Internet Computer
        network:
          type: string
          example: '00000000000000020101'
        sub_network_identifier:
          $ref: '#/components/schemas/SubNetworkIdentifier'
    SubNetworkIdentifier:
      type: object
      required:
        - network
      properties:
        network:
          type: string
        metadata:
          type: object
          additionalProperties: true

````

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