Skip to main content

Get visibility types

Get the list of visibility types available in the system.

GET/v1/visibility/types

Properties

NameTypeDescription
idnumberID of the visibility type
namestringName of the visibility type

Example

{
"response": [
{
"id": 1,
"name": "Public"
},
{
"id": 2,
"name": "Unlisted"
}
]
}

CURL Example

curl -X GET "https://api-integrations.snackprompt.com/v1/visibility/types" \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY"