Skip to main content
GET
/
v1
/
subscriptions
/
{id}
/
secret
Get subscription secret by id
curl --request GET \
  --url https://external.pleo.io/v1/subscriptions/{id}/secret \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "secretKey": "whsec_C2FVsBQIhrscChlQIMV+b5sSYspob7oD"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The unique identifier of the subscription

Response

The subscription secret details are returned.

data
object
required