---
title: "Create an a publish subscribe record"
method: POST
path: "/v1/resourceowner/publishsubscribe"
tags: ["ResourceOwnerPublishSubscribe"]
---

# Create an a publish subscribe record

`POST /v1/resourceowner/publishsubscribe`

## Request body

- PublishSubscribeCreateModel
  - `PublishToUrl` string
  - `PublishType` 0
  - `VehicleId` integer
  - `AuthenticationType` 0 | 1 | 2 | 3
  - `AuthenticationData` string

## Response `200`

A header link containing the URL to the newly created resource

## Other responses

- `500` — Internal server error

---

[API](https://skmtc.net/automile/apis/automile-api.md) · [All operations](https://skmtc.net/automile/apis/automile-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/automile/automile-api/revisions/bd42075f6b02/schema)
