Manage Types
/api/external/types
info
This API requires authentication with an API key. See our API Authentication article for more details.
The types API allows for fetching a workspace's types.
Getting all types
GET https://your-workspace.revision.app/api/external/types
Query Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | Filter by name (case-insensitive substring match). |
This returns a JSON response with an array of all types, both bundled Revision types and custom types. The response follows this example structure:
[
{
"id": "iszp4sU3JrM",
"name": "Athena"
},
{
"id": "2BurdM239ku",
"name": "My Custom Thing"
}
]
Data Types
| Value | Description |
|---|---|
name: string | The type's name. |
id: string | An internal ID set by Revision. |