List channels
The Project’s channels, by name. Events create channels on first use, so this is where to find the names already in use.
GET
/v1/channelsAuthorization
AuthorizationBearer token (EmitKit API key) · headerrequiredEmitKit API key in the Authorization header as Bearer emitkit_…
or
X-API-KeyAPI key · headerrequiredEmitKit API key beginning with emitkit_.
Responses
200
The channels.
dataobjectrequiredShow propertiesHide properties
channelsChannel[]requiredBy name.
Show propertiesHide properties
Array of
ChannelcreatedAtstring<date-time>requireddescriptionstring | nullrequirediconstring | nullrequiredAn emoji
idstringrequirednamestringrequiredWhat events use as channelName
requestIdstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
successbooleanrequired401
Authentication credentials are missing or invalid.
codestringrequiredStable: switch on this, not on error or message.
errorstringrequiredmessagestringrequiredrequestIdstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
successbooleanrequired403
The API key lacks this operation's scope (a read-only key can only read), isn't bound to a Project, or its Project was deleted.
codestringrequiredStable: switch on this, not on error or message.
errorstringrequiredmessagestringrequiredWhat's missing, e.g. the scope the operation needs.
requestIdstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
successbooleanrequired429
The authenticated principal exceeded its rate limit.
codestringrequiredStable: switch on this, not on error or message.
errorstringrequiredmessagestringrequiredrequestIdstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
successbooleanrequired500
Unexpected server error.
codestringrequirederrorstringrequiredrequestIdstring<uuid>requiredmatches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
successbooleanrequired