---
title: "Create Sharing Agreement"
method: POST
path: "/api/v2/sharing_agreements"
tags: ["Sharing Agreements"]
---

# Create Sharing Agreement

`POST /api/v2/sharing_agreements`

#### Allowed For

* Admins

## Response `201`

Created response

- SharingAgreementResponse
  - `sharing_agreement` SharingAgreementObject
    - `created_at` string, date-time — The time the record was created
    - `id` integer — Automatically assigned upon creation
    - `name` string — Name of this sharing agreement
    - `partner_name` string, nullable — Can be one of the following: "jira", null
    - `remote_subdomain` string — Subdomain of the remote account or null if not associated with an account
    - `status` string — Can be one of the following: "accepted", "declined", "pending", "inactive", "failed", "ssl_error", "configuration_error"
    - `type` string — Can be one of the following: "inbound", "outbound"
    - `updated_at` string, date-time — The time the record was updated
    - `url` string — URL of the sharing agreement record

---

[API](https://skmtc.dev/botbrains-io/apis/support-api.md) · [All operations](https://skmtc.dev/botbrains-io/apis/support-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/botbrains-io/support-api/revisions/d53eac07ba68/schema)
