---
title: "Accept or decline invitation to a team"
method: PUT
path: "/team/{request_id}/request"
---

# Accept or decline invitation to a team

`PUT /team/{request_id}/request`

## Request

- Base URL: `https://api.signnow.com`
- URL: `https://api.signnow.com/team/{request_id}/request`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/signnow/apis/signnow-api/docs/team/:request_id/request/put.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint allows API users to accept or decline an invite to join a team.

## Request body

- object
  - `accept` boolean, required: `true` to accept the invite, `false` to decline it.

## Response `200`

The invite was accepted or declined.

- object
  - `result` string: Result of the request. Always `success`.

## Other responses

- `400`: * Wrong, expired, or missing token. * The team invite doesn't exist. * The team invite was sent to another user. * The request body is missing or isn't valid JSON. * `accept` isn't `true` or `false`. * The team invite was already accepted or declined.

---

[API](https://skmtc.dev/signnow/apis/signnow-api.md) - [All operations](https://skmtc.dev/signnow/apis/signnow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/signnow/apis/signnow-api/revisions/1c9c30a6142b?raw)
