> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.jazzhq.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.jazzhq.ai/_mcp/server.

# Reinvite a partner

POST https://api.jazzhq.ai/api/v1/vendors/partners/{partnerId}/reinvite
Content-Type: application/json

Resends an invite email to an existing partner already connected to your vendor account.

Reference: https://docs.jazzhq.ai/api-reference/vendor-customer-ap-is/partner/reinvite-partner

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: jazzhq-vendor-apis
  version: 1.0.0
paths:
  /api/v1/vendors/partners/{partnerId}/reinvite:
    post:
      operationId: reinvitePartner
      summary: Reinvite a partner
      description: >-
        Resends an invite email to an existing partner already connected to your
        vendor account.
      tags:
        - partner
      parameters:
        - name: partnerId
          in: path
          description: ID of the partner to reinvite.
          required: true
          schema:
            type: integer
            format: int64
        - name: X-API-KEY
          in: header
          description: >-
            Your vendor API key. Required on every request under
            /api/v1/vendors/**.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Reinvite sent successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoidResponseEnvelope'
        '400':
          description: >
            The request was invalid: `emailAddress` was missing/malformed

            (`VALIDATION_FAILED`), or the `partnerId` path value wasn't a valid
            number

            (`VALIDATION_FAILED`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: >
            Authentication failed - the X-API-KEY header was missing or invalid,
            or the

            request path is outside the /api/v1/vendors/ namespace this key is
            authorized for.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthErrorResponse'
        '404':
          description: >
            No partner with this `partnerId` exists, or it isn't connected to
            your

            vendor account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: An unexpected error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReinvitePartnerRequest'
servers:
  - url: https://api.jazzhq.ai
    description: Production
components:
  schemas:
    ReinvitePartnerRequest:
      type: object
      properties:
        emailAddress:
          type: string
          format: email
      required:
        - emailAddress
      title: ReinvitePartnerRequest
    VoidResponseEnvelope:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          oneOf:
            - description: Any type
            - type: 'null'
        timestamp:
          type: string
          format: date-time
      title: VoidResponseEnvelope
    ValidationErrorDetail:
      type: object
      properties:
        field:
          type: string
          description: Name of the request field this error relates to.
        error:
          type: string
          description: Human-readable description of what's wrong.
      title: ValidationErrorDetail
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          description: >
            Machine-readable error code. One of: VALIDATION_FAILED,
            INVALID_REQUEST,

            DUPLICATE_ENTRY, RESOURCE_NOT_FOUND, INTERNAL_SERVER_ERROR.
        status:
          type: integer
        success:
          type: boolean
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ValidationErrorDetail'
        timestamp:
          type: string
          format: date-time
      description: >
        Standard error shape for validation, duplicate, not-found, and server
        errors

        (HTTP 400, 404, 500). Authentication failures (HTTP 403) use a
        different,

        simpler shape - see AuthErrorResponse.
      title: ErrorResponse
    AuthErrorResponse:
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
          description: 'One of: API_KEY_MISSING, INVALID_API_KEY, UNKNOWN_API_NAMESPACE.'
        data:
          oneOf:
            - description: Any type
            - type: 'null'
        timestamp:
          type: string
          format: date-time
      description: >
        Error shape returned specifically for authentication failures (HTTP
        403), before

        a request ever reaches business logic. Note this differs from
        ErrorResponse: there

        is no `status` field and no `errors` array.
      title: AuthErrorResponse
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Your vendor API key. Required on every request under /api/v1/vendors/**.

```

## Examples



**Request**

```json
{
  "emailAddress": "partner.contact@techsolutions.com"
}
```

**Response**

```json
{
  "success": true,
  "message": "PARTNER_REINVITE_SUCCESSFUL",
  "data": null,
  "timestamp": "2024-04-27T14:45:00Z"
}
```

**SDK Code**

```python
import requests

url = "https://api.jazzhq.ai/api/v1/vendors/partners/1/reinvite"

payload = { "emailAddress": "partner.contact@techsolutions.com" }
headers = {
    "X-API-KEY": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.jazzhq.ai/api/v1/vendors/partners/1/reinvite';
const options = {
  method: 'POST',
  headers: {'X-API-KEY': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{"emailAddress":"partner.contact@techsolutions.com"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.jazzhq.ai/api/v1/vendors/partners/1/reinvite"

	payload := strings.NewReader("{\n  \"emailAddress\": \"partner.contact@techsolutions.com\"\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("X-API-KEY", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.jazzhq.ai/api/v1/vendors/partners/1/reinvite")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"emailAddress\": \"partner.contact@techsolutions.com\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.jazzhq.ai/api/v1/vendors/partners/1/reinvite")
  .header("X-API-KEY", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"emailAddress\": \"partner.contact@techsolutions.com\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.jazzhq.ai/api/v1/vendors/partners/1/reinvite', [
  'body' => '{
  "emailAddress": "partner.contact@techsolutions.com"
}',
  'headers' => [
    'Content-Type' => 'application/json',
    'X-API-KEY' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.jazzhq.ai/api/v1/vendors/partners/1/reinvite");
var request = new RestRequest(Method.POST);
request.AddHeader("X-API-KEY", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"emailAddress\": \"partner.contact@techsolutions.com\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-API-KEY": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = ["emailAddress": "partner.contact@techsolutions.com"] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.jazzhq.ai/api/v1/vendors/partners/1/reinvite")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```