---
title: "Sync profile changes to HubSpot"
method: POST
path: "/sync/profile"
tags: ["Webhooks"]
---

# Sync profile changes to HubSpot

`POST /sync/profile`

## Request

- Base URL: `https://api.presscart.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.presscart.com/sync/profile`
- Auth: HTTP bearer

Handles profile table webhook events and updates contact/company profile fields.

## Request body

- object
  - `type` 'INSERT' | 'UPDATE' | 'DELETE', required
  - `table` string, required
  - `schema` string, required
  - `record` object, nullable
  - `old_record` object, nullable

## Response `200`

Webhook processed successfully or ignored for non-profile table changes.

- union
  - object
    - `success` boolean, required
  - object
    - `message` string, required

## Other responses

- `401`: Unauthorized webhook request.
- `500`: Internal server error.

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/2154581d845e?raw)
