---
title: "POST /pubsub/sdk-version-created"
method: POST
path: "/pubsub/sdk-version-created"
tags: ["sdks", "pubsub"]
---

# POST /pubsub/sdk-version-created

`POST /pubsub/sdk-version-created`

PubSub SDK version created

## Request body

- object
  - `sdk` SdkBuildSdk, required
    - `uid` string, required
    - `namespace` string, required
    - `version` string, required
    - `slug` string, required
  - `api` SdkBuildApi, required
    - `uid` string, required
    - `namespace` string, required
    - `version` string, required
    - `slug` string, required
    - `upgraded` boolean, required
    - `documentHash` string, nullable
  - `config` string, required
  - `targets` object[], required
    - `language` 'typescript' | 'python' | 'cli' | 'csharp' | 'java' | 'ruby' | 'php' | 'go' | 'rust' | 'kotlin' | 'swift' | 'cpp' | 'dart', required
    - `slug` string, required
    - `repository` string, nullable
  - `autoBump` boolean
  - `teamUid` string, required

## Response `200`

Default Response

- unknown

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

## Changes

- **2026-07-26** `8586b0646aa3` — 1 info
  - added the new optional request property `api/documentHash`

[Change history](https://skmtc.dev/scalar/apis/core/changes/pubsub/sdk-version-created/post.md)

---

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