Retrieve the incoming secrets feature configuration, including whether the feature is enabled, memo length limits, default TTL, and the list of available recipients identified by hash.
GET
/api/incoming/config
curl \
--request GET 'https://eu.onetimesecret.com/api/incoming/config'
Response examples (200)
{
"config": {
"enabled": true,
"memo_max_length": 50,
"secret_max_length": 10000,
"recipients": [
{
"digest": "string",
"display_name": "string"
}
],
"default_ttl": 42
}
}
Response examples (404)
{
"error": "string",
"error_type": "string",
"message": "string",
"field": "string",
"error_id": "string",
"request_id": "string"
}
Response examples (500)
{
"error": "string",
"error_type": "string",
"message": "string",
"field": "string",
"error_id": "string",
"request_id": "string"
}