---
title: "Accept invite to be admin"
url: "https://docs.signnow.com/docs/organization/operations/post-v2-organizations-org-id-admins-user-id-accept"
type: "endpoint"
section: "organization"
slug: "organization/operations/post-v2-organizations-org-id-admins-user-id-accept"
method: "POST"
path: "/v2/organizations/{org_id}/admins/{user_id}/accept"
operation_id: "post-v2-organizations-org-id-admins-user-id-accept"
authorization: "bearer"
---

# Accept invite to be admin

`POST /v2/organizations/{org_id}/admins/{user_id}/accept`

This endpoint allows API users to accept an invitation to become an admin or moderator of an organization.

**Notes**

* The invited user calls this endpoint with their own access token. `user_id` is the ID of the invited user.
* To decline the invitation instead, use [`POST /v2/organizations/{org_id}/admins/{user_id}/decline`](/docs/organization/operations/post-v2-organizations-org-id-admins-user-id-decline).

## Authorization

bearer

## Path Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `org_id` | string | Yes | ID of the organization that sent the invitation. |
| `user_id` | string | Yes | ID of the invited user. Must match the owner of the access token. |

## Responses

### 204

Successful response. The invitation is acceptd.

### 400

Wrong, expired, or missing token.

**Example** (`Wrong token`)

```json
{
  "code": 1537,
  "error": "invalid_token"
}
```

### 403

* The user has no invitation to accept.
* `user_id` belongs to another user.

**Example** (`No invitation`)

```json
{
  "errors": [
    {
      "code": 12004038,
      "message": "Access denied."
    }
  ]
}
```

**Example** (`Another user's invitation`)

```json
{
  "errors": [
    {
      "code": 12004025,
      "message": "Access denied."
    }
  ]
}
```

### 404

* The user with `user_id` isn't in the organization.
* The organization doesn't exist or isn't active.

**Example** (`Admin not found`)

```json
{
  "errors": [
    {
      "code": 12004020,
      "message": "Organization admin `0aa11112b0ed40aab8cab111a76a6eea07f0000e` is not found."
    }
  ]
}
```

**Example** (`Organization not found`)

```json
{
  "errors": [
    {
      "code": 12003001,
      "message": "Organization `0aa11112b0ed40aab8cab111a76a6eea07f0000e` is not found."
    }
  ]
}
```

## Code Examples

> Replace `$SIGNNOW_ACCESS_TOKEN` and any `{placeholder}` values before running.

### cURL

```bash
curl -X POST \
  "https://api.signnow.com/v2/organizations/{org_id}/admins/{user_id}/accept" \
  -H "Authorization: Bearer $SIGNNOW_ACCESS_TOKEN" \
  -H "Content-Type: application/json"
```

---
*Full reference: https://docs.signnow.com/docs/organization/operations/post-v2-organizations-org-id-admins-user-id-accept*
