Get Phased Release Details

Last edited on 2026-03-16

This API should be called on the server side and cannot be called directly on the client side (Mini Program, web page, APP, etc.). For details, please refer to API Call Guide.

API English Name: getGrayReleasePlan

This API is used to query the current details of a phased release plan.

1. Call Method

HTTPS Call

GET https://api.weixin.qq.com/wxa/getgrayreleaseplan?access_token=ACCESS_TOKEN

Cloud Call

  • Call Method: operation.getGrayReleasePlan

  • Input and output parameters are the same as HTTPS call. For call method, please refer to Cloud Call documentation.

Third-party Call

  • This API supports third-party platforms on behalf of Merchant call.

  • The permission set ID of this API is: 18

  • After the service provider obtains one of the permission set authorizations, it can use authorizer_access_token to call on behalf of Merchant, for details please refer to Third-party Call documentation.

2. Request Parameters

Query Parameters Query String Parameters

ParameterTypeRequiredDescription
access_tokenstringYesAPI call credential, you can use authorizer_access_token

Request Body Request Payload

None

3. Response Parameters

Response Body Response Payload

ParameterTypeDescription
errcodenumberError Code
errmsgstringError Time
gray_release_planobjectPhased Release Plan Details

Res.gray_release_plan Object Payload

Phased Release Plan Details

ParameterTypeDescription
statusnumber0: Initial status, 1: Executing, 2: Paused, 3: Completed, 4: Deleted
create_timestampnumberCreation time of the phased release plan
gray_percentagenumberCurrent grayscale ratio
support_debuger_firstboolean`true` indicates that grayscale by project members is supported
support_experiencer_firstboolean`true` indicates that grayscale by experiential members is supported

4. Notes

No special notes for this API

5. Code Example

Request Example

GET https://api.weixin.qq.com/wxa/getgrayreleaseplan?access_token=ACCESS_TOKEN

Response Example

{
  "errcode": 0,
  "errmsg": "ok",
  "gray_release_plan": {
    "status": 1, //
    "create_timestamp": 1517553721, //Creation time
    "gray_percentage": 8,
    "support_experiencer_first": true,
    "support_debuger_first": true
  }

}

6. Error Codes

The following is the error code list of this API, other error codes can refer to Common Error Codes; When encountering errors in calling the API, you can use the official API Diagnostic Tool to assist in locating and analyzing problems.

Error CodeError DescriptionSolution
-1system errorSystem busy. Please try again later.

7. Applicable Scope

This API supports 「Third-party Platform」 account type for proxy calls. For permission sets, please refer to the "Call Method" section. Other account types cannot call unless otherwise specified.