Skip to main content
GET
Get an event type

Authorizations

Authorization
string
header
required

An API key from your Devic console, sent as Authorization: Bearer <key>. An embedded front end sends a tenant-session token instead, so no API key reaches the browser, and an OAuth integration sends its access token. Missing, invalid or expired credentials get a 401. See Authentication.

Path Parameters

slug
string
required

Trigger type slug

Response

Success

slug
string
required

Trigger slug — the key to create a trigger

Example:

"GMAIL_NEW_GMAIL_MESSAGE"

name
string
required
Example:

"New Gmail message"

app
string
required

Owning app slug

Example:

"gmail"

description
string
type
string

poll events arrive minutes late; webhook events arrive at once

Example:

"poll"

instructions
string

Provider setup notes for the end user

config
object

JSON Schema of the trigger settings — what to send as triggerConfig

payload
object

JSON Schema of the event body — the fields a message template can reference