Skip to main content

Get Elemental Types

Get the list of elemental types.

GET/v1/elemental/types

Properties

NameTypeDescription
idnumberID of the elemental type
namestringName of the elemental type

Example

{
"response": [
{
"id": 1,
"name": "Prompt"
},
{
"id": 2,
"name": "Snippet"
},
{
"id": 3,
"name": "Document"
},
{
"id": 5,
"name": "Automation"
}
]
}

CURL Example

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