---
title: "Create Generate Link"
method: POST
path: "/manage_event/generate-link/create/{organization_id}/{event_id}/"
tags: ["manage_event"]
---

# Create Generate Link

`POST /manage_event/generate-link/create/{organization_id}/{event_id}/`

## Request

- Base URL: `https://api.myticketpartner.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myticketpartner.com/manage_event/generate-link/create/{organization_id}/{event_id}/`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login/access/token`

Create a new ticket share link with organization context

## Path parameters

- `organization_id` integer, required
- `event_id` integer, required

## Request body

- CreateTicketShareLinkSchema
  - `event_id` integer, required
  - `ticket_name` string, required
  - `ticket_type` string, required
  - `ticket_quantity` integer, required
  - `ticket_price` string, nullable
  - `currency_type` string, nullable
  - `link_type` string, nullable
  - `link_expiration` string, nullable
  - `expiry_datetime` string, nullable
  - `available_ticket_quantity` integer, nullable
  - `ticket_ids` object[], nullable
  - `add_ons` AddOnLinkSchema[], nullable
    - `add_on_uuid` string, required
    - `add_on_name` string, required
    - `add_ons_quantity` integer, nullable
    - `price` string, nullable
    - `currency_type` string, nullable
  - `full_name` string, nullable
  - `mobile_number` string, nullable
  - `country_code` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-10-19** `a72a7832172c`: 3 info
  - added the new optional request property `country_code`
  - added the new optional request property `full_name`
  - added the new optional request property `mobile_number`
- **2026-09-03** `43ba83e1f2fe`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/myticketpartner/apis/white-labelling-booking-api/changes/manage_event/generate-link/create/:organization_id/:event_id/post.md)

---

[API](https://skmtc.dev/myticketpartner/apis/white-labelling-booking-api.md) - [All operations](https://skmtc.dev/myticketpartner/apis/white-labelling-booking-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myticketpartner/apis/white-labelling-booking-api/revisions/338d5dfbdf4c?raw)
