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

# Add SP Orderly key

> 
**Limit: 10 requests per second per IP address**

`POST /v1/sv/sp_orderly_key`

Adds an Orderly access key to a SP account




## OpenAPI

````yaml orderly.openapi post /v1/sv/sp_orderly_key
openapi: 3.0.1
info:
  title: EVM
  description: ''
  version: 1.0.0
servers:
  - url: https://api.orderly.org
    description: Mainnet
  - url: https://testnet-api.orderly.org
    description: Testnet
security: []
tags:
  - name: public
  - name: private
paths:
  /v1/sv/sp_orderly_key:
    post:
      tags:
        - private
      summary: Add SP Orderly key
      description: |

        **Limit: 10 requests per second per IP address**

        `POST /v1/sv/sp_orderly_key`

        Adds an Orderly access key to a SP account
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                message:
                  type: object
                  required:
                    - contract
                    - brokerId
                    - chainId
                    - orderlyKey
                    - scope
                    - timestamp
                    - expiration
                  properties:
                    contract:
                      type: string
                      description: ''
                    brokerId:
                      type: string
                      description: ''
                    chainId:
                      type: number
                      description: ''
                    orderlyKey:
                      type: string
                      description: ''
                    scope:
                      type: string
                      description: ''
                    timestamp:
                      type: number
                      description: ''
                    expiration:
                      type: number
                      description: ''
                    subAccountId:
                      type: string
                      description: >-
                        If subAccountId is not null, create the api key for the
                        input subAccountId
                signature:
                  type: string
                userAddress:
                  type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BasicResponse'
components:
  schemas:
    BasicResponse:
      required:
        - success
      type: object
      properties:
        success:
          description: Indicates whether the request was successful.
          type: boolean
          example: true
        timestamp:
          description: Server timestamp in milliseconds.
          type: integer
          example: 1702989203989

````