Get All Entity Types
GET
/v1/entity-types
const url = 'https://example.com/api/v1/entity-types';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/entity-types \ --header 'Authorization: <Authorization>'Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”OK
Media type application/json
Array<object>
object
createdAt
string
defaultTemplate
object
createdAt
string
description
string
id
string
name
string
updatedAt
string
defaultTemplateId
string
description
string
icon
string
id
string
isLocation
boolean
name
string
updatedAt
string
Example generated
[ { "createdAt": "example", "defaultTemplate": { "createdAt": "example", "description": "example", "id": "example", "name": "example", "updatedAt": "example" }, "defaultTemplateId": "example", "description": "example", "icon": "example", "id": "example", "isLocation": true, "name": "example", "updatedAt": "example" }]