> ## Documentation Index
> Fetch the complete documentation index at: https://docs.grdd.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage Partners

> Guide to managing partnerships through GNet Connect API

## Partner Management API

The **Partner Management API** allows you to manage partnerships by sending requests, approving, ignoring, or deleting them. This document provides details on how to send a partnership request and manage partner actions.

***

### **Endpoint**

`POST https://core.grdd.net/api/partner`

### **Request Payload**

To send a partnership request, use the following payload structure:

```json theme={null}
{
  "griddid": "requester griddid",
  "partnerid": "partner griddid",
  "action": "send"
}
```

***

### **Possible Actions**

The API supports the following actions:

* **approve**: Approve a partnership request.
* **ignore**: Ignore a partnership request.
* **delete**: Delete a partnership request.
* **check**: Check the status of a partnership request.
* **update**: Update partnership details.
* **send**: Send a new partnership request.
* **remove\_invite**: Remove an invitation.

### **Response**

A successful request will return a confirmation of the action taken. Handle responses appropriately based on the action performed.

### **Error Handling**

Ensure to handle errors such as invalid `griddid` or `partnerid`, and unsupported actions. The API will return appropriate error messages for invalid requests.

### **Best Practices**

* **Validate Inputs**: Ensure that all required fields are correctly filled before sending a request.
* **Handle Responses**: Implement logic to handle different responses based on the action taken.
* **Secure Data**: Use secure methods to store and transmit sensitive data like `griddid` and `partnerid`.

For more information on managing partnerships, refer to the [GNet Connect API documentation](/connect-api/overview).
