Reveal a destination signing secret
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{pid}/destinations/{id}/secret \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/projects/{pid}/destinations/{id}/secret', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{pid}/destinations/{id}/secret"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"signing_secret": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}Destinations
Reveal a destination signing secret
Top-level alias: GET /admin/api/destinations//secret. Any sub-path other than secret or rotate-secret returns 404 Not found.
GET
/
admin
/
api
/
projects
/
{pid}
/
destinations
/
{id}
/
secret
Reveal a destination signing secret
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{pid}/destinations/{id}/secret \
--cookie hookie_session=const options = {method: 'GET', headers: {cookie: 'hookie_session='}};
fetch('https://app.hookie.ai/admin/api/projects/{pid}/destinations/{id}/secret', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{pid}/destinations/{id}/secret"
headers = {"cookie": "hookie_session="}
response = requests.get(url, headers=headers)
print(response.text){
"signing_secret": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}{
"error": "<string>",
"retry_after": 123,
"upgrade_url": "<string>"
}Authorizations
sessionbearerAuth
The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.
Path Parameters
Project id (UUID) belonging to the caller workspace.
Destination id.
Response
The decrypted signing secret. Sent with Cache-Control: no-store, and every reveal is written to the audit log as reveal_destination_secret.