---
title: "Add Contract ABI"
method: POST
path: "/api/v1/deployed-contracts/add-abi"
tags: ["deployed-contracts"]
---

# Add Contract ABI

`POST /api/v1/deployed-contracts/add-abi`

Add or update ABI for a deployed contract.

## Headers

- `x-sdk-version` string, required

## Request body

- AddContractAbiRequestBodyDTO
  - `contractAddress` string, required
  - `networkId` string, required
  - `name` string, required
  - `abi` array[], required
    - unknown[]
      - unknown

## Response `200`

Contract ABI added

- AddContractAbiResponseDto
  - `result` AddContractAbiResultDto
    - `contractAddress` string
    - `network` string
    - `name` string
    - `abi` object
    - `status` string
    - `source` string
    - `message` string
    - `tenantId` string
    - `userId` string

## Other responses

- `400` — Bad request or validation failed. **Applicable error codes and client messages** The response body contains one of the following error codes and the corresponding client-facing message. | Code | Client message | |------|----------------| | ERR-010 | The request could not be processed. |
- `401` — Unauthorized – invalid or missing token. **Applicable error codes and client messages** The response body contains one of the following error codes and the corresponding client-facing message. | Code | Client message | |------|----------------| | ERR-008 | You need to sign in to continue. | | ERR-011 | Your session is invalid or expired. Please sign in again. |
- `403` — Forbidden – insufficient permissions. **Applicable error codes and client messages** The response body contains one of the following error codes and the corresponding client-facing message. | Code | Client message | |------|----------------| | ERR-009 | You don't have permission to do that. | | ERR-410 | Error occurred |
- `409` — Conflict – resource already exists or state conflict. **Applicable error codes and client messages** The response body contains one of the following error codes and the corresponding client-facing message. | Code | Client message | |------|----------------| | ERR-501 | Resource conflict |
- `500` — Internal server error. **Applicable error codes and client messages** The response body contains one of the following error codes and the corresponding client-facing message. | Code | Client message | |------|----------------| | ERR-019 | Something went wrong on our side. | | ERR-999 | An unexpected error occurred. Please try again. |

## Changes

- **2026-04-21** `bdac7e47d1c2` — 35 warning
  - added the new `ERR_147` enum value to the `allOf[#/components/schemas/ApiErrorResponseDto]/code` response property for the response status `400`
  - added the new `ERR_147` enum value to the `allOf[#/components/schemas/ApiErrorResponseDto]/code` response property for the response status `401`
  - added the new `ERR_147` enum value to the `allOf[#/components/schemas/ApiErrorResponseDto]/code` response property for the response status `403`
  - added the new `ERR_147` enum value to the `allOf[#/components/schemas/ApiErrorResponseDto]/code` response property for the response status `409`
  - …31 more
- **2026-03-13** `86f37d72f0a0` — 32 breaking, 15 warning, 15 info
  - added the new required request property `networkId`
  - the `header` request parameter `x-sdk-version` became required
  - the `abi/items/` request property type/format changed from `object`/`` to `array`/``
  - the response's body type/format changed from `object`/`` to ``/`` for status `400`
  - …58 more
- **2026-01-31** `13aade479509` — 3 breaking, 1 warning, 8 info
  - removed the required property `message` from the response with the `200` status
  - removed the required property `status` from the response with the `200` status
  - removed the required property `success` from the response with the `200` status
  - removed the optional property `data` from the response with the `200` status
  - …8 more

[Change history](https://skmtc.dev/oumla/apis/oumla-core-server/changes/api/v1/deployed-contracts/add-abi/post.md)

---

[API](https://skmtc.dev/oumla/apis/oumla-core-server.md) · [All operations](https://skmtc.dev/oumla/apis/oumla-core-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oumla/oumla-core-server/revisions/2154835230b5/schema)
