---
title: "Derive the RapidAPI gateway proxy-secret digest during a one-time bootstrap"
method: GET
path: "/v1/operator/rapidapi-proxy-digest"
tags: ["Operator"]
---

# Derive the RapidAPI gateway proxy-secret digest during a one-time bootstrap

`GET /v1/operator/rapidapi-proxy-digest`

## Request

- Base URL: `https://api.m2msentinel.com`
- URL: `https://api.m2msentinel.com/v1/operator/rapidapi-proxy-digest`
- Auth: API key in header `x-m2m-rapidapi-bootstrap`

Disabled unless RAPIDAPI_BOOTSTRAP_TOKEN contains at least 32 characters. Call this route through RapidAPI and authenticate with x-m2m-rapidapi-bootstrap. The request must include a non-empty RapidAPI-injected x-rapidapi-proxy-secret plus at least one non-empty RapidAPI context header (x-rapidapi-user, x-rapidapi-subscription, x-rapidapi-host, or x-rapidapi-key). The response contains only the lowercase SHA-256 digest; the raw proxy secret is never reflected or persisted. After copying the digest into RAPIDAPI_PROXY_SECRET_SHA256, remove RAPIDAPI_BOOTSTRAP_TOKEN and any raw RAPIDAPI_PROXY_SECRET value, which makes this route return 404.

## Headers

- `x-rapidapi-proxy-secret` string, required
- `x-rapidapi-user` string
- `x-rapidapi-subscription` string
- `x-rapidapi-host` string
- `x-rapidapi-key` string

## Response `200`

The proxy secret digest. No raw secret or identifying metadata is included.

- object
  - `sha256` string, required: Store this value as RAPIDAPI_PROXY_SECRET_SHA256.

## Other responses

- `400`: Malformed input
- `401`: Missing or invalid credential, or a credential was supplied in the query string
- `404`: Bootstrap is disabled because no strong RAPIDAPI_BOOTSTRAP_TOKEN is configured.

---

[API](https://skmtc.dev/m2msentinel/apis/m2m-sentinel-base-contract-capability-checks-before-you-sign.md) · [All operations](https://skmtc.dev/m2msentinel/apis/m2m-sentinel-base-contract-capability-checks-before-you-sign/llms.txt) · [OpenAPI document](https://skmtc.dev/m2msentinel/apis/m2m-sentinel-base-contract-capability-checks-before-you-sign/revisions/2dadd4e704fd?raw)
