---
title: "POST /pocket.service.Msg/AddService"
method: POST
path: "/pocket.service.Msg/AddService"
tags: ["Msg"]
---

# POST /pocket.service.Msg/AddService

`POST /pocket.service.Msg/AddService`

## Request body

- PocketServiceMsgAddService — MsgAddService defines a message for adding a new message to the network. Services can be added by any actor in the network making them truly permissionless.
  - `owner_address` string — The Bech32 address of the service owner.
  - `service` PocketSharedService
    - `compute_units_per_relay` string, uint64 — Compute units required per relay for this service
    - `id` string — Unique identifier for the service
    - `name` string — TODO_BETA(@bryanchriswhite): Either remove this or rename it to alias. (Optional) Semantic human readable name for the service
    - `owner_address` string — The owner address that created the service. It is the address that receives rewards based on the Service's onchain usage It is the only address that can update the service configuration (e.g. compute_units_per_relay), or make other updates to it. The Bech32 address of the service owner / creator

## Response `200`

A successful response.

- PocketServiceMsgAddServiceResponse
  - `service` PocketSharedService
    - `compute_units_per_relay` string, uint64 — Compute units required per relay for this service
    - `id` string — Unique identifier for the service
    - `name` string — TODO_BETA(@bryanchriswhite): Either remove this or rename it to alias. (Optional) Semantic human readable name for the service
    - `owner_address` string — The owner address that created the service. It is the address that receives rewards based on the Service's onchain usage It is the only address that can update the service configuration (e.g. compute_units_per_relay), or make other updates to it. The Bech32 address of the service owner / creator

## Other responses

- `default` — An unexpected error response.

## Changes

- **2025-03-27** `4f349536c8f3` — 1 info
  - endpoint added
- **2023-11-01** `3f51f9b9a127` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/pokt-network/apis/http-api-console/changes/pocket.service.Msg/AddService/post.md)

---

[API](https://skmtc.dev/pokt-network/apis/http-api-console.md) · [All operations](https://skmtc.dev/pokt-network/apis/http-api-console/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pokt-network/http-api-console/revisions/4f349536c8f3/schema)
