---
title: "POST /api/capsule/party/created"
method: POST
path: "/api/capsule/party/created"
tags: ["Capsule"]
---

# POST /api/capsule/party/created

`POST /api/capsule/party/created`

## Request body

- PartyRestHookRequest
  - `event` string
  - `payload` PartyDto[]
    - `id` integer
    - `name` string, nullable
    - `firstName` string, nullable
    - `lastName` string, nullable
    - `type` string
    - `jobTitle` string, nullable
    - `organisation` PartyDto — recursive
    - `tags` TagDto[]
      - `name` string
    - `fields` FieldDto[]
      - `definition` DefinitionDto
        - `id` integer
        - `name` string
        - `type` string
      - `value` unknown
    - `phoneNumbers` PhoneNumberDto[]
      - `id` integer
      - `number` string
    - `addresses` PhysicalAddressDto[]
      - `id` integer
      - `street` string, nullable
      - `city` string, nullable
      - `zip` string, nullable
      - `state` string, nullable
      - `country` string, nullable
    - `emailAddresses` EmailAddressDto[]
      - `id` integer
      - `address` string
    - `websites` WebsiteDto[]
      - `id` integer
      - `address` string
      - `service` string

## Response `200`

Success

- SucceededOrNotResponse
  - `succeeded` boolean
  - `errors` Error[]
    - `errorType` string
    - `errorMessage` string

---

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