---
title: "Approve or reject app-link request"
method: POST
path: "/{partnerId}/app-link/status"
tags: ["Partner app-linking approval"]
---

# Approve or reject app-link request

`POST /{partnerId}/app-link/status`

## Request

- Base URL: `https://partner.gupshup.io/partner`
- URL: `https://partner.gupshup.io/partner/{partnerId}/app-link/status`
- Auth: HTTP bearer

Approve or reject a pending app-link request. APPROVE performs the app-partner link; REJECT does not.

## Path parameters

- `partnerId` integer, required

## Request body

- AppLinkDecisionRequest: Request to approve or reject an app linking request
  - `id` string, required: The app-link request id (not the appId)
  - `action` 'APPROVE' | 'REJECT', required: The decision action (APPROVE or REJECT)

## Response `200`

Success

- PartnerAppLinkResponse
  - `id` string
  - `appId` string
  - `appName` string
  - `customerId` string
  - `customerIdentifier` string
  - `partnerId` integer
  - `status` string
  - `requestedAt` integer
  - `expiresAt` integer
  - `decidedAt` integer
  - `decidedByEmail` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden - no permissions to access resource
- `404`: Not Found
- `409`: Conflict - request is no longer PENDING
- `500`: Internal Server Error

---

[API](https://skmtc.dev/gupshup/apis/new-app-linking-apis.md) - [All operations](https://skmtc.dev/gupshup/apis/new-app-linking-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/gupshup/apis/new-app-linking-apis/revisions/1336f06570ad?raw)
