---
title: "Add Organization"
method: POST
path: "/v0/sites/{site_id}/memberships/organizations"
tags: ["sites"]
---

# Add Organization

`POST /v0/sites/{site_id}/memberships/organizations`

## Request

- Base URL: `https://api.pantheon.io`
- URL: `https://api.pantheon.io/v0/sites/{site_id}/memberships/organizations`
- Auth: API key in header `Authorization`

Adds an organization to a site by creating an add_site_organization_membership workflow.

## Path parameters

- `site_id` string, required

## Request body

- AddOrganizationRequest
  - `organization_id` string, required: Organization ID to add to the site
  - `role` string, required: Role for the organization

## Response `200`

- SiteWorkflowCreationResponse
  - `active_description` string: Active description of current workflow step
  - `created_at` number, double: Creation timestamp
  - `id` string, required: Workflow ID
  - `number_of_tasks` integer: Number of tasks in the workflow
  - `type` string: Workflow type

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/pantheon/apis/pantheon-public-api-service.md) - [All operations](https://skmtc.dev/pantheon/apis/pantheon-public-api-service/llms.txt) - [OpenAPI document](https://skmtc.dev/pantheon/apis/pantheon-public-api-service/revisions/5d158d59f4c3?raw)
