Get visibility types
Get the list of visibility types available in the system.
GET/v1/visibility/types- Response
Properties
| Name | Type | Description |
|---|---|---|
| id | number | ID of the visibility type |
| name | string | Name 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"