Threema Broadcast API (1.12.1)

Download OpenAPI specification:Download

The Threema Broadcast API is designed to let third-party applications communicate with Threema Broadcast identities.

  • All requests are authenticated using an X-API-Key, which can be created here:
    Threema Broadcast > Settings > Your profile > API Keys.
  • An X-API-Key HTTP header must be sent to indicate which API key is to be used with the request.
  • The API key must match the remote IP (if specified for the given API key) of the connected HTTP client.
  • Requests must be limited to 10,000 per day, the server will return HTTP header code 429 if the request limit is reached.
  • The ratio of the number of recipients to the number of groups, feeds, or distribution lists created via API must not exceed 1:10.
  • Only outgoing files can be viewed in Broadcast; incoming files will not be saved and can therefore not be viewed.
  • A pageSize < 0 or > 5000 will abort the request and return code 400.

Profile

Get Profile

Get access to your Broadcast data

Authorizations:
apiKey

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]

Response samples

Content type
application/json
{}

Identity

Get Identities

Return the list of all Broadcast identities

Authorizations:
apiKey

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (Identity) [ items <application/json > ]

Identity list

Response samples

Content type
application/json
{}

Get Identity Details

Return details of the given Broadcast identity

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (BroadcastUid) = 10 characters

Uid of the Broadcast identity

threemaId
string

Threema ID of the Broadcast identity

validUntil
string <date-time>

Period of validity of the Broadcast identity *Format: iso8601 *Example: 2018-02-28T22:20:04+0100

type
string
Enum: "o15" "o50" "o100" "o500" "o1000" "unlimited" "custom"

Identity type

recipientLimit
integer

Maximum number of recipients

nickname
string

Name for your Broadcast ID. This name will show up on the recipients’ end when you send them a message.

description
string

Description for your Broadcast ID. This description is not used anywhere and only exists as an internal notes field.

private
boolean

If the Private Broadcast is enabled, its contents are only accessible to specified recipients. By disabling this setting the Broadcast becomes public: anyone who knows the Broadcast ID can use bots and subscribe to feeds.

object (PrivateBroadcastMessageTranslation)

Automatic response to users who don’t have access to the private Broadcast. All translated messages (Max. 3500 bytes per message).

object (InvalidCommandMessageTranslation)

This text will be returned if users enter an invalid command. All translated messages (Max. 3500 bytes per message).

object (SwitchLanguageMessageTranslation)

This text will be returned after users switch languages. All translated messages (Max. 3500 bytes per message).

Response samples

Content type
application/json
{
  • "_links": [],
  • "id": "xxyyzz0099",
  • "threemaId": "*BC00001",
  • "validUntil": "2018-02-28T22:20:04+0100",
  • "type": "o500",
  • "recipientLimit": 500,
  • "nickname": "Nick Name",
  • "description": "Used by the sales departement",
  • "private": true,
  • "privateMessage": {
    },
  • "invalidCommandMessage": {
    },
  • "switchLanguageMessage": {
    }
}

Update Identity Details

Update the details of the given Broadcast identity

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Request Body schema: application/json
nickname
required
string [ 1 .. 32 ] characters

Name for your Broadcast ID. This name will show up on the recipients’ end when you send them a message.

description
string

Description for your Broadcast ID. This description is not used anywhere and only exists as an internal notes field.

private
boolean

If the Private Broadcast is enabled, its contents are only accessible to specified recipients. By disabling this setting the Broadcast becomes public: anyone who knows the Broadcast ID can use bots and subscribe to feeds.

object (PrivateBroadcastMessageTranslation)

Automatic response to users who don’t have access to the private Broadcast. All translated messages (Max. 3500 bytes per message).

object (InvalidCommandMessageTranslation)

This text will be returned if users enter an invalid command. All translated messages (Max. 3500 bytes per message).

object (SwitchLanguageMessageTranslation)

This text will be returned after users switch languages. All translated messages (Max. 3500 bytes per message).

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (BroadcastUid) = 10 characters

Uid of the Broadcast identity

threemaId
string

Threema ID of the Broadcast identity

validUntil
string <date-time>

Period of validity of the Broadcast identity *Format: iso8601 *Example: 2018-02-28T22:20:04+0100

type
string
Enum: "o15" "o50" "o100" "o500" "o1000" "unlimited" "custom"

Identity type

recipientLimit
integer

Maximum number of recipients

nickname
string

Name for your Broadcast ID. This name will show up on the recipients’ end when you send them a message.

description
string

Description for your Broadcast ID. This description is not used anywhere and only exists as an internal notes field.

private
boolean

If the Private Broadcast is enabled, its contents are only accessible to specified recipients. By disabling this setting the Broadcast becomes public: anyone who knows the Broadcast ID can use bots and subscribe to feeds.

object (PrivateBroadcastMessageTranslation)

Automatic response to users who don’t have access to the private Broadcast. All translated messages (Max. 3500 bytes per message).

object (InvalidCommandMessageTranslation)

This text will be returned if users enter an invalid command. All translated messages (Max. 3500 bytes per message).

object (SwitchLanguageMessageTranslation)

This text will be returned after users switch languages. All translated messages (Max. 3500 bytes per message).

Request samples

Content type
application/json
{
  • "nickname": "Nick Name",
  • "description": "Used by the sales departement",
  • "private": true,
  • "privateMessage": {
    },
  • "invalidCommandMessage": {
    },
  • "switchLanguageMessage": {
    }
}

Response samples

Content type
application/json
{
  • "_links": [],
  • "id": "xxyyzz0099",
  • "threemaId": "*BC00001",
  • "validUntil": "2018-02-28T22:20:04+0100",
  • "type": "o500",
  • "recipientLimit": 500,
  • "nickname": "Nick Name",
  • "description": "Used by the sales departement",
  • "private": true,
  • "privateMessage": {
    },
  • "invalidCommandMessage": {
    },
  • "switchLanguageMessage": {
    }
}

Get Identity Avatar

Return base64 encoded jpeg / png image or null

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
avatar
string or null

base64 encoded jpeg / png group image

Response samples

Content type
application/json
{
  • "_links": [],
  • "avatar": "/9j/4AAQSkZJRgABAQAAAQABAAD//gAfQ29tcHJlc3NlZCBieSBqcGVnLXJlY29tcHJlc3P/2wCEAAQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFwBBAQEBAQEBAQEBAYGBQYGCAcHBwcIDAkJCQkJDBMMDgwMDgwTERQQDxAUER4XFRUXHiIdGx0iKiUlKjQyNEREXP/CABEIAAEAAQMBIgACEQEDEQH/xAAUAAEAAAAAAAAAAAAAAAAAAAAH/9oACAEBAAAAAEL/xAAUAQEAAAAAAAAAAAAAAAAAAAAI/9oACAECEAAAACj/AP/EABQBAQAAAAAAAAAAAAAAAAAAAAj/2gAIAQMQAAAAJ/8A/8QAFBABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQABPwB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAgEBPwB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPwB//9k="
}

Update Identity Avatar image

Update Identity Avatar image

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Request Body schema: application/json
avatar
required
string

base 64 encoded jpeg /png image

Responses

Request samples

Content type
application/json
{
  • "avatar": "/9j/4AAQSkZJRgABAQAAAQABAAD//gAfQ29tcHJlc3NlZCBieSBqcGVnLXJlY29tcHJlc3P/2wCEAAQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFwBBAQEBAQEBAQEBAYGBQYGCAcHBwcIDAkJCQkJDBMMDgwMDgwTERQQDxAUER4XFRUXHiIdGx0iKiUlKjQyNEREXP/CABEIAAEAAQMBIgACEQEDEQH/xAAUAAEAAAAAAAAAAAAAAAAAAAAH/9oACAEBAAAAAEL/xAAUAQEAAAAAAAAAAAAAAAAAAAAI/9oACAECEAAAACj/AP/EABQBAQAAAAAAAAAAAAAAAAAAAAj/2gAIAQMQAAAAJ/8A/8QAFBABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQABPwB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAgEBPwB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPwB//9k="
}

Delete Identity Avatar

Delete the identity avatar

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Responses

Get identity languages

Return languages of the given broadcast identity

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (IdentityLanguage) [ items <application/json > ]

Languages List

Response samples

Content type
application/json
{}

Create identity language

Create a new identity language

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Request Body schema: application/json
name
required
string [ 1 .. 50 ] characters

Name of the new language

isoCode
required
string [ 1 .. 5 ] characters

ISO Code of the new language

default
required
boolean

determinate if the new language should be the default language

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
uid
string (IdentityLanguageUid)

uid of the identity language

name
string

name

isoCode
string

iso code

default
boolean

default language indicator

Request samples

Content type
application/json
{
  • "name": "Schweiz",
  • "isoCode": "de-CH",
  • "default": true
}

Response samples

Content type
application/json
{}

Set identity languages order

Set the order of identity languages

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Request Body schema: application/json
order
required
Array of strings

ordered array of all language uid strings

Responses

Request samples

Content type
application/json
{
  • "order": [
    ]
}

Get identity language

Return the Identity language

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

languageUid
required
string (IdentityLanguageUid)
Example: XZax9jV5QH

uid of the identity language

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
uid
string (IdentityLanguageUid)

uid of the identity language

name
string

name

isoCode
string

iso code

default
boolean

default language indicator

Response samples

Content type
application/json
{}

Update identity language

Updates an existing identity language

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

languageUid
required
string (IdentityLanguageUid)
Example: XZax9jV5QH

uid of the identity language

Request Body schema: application/json
name
string [ 1 .. 50 ] characters

Name of the new language

isoCode
string [ 1 .. 5 ] characters

ISO Code of the new language

default
boolean

determinate if the new language should be the default language

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
uid
string (IdentityLanguageUid)

uid of the identity language

name
string

name

isoCode
string

iso code

default
boolean

default language indicator

Request samples

Content type
application/json
{
  • "name": "Schweiz",
  • "isoCode": "de-CH",
  • "default": true
}

Response samples

Content type
application/json
{}

Delete identity language

Delete an existing identity language

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

languageUid
required
string (IdentityLanguageUid)
Example: XZax9jV5QH

uid of the identity language

Responses

Get Recipients

Return the list of all recipients of the given Broadcast identity

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

query Parameters
page
integer (Page)
Example: page=9

Number of page (starting with: 0)

pageSize
integer (PageSize)
Example: pageSize=20

Results per page (max. recommended: 1000)

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (Recipient) [ items <application/json > ]

Recipient list

object <application/json> (Paging)

Response samples

Content type
application/json
{}

Delete Recipients

Remove a list of recipients of the given Broadcast identity from all lists and groups. Note that the actual removal of recipients will happen asynchronously.

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Request Body schema: application/json
recipients
required
Array of strings (ThreemaId) [ items = 8 characters ]

List of Threema IDs to remove from the feed

Responses

Request samples

Content type
application/json
{
  • "recipients": [
    ]
}

Get Recipient Details

Return details of a recipient

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

threemaId
required
string (ThreemaId) = 8 characters
Example: B4UXXX11

Threema ID of the recipient

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (ThreemaId) = 8 characters

Threema ID of the recipient

firstName
string

First name

lastName
string

Last name

language
string

Language code of the recipients language setting

state
string
Enum: "active" "inactive" "invalid"

State

Response samples

Content type
application/json
{}

Update Recipient

Update a recipient’s details

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

threemaId
required
string (ThreemaId) = 8 characters
Example: B4UXXX11

Threema ID of the recipient

Request Body schema: application/json
firstName
required
string [ 1 .. 256 ] characters

First name of the recipient

lastName
required
string [ 1 .. 256 ] characters

Last name of the recipient

language
required
string [ 2 .. 3 ] characters

Language of the recipient

Responses

Request samples

Content type
application/json
{
  • "firstName": "Peter",
  • "lastName": "Black",
  • "language": "en"
}

Replace Recipient

Replace an existing recipient in all ditributionLists, feeds and groups with a new one.
Does not replace the recipient in work-synced lists (eg: 'All').

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

threemaId
required
string (ThreemaId) = 8 characters
Example: B4UXXX11

Existing Threema ID of the recipient

Request Body schema: application/json
newThreemaId
required
string = 8 characters

New Threema ID of the recipient

Responses

Response Schema: application/json
distributionLists
Array of strings

List of changed distributionList UIDs.

feeds
Array of strings

List of changed feed UIDs.

groups
Array of strings

List of changed group UIDs.

Request samples

Content type
application/json
{
  • "newThreemaId": "B4UXXX11"
}

Response samples

Content type
application/json
{
  • "distributionLists": [
    ],
  • "feeds": [
    ],
  • "groups": [
    ]
}

Avatar

Get Identity Avatar

Return base64 encoded jpeg / png image or null

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
avatar
string or null

base64 encoded jpeg / png group image

Response samples

Content type
application/json
{
  • "_links": [],
  • "avatar": "/9j/4AAQSkZJRgABAQAAAQABAAD//gAfQ29tcHJlc3NlZCBieSBqcGVnLXJlY29tcHJlc3P/2wCEAAQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFwBBAQEBAQEBAQEBAYGBQYGCAcHBwcIDAkJCQkJDBMMDgwMDgwTERQQDxAUER4XFRUXHiIdGx0iKiUlKjQyNEREXP/CABEIAAEAAQMBIgACEQEDEQH/xAAUAAEAAAAAAAAAAAAAAAAAAAAH/9oACAEBAAAAAEL/xAAUAQEAAAAAAAAAAAAAAAAAAAAI/9oACAECEAAAACj/AP/EABQBAQAAAAAAAAAAAAAAAAAAAAj/2gAIAQMQAAAAJ/8A/8QAFBABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQABPwB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAgEBPwB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPwB//9k="
}

Update Identity Avatar image

Update Identity Avatar image

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Request Body schema: application/json
avatar
required
string

base 64 encoded jpeg /png image

Responses

Request samples

Content type
application/json
{
  • "avatar": "/9j/4AAQSkZJRgABAQAAAQABAAD//gAfQ29tcHJlc3NlZCBieSBqcGVnLXJlY29tcHJlc3P/2wCEAAQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFwBBAQEBAQEBAQEBAYGBQYGCAcHBwcIDAkJCQkJDBMMDgwMDgwTERQQDxAUER4XFRUXHiIdGx0iKiUlKjQyNEREXP/CABEIAAEAAQMBIgACEQEDEQH/xAAUAAEAAAAAAAAAAAAAAAAAAAAH/9oACAEBAAAAAEL/xAAUAQEAAAAAAAAAAAAAAAAAAAAI/9oACAECEAAAACj/AP/EABQBAQAAAAAAAAAAAAAAAAAAAAj/2gAIAQMQAAAAJ/8A/8QAFBABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQABPwB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAgEBPwB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPwB//9k="
}

Delete Identity Avatar

Delete the identity avatar

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Responses

Bot

Get Bots

Return the list of all bots of the given Broadcast identity

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

query Parameters
q
string (FilterQuery)
Example: q=fil

Query string to filter the result

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (Bot) [ items <application/json > ]

Bot list

Response samples

Content type
application/json
{}

Create Bot

Create a bot

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Request Body schema: application/json
name
required
string [ 1 .. 256 ] characters

Bot name

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (BotUid) = 10 characters

Uid of the bot

name
string
state
string
Enum: "active" "deleted"

Request samples

Content type
application/json
{
  • "name": "The new bot name"
}

Response samples

Content type
application/json
{}

Get Bot Details

Return details of a bot

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

botUid
required
string (BotUid) = 10 characters
Example: 3334osykj4

Uid of the bot

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (BotUid) = 10 characters

Uid of the bot

name
string
state
string
Enum: "active" "deleted"

Response samples

Content type
application/json
{}

Update Bot

Update a bot

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

botUid
required
string (BotUid) = 10 characters
Example: 3334osykj4

Uid of the bot

Request Body schema: application/json
name
required
string [ 1 .. 256 ] characters

Bot name

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (BotUid) = 10 characters

Uid of the bot

name
string
state
string
Enum: "active" "deleted"

Request samples

Content type
application/json
{
  • "name": "Bot 2.0"
}

Response samples

Content type
application/json
{}

Delete Bot

Delete the bot (state dependency = 'deleted')

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

botUid
required
string (BotUid) = 10 characters
Example: 3334osykj4

Uid of the bot

Responses

Delete bot command

Delete the bot command

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

botUid
required
string (BotUid) = 10 characters
Example: 3334osykj4

Uid of the bot

commandUid
required
string (BotCommandUid) = 10 characters
Example: gSkZoI3SK6

Uid of the bot command

Responses

Get bot commands

Return the list of all bot commands of the given Broadcast identity bot

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

botUid
required
string (BotUid) = 10 characters
Example: 3334osykj4

Uid of the bot

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (BotCommand) [ items <application/json > ]

Bot command list

Response samples

Content type
application/json
{}

Create bot command

Create a bot command

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

botUid
required
string (BotUid) = 10 characters
Example: 3334osykj4

Uid of the bot

Request Body schema: application/json
name
required
string [ 1 .. 256 ] characters

Bot command name

inputs
Array of strings

Inputs that trigger this bot command (straight quotation marks are not allowed).

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (BotCommandUid) = 10 characters

Uid of the bot command

name
string
state
string
Enum: "temporary" "active" "inactive" "deleted"
inputs
Array of strings

Inputs that trigger this bot command (straight quotation marks are not allowed).

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Request samples

Content type
application/json
{
  • "name": "The new bot command name",
  • "inputs": [
    ],
  • "output": {
    }
}

Response samples

Content type
application/json
{}

Get Bot Command Details

Return details of a bot command

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

botUid
required
string (BotUid) = 10 characters
Example: 3334osykj4

Uid of the bot

commandUid
required
string (BotCommandUid) = 10 characters
Example: gSkZoI3SK6

Uid of the bot command

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (BotCommandUid) = 10 characters

Uid of the bot command

name
string
state
string
Enum: "temporary" "active" "inactive" "deleted"
inputs
Array of strings

Inputs that trigger this bot command (straight quotation marks are not allowed).

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Response samples

Content type
application/json
{}

Update Bot Command

Update a bot command

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

botUid
required
string (BotUid) = 10 characters
Example: 3334osykj4

Uid of the bot

commandUid
required
string (BotCommandUid) = 10 characters
Example: gSkZoI3SK6

Uid of the bot command

Request Body schema: application/json
name
required
string [ 1 .. 256 ] characters

Bot command name

inputs
Array of strings

Inputs that trigger this bot command (straight quotation marks are not allowed).

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (BotUid) = 10 characters

Uid of the bot

name
string
state
string
Enum: "active" "deleted"

Request samples

Content type
application/json
{
  • "name": "Bot Command 2.0",
  • "inputs": [
    ],
  • "output": {
    }
}

Response samples

Content type
application/json
{}

Update Bot State

Update the state of a bot

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

botUid
required
string (BotUid) = 10 characters
Example: 3334osykj4

Uid of the bot

botState
required
string (BotState)
Enum: "active" "deleted"
Example: active

state of the bot

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (BotUid) = 10 characters

Uid of the bot

name
string
state
string
Enum: "active" "deleted"

Response samples

Content type
application/json
{}

Distribution List

Get Distribution Lists

Return the list of the distribution lists of the given Broadcast identity

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

query Parameters
q
string (FilterQuery)
Example: q=fil

Query string to filter the result

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (DistributionList) [ items <application/json > ]

Distribution List

Response samples

Content type
application/json
{}

Create Distribution List

Create a distribution list

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Request Body schema: application/json
name
required
string [ 1 .. 256 ] characters

New distribution list name

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (DistributionListUid) = 10 characters

Uid of the distribution list

name
string
state
string (DistributionListState)
Enum: "active" "deleted"

state of the distribution list.

Request samples

Content type
application/json
{
  • "name": "The Distri"
}

Response samples

Content type
application/json

Get Distribution List Details

Return details of a distribution list

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

distributionListUid
required
string (DistributionListUid) = 10 characters
Example: nncbasmdl2

Uid of the distribution list

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (DistributionListUid) = 10 characters

Uid of the distribution list

name
string
state
string (DistributionListState)
Enum: "active" "deleted"

state of the distribution list.

Response samples

Content type
application/json

Update Distribution List

Update the details of a distribution list

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

distributionListUid
required
string (DistributionListUid) = 10 characters
Example: nncbasmdl2

Uid of the distribution list

Request Body schema: application/json
name
required
string [ 1 .. 256 ] characters

New distribution list name

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (DistributionListUid) = 10 characters

Uid of the distribution list

name
string
state
string (DistributionListState)
Enum: "active" "deleted"

state of the distribution list.

Request samples

Content type
application/json
{
  • "name": "The Distri 2.0"
}

Response samples

Content type
application/json

Delete Distribution List

Delete the distribution list (state dependency = 'deleted')

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

distributionListUid
required
string (DistributionListUid) = 10 characters
Example: nncbasmdl2

Uid of the distribution list

Responses

Get Distribution List Chat History

Return all messages of a distribution list

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

distributionListUid
required
string (DistributionListUid) = 10 characters
Example: nncbasmdl2

Uid of the distribution list

query Parameters
page
integer (Page)
Example: page=9

Number of page (starting with: 0)

pageSize
integer (PageSize)
Example: pageSize=20

Results per page (max. recommended: 1000)

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (DistributionListChatMessage) [ items <application/json > ]

Distribution list chat message list

object <application/json> (Paging)

Response samples

Content type
application/json
{}

Send Message

Send a message to a distribution list

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

distributionListUid
required
string (DistributionListUid) = 10 characters
Example: nncbasmdl2

Uid of the distribution list

Request Body schema: application/json
type
string

Message type

subject
string or null (ChatMessageSubject)
Default: null

Custom subject of the message

trackDelivery
boolean
Default: false

(only if feature is granted:) Determinate if message delivery should be tracked

startAt
integer
Default: null

(only if feature is granted:) Specify sending time (UTC Timestamp)

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Responses

Response Schema: application/json
uid
string (DistributionListChatMessageUid)

Uid of the distribution list message

subject
string or null (ChatMessageSubject)
Default: null

Custom subject of the message

author
string (ChatMessageAuthor)

Author of the message

trackDelivery
boolean (DistributionListChatMessageTrackDelivery)

Indicates if delivery will be tracked

createdAt
string <date-time>
startAt
string <date-time>
doneAt
string <date-time>
object (MessageStatus)

Status

Array of objects <application/json> (Link) [ items <application/json > ]
type
string

Message type

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Request samples

Content type
application/json
Example
{
  • "type": "text",
  • "subject": "null",
  • "trackDelivery": false,
  • "startAt": null,
  • "body": {
    }
}

Response samples

Content type
application/json
Example
{}

Get Message

Return a message of a distribution list

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

distributionListUid
required
string (DistributionListUid) = 10 characters
Example: nncbasmdl2

Uid of the distribution list

distributionListChatMessageUid
required
string (DistributionListChatMessageUid)
Example: PV9M5iWXat

Uid of the distribution list message

Responses

Response Schema: application/json
uid
string (DistributionListChatMessageUid)

Uid of the distribution list message

subject
string or null (ChatMessageSubject)
Default: null

Custom subject of the message

author
string (ChatMessageAuthor)

Author of the message

trackDelivery
boolean (DistributionListChatMessageTrackDelivery)

Indicates if delivery will be tracked

createdAt
string <date-time>
startAt
string <date-time>
doneAt
string <date-time>
object (MessageStatus)

Status

Array of objects <application/json> (Link) [ items <application/json > ]
type
string

Message type

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Response samples

Content type
application/json
Example
{}

Delete Message

Remove a message from a distribution list

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

distributionListUid
required
string (DistributionListUid) = 10 characters
Example: nncbasmdl2

Uid of the distribution list

distributionListChatMessageUid
required
string (DistributionListChatMessageUid)
Example: PV9M5iWXat

Uid of the distribution list message

Responses

Get Message Delivery

Return message delivery stats of a distribution list message

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

distributionListUid
required
string (DistributionListUid) = 10 characters
Example: nncbasmdl2

Uid of the distribution list

distributionListChatMessageUid
required
string (DistributionListChatMessageUid)
Example: PV9M5iWXat

Uid of the distribution list message

query Parameters
page
integer (Page)
Example: page=9

Number of page (starting with: 0)

pageSize
integer (PageSize)
Example: pageSize=20

Results per page (max. recommended: 1000)

Request Body schema: application/json
q
string [ 1 .. 256 ] characters

filter query

state
Array of strings (DeliveryState)

filter state

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (Delivery) [ items <application/json > ]

Delivery list

object <application/json> (Paging)

Request samples

Content type
application/json
{
  • "q": "ECHOECHO Receiver Name",
  • "state": [
    ]
}

Response samples

Content type
application/json
{}

Get Message File

Return a base64 file content of a distribution list. Only outgoing files can be viewed in Broadcast; incoming files will not be saved and can therefore not be viewed.

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

distributionListUid
required
string (DistributionListUid) = 10 characters
Example: nncbasmdl2

Uid of the distribution list

distributionListChatMessageUid
required
string (DistributionListChatMessageUid)
Example: PV9M5iWXat

Uid of the distribution list message

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
file
string

base64 encoded file

filename
string

Name of the file

mimetype
string

MimeType of the file

Response samples

Content type
application/json
{}

Get Distribution List Recipients

Return the list of the recipients of a distribution list

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

distributionListUid
required
string (DistributionListUid) = 10 characters
Example: nncbasmdl2

Uid of the distribution list

query Parameters
page
integer (Page)
Example: page=9

Number of page (starting with: 0)

pageSize
integer (PageSize)
Example: pageSize=20

Results per page (max. recommended: 1000)

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (Recipient) [ items <application/json > ]

Recipient list

object <application/json> (Paging)

Response samples

Content type
application/json
{}

Add Distribution List Recipients

Add recipients to a distribution list

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

distributionListUid
required
string (DistributionListUid) = 10 characters
Example: nncbasmdl2

Uid of the distribution list

Request Body schema: application/json
recipients
required
Array of strings (ThreemaId) [ items = 8 characters ]

List of Threema IDs

replaceExisting
boolean
Default: false

Replace existing recipients with new list of recipients

filterInvalid
boolean
Default: false

Filter invalid and revoked Threema IDs

Responses

Response Schema: application/json
Array
string

Request samples

Content type
application/json
{
  • "recipients": [
    ],
  • "replaceExisting": false,
  • "filterInvalid": false
}

Response samples

Content type
application/json
[
  • "0-12",
  • "ECHOECHOECHO",
  • "REVOKED"
]

Remove Distribution List Recipients

Remove recipients to a distribution list

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

distributionListUid
required
string (DistributionListUid) = 10 characters
Example: nncbasmdl2

Uid of the distribution list

Request Body schema: application/json
recipients
required
Array of strings (ThreemaId) [ items = 8 characters ]

List of Threema IDs to remove from Distribution List

Responses

Request samples

Content type
application/json
{
  • "recipients": [
    ]
}

Remove invalid Identities

Remove invalid Identities of a distribution list

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

distributionListUid
required
string (DistributionListUid) = 10 characters
Example: nncbasmdl2

Uid of the distribution list

Responses

Response Schema: application/json
Array
string (ThreemaId) = 8 characters

Threema ID of the recipient

Response samples

Content type
application/json
[
  • "B4UXXX11",
  • "ECHOECHO"
]

Update Distribution List State

Update the state of a distribution list

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

distributionListUid
required
string (DistributionListUid) = 10 characters
Example: nncbasmdl2

Uid of the distribution list

distributionListState
required
string (DistributionListState)
Enum: "active" "deleted"
Example: active

state of the distribution list.

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (DistributionListUid) = 10 characters

Uid of the distribution list

name
string
state
string (DistributionListState)
Enum: "active" "deleted"

state of the distribution list.

Response samples

Content type
application/json

Feed

Get Feeds

Return the list of all feeds of the given Broadcast identity

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

query Parameters
q
string (FilterQuery)
Example: q=fil

Query string to filter the result

state
string (StateFilter)
Enum: "active" "deleted"
Example: state=active

State to filter the result

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (FeedSimple) [ items <application/json > ]

Feed list

Response samples

Content type
application/json
{}

Create Feed

Create a feed

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Request Body schema: application/json
name
required
string [ 1 .. 256 ] characters

Feed name

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

commands_on
Array of strings

Commands to subscribe to the feed (straight quotation marks are not allowed).

commands_off
Array of strings

Commands to unsubscribe to the feed (straight quotation marks are not allowed).

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (FeedUid) = 10 characters

Uid of the feed

name
string
state
string
Enum: "active" "deleted"
object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

commands_on
Array of strings

Commands to subscribe to the feed.

commands_off
Array of strings

Commands to unsubscribe to the feed.

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Request samples

Content type
application/json
{
  • "name": "The new feed name",
  • "description": {
    },
  • "commands_on": [
    ],
  • "commands_off": [
    ],
  • "message_on": {
    },
  • "message_off": {
    }
}

Response samples

Content type
application/json
{}

Get Feed Details

Return details of a feed

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

feedUid
required
string (FeedUid) = 10 characters
Example: 3334osykj4

Uid of the feed

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (FeedUid) = 10 characters

Uid of the feed

name
string
state
string
Enum: "active" "deleted"
object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

commands_on
Array of strings

Commands to subscribe to the feed.

commands_off
Array of strings

Commands to unsubscribe to the feed.

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Response samples

Content type
application/json
{}

Update Feed

Update a feed

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

feedUid
required
string (FeedUid) = 10 characters
Example: 3334osykj4

Uid of the feed

Request Body schema: application/json
name
required
string [ 1 .. 256 ] characters

Feed name

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

commands_on
Array of strings

Commands to subscribe to the feed (straight quotation marks are not allowed).

commands_off
Array of strings

Commands to unsubscribe to the feed (straight quotation marks are not allowed).

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (FeedUid) = 10 characters

Uid of the feed

name
string
state
string
Enum: "active" "deleted"
object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

commands_on
Array of strings

Commands to subscribe to the feed.

commands_off
Array of strings

Commands to unsubscribe to the feed.

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Request samples

Content type
application/json
{
  • "name": "Feed 2.0",
  • "description": {
    },
  • "commands_on": [
    ],
  • "commands_off": [
    ],
  • "message_on": {
    },
  • "message_off": {
    }
}

Response samples

Content type
application/json
{}

Delete Feed

Delete the feed (state dependency = 'deleted')

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

feedUid
required
string (FeedUid) = 10 characters
Example: 3334osykj4

Uid of the feed

Responses

Get Chat History of Feed

Return all messages of a feed

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

feedUid
required
string (FeedUid) = 10 characters
Example: 3334osykj4

Uid of the feed

query Parameters
page
integer (Page)
Example: page=9

Number of page (starting with: 0)

pageSize
integer (PageSize)
Example: pageSize=20

Results per page (max. recommended: 1000)

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (FeedChatMessage) [ items <application/json > ]

Feed chat message list

object <application/json> (Paging)

Response samples

Content type
application/json
{}

Send Message

Send a message to a feed

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

feedUid
required
string (FeedUid) = 10 characters
Example: 3334osykj4

Uid of the feed

Request Body schema: application/json
type
string

Message type

subject
string or null (ChatMessageSubject)
Default: null

Custom subject of the message

trackDelivery
boolean
Default: false

(only if feature is granted:) Determinate if message delivery should be tracked

startAt
integer
Default: null

(only if feature is granted:) Specify sending time (UTC Timestamp)

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Responses

Response Schema: application/json
uid
string (FeedChatMessageUid) = 10 characters

Uid of the feed message

subject
string or null (ChatMessageSubject)
Default: null

Custom subject of the message

author
string (ChatMessageAuthor)

Author of the message

trackDelivery
boolean (FeedChatMessageTrackDelivery)

Indicates if delivery will be tracked

createdAt
string <date-time>
startAt
string <date-time>
doneAt
string <date-time>
object (MessageStatus)

Status

Array of objects <application/json> (Link) [ items <application/json > ]
type
string

Message type

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Request samples

Content type
application/json
Example
{
  • "type": "text",
  • "subject": "null",
  • "trackDelivery": false,
  • "startAt": null,
  • "body": {
    }
}

Response samples

Content type
application/json
Example
{}

Get Message

Return a message of a feed

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

feedUid
required
string (FeedUid) = 10 characters
Example: 3334osykj4

Uid of the feed

feedChatMessageUid
required
string (FeedChatMessageUid) = 10 characters
Example: PV9M5iWXat

Uid of the feed message

Responses

Response Schema: application/json
uid
string (FeedChatMessageUid) = 10 characters

Uid of the feed message

subject
string or null (ChatMessageSubject)
Default: null

Custom subject of the message

author
string (ChatMessageAuthor)

Author of the message

trackDelivery
boolean (FeedChatMessageTrackDelivery)

Indicates if delivery will be tracked

createdAt
string <date-time>
startAt
string <date-time>
doneAt
string <date-time>
object (MessageStatus)

Status

Array of objects <application/json> (Link) [ items <application/json > ]
type
string

Message type

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Response samples

Content type
application/json
Example
{}

Delete Message

Remove a message from a feed

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

feedUid
required
string (FeedUid) = 10 characters
Example: 3334osykj4

Uid of the feed

feedChatMessageUid
required
string (FeedChatMessageUid) = 10 characters
Example: PV9M5iWXat

Uid of the feed message

Responses

Get Message Delivery

Return message delivery stats of a feed message

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

feedUid
required
string (FeedUid) = 10 characters
Example: 3334osykj4

Uid of the feed

feedChatMessageUid
required
string (FeedChatMessageUid) = 10 characters
Example: PV9M5iWXat

Uid of the feed message

query Parameters
page
integer (Page)
Example: page=9

Number of page (starting with: 0)

pageSize
integer (PageSize)
Example: pageSize=20

Results per page (max. recommended: 1000)

Request Body schema: application/json
q
string [ 1 .. 256 ] characters

filter query

state
Array of strings (DeliveryState)

filter state

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (Delivery) [ items <application/json > ]

Delivery list

object <application/json> (Paging)

Request samples

Content type
application/json
{
  • "q": "ECHOECHO Receiver Name",
  • "state": [
    ]
}

Response samples

Content type
application/json
{}

Get Message File

Return a base64 file content of a feed. Only outgoing files can be viewed in Broadcast; incoming files will not be saved and can therefore not be viewed.

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

feedUid
required
string (FeedUid) = 10 characters
Example: 3334osykj4

Uid of the feed

feedChatMessageUid
required
string (FeedChatMessageUid) = 10 characters
Example: PV9M5iWXat

Uid of the feed message

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
file
string

base64 encoded file

filename
string

Name of the file

mimetype
string

MimeType of the file

Response samples

Content type
application/json
{}

Get Feed Subscribers

Return the list of all subscribers of a feed

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

feedUid
required
string (FeedUid) = 10 characters
Example: 3334osykj4

Uid of the feed

query Parameters
page
integer (Page)
Example: page=9

Number of page (starting with: 0)

pageSize
integer (PageSize)
Example: pageSize=20

Results per page (max. recommended: 1000)

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (Recipient) [ items <application/json > ]

Recipient list

object <application/json> (Paging)

Response samples

Content type
application/json
{}

Add Feed Subscribers

Add subscribers to a feed

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

feedUid
required
string (FeedUid) = 10 characters
Example: 3334osykj4

Uid of the feed

Request Body schema: application/json
recipients
required
Array of strings (ThreemaId) [ items = 8 characters ]

List of Threema IDs

replaceExisting
boolean
Default: false

Replace existing subscribers with new list of subscribers

filterInvalid
boolean
Default: false

Filter invalid and revoked Threema IDs

Responses

Response Schema: application/json
Array
string

Request samples

Content type
application/json
{
  • "recipients": [
    ],
  • "replaceExisting": false,
  • "filterInvalid": false
}

Response samples

Content type
application/json
[
  • "0-12",
  • "ECHOECHOECHO",
  • "REVOKED"
]

Remove Feed Subscribers

Remove subscribers to a feed

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

feedUid
required
string (FeedUid) = 10 characters
Example: 3334osykj4

Uid of the feed

Request Body schema: application/json
recipients
required
Array of strings (ThreemaId) [ items = 8 characters ]

List of Threema IDs to remove from the feed

Responses

Request samples

Content type
application/json
{
  • "recipients": [
    ]
}

Update Feed State

Update the state of a feed

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

feedUid
required
string (FeedUid) = 10 characters
Example: 3334osykj4

Uid of the feed

feedState
required
string (FeedState)
Enum: "active" "deleted"
Example: active

state of the feed.

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (FeedUid) = 10 characters

Uid of the feed

name
string
state
string
Enum: "active" "deleted"
object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

commands_on
Array of strings

Commands to subscribe to the feed.

commands_off
Array of strings

Commands to unsubscribe to the feed.

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

object (ChatMessageTranslation)

All translated messages (Max. 3500 bytes per message)

Response samples

Content type
application/json
{}

Group

Get Groups

Return the list of all groups of the given Broadcast identity

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Request Body schema: application/json
states
Array of strings or null (GroupState)
Enum: "active" "deleted"

states of the group

saveChatHistory
boolean or null

only show groups which saves or does not save chat history

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (Group) [ items <application/json > ]

Group list

Request samples

Content type
application/json
{
  • "states": [
    ],
  • "saveChatHistory": true
}

Response samples

Content type
application/json
{}

Create Group

Create a group

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Request Body schema: application/json
name
required
string [ 0 .. 256 ] characters

Name of the new group

members
required
Array of strings

List of Threema IDs

saveChatHistory
boolean

Once this setting is activated, the entire group conversation (including incoming messages) is saved. All group members will be notified about changes to this setting.

filterInvalid
boolean
Default: false

Filter double, invalid and revoked Threema IDs

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (GroupUid) = 10 characters

Uid of the group

name
any
state
any
Enum: "active" "deleted"
saveChatHistory
boolean

Request samples

Content type
application/json
{
  • "name": "Project Baxter",
  • "members": [
    ],
  • "saveChatHistory": true,
  • "filterInvalid": false
}

Response samples

Content type
application/json

Get Group Details

Return details of a group

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
id
string (GroupUid) = 10 characters

Uid of the group

name
any
state
any
Enum: "active" "deleted"
saveChatHistory
boolean

Response samples

Content type
application/json

Update Group

Update the details of a group

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

Request Body schema: application/json
name
required
string [ 0 .. 256 ] characters

The new name for the group

saveChatHistory
boolean

Once this setting is activated, the entire group conversation (including incoming messages) is saved. All group members will be notified about changes to this setting.

Responses

Request samples

Content type
application/json
{
  • "name": "Project Bauxi",
  • "saveChatHistory": true
}

Remove Group

Remove a group, and send the information to all members

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

Responses

Get Group Chat History

Return all messages of a group chat

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

query Parameters
page
integer (Page)
Example: page=9

Number of page (starting with: 0)

pageSize
integer (PageSize)
Example: pageSize=20

Results per page (max. recommended: 1000)

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (GroupChatMessage) [ items <application/json > ]

Message list of group chat (descending by createdAt)

object <application/json> (Paging)

Response samples

Content type
application/json
{}

Send Group Message

Send a message to a group

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

Request Body schema: application/json
type
string

Message type

body
string <= 3500 characters

Content of the message (Max 3500 bytes)

Responses

Response Schema: application/json
id
string (GroupChatMessageUid) = 10 characters

Uid of the group message

messageId
string (ApiMessageId)

HEX representation of the identifier of the message

from
string

Threema ID of the sender

type
string

Message type

body
string

Content (only available for text messages) (utf8mb4 encoded)

caption
string

Content (only available for file messages) (utf8mb4 encoded)

createdAt
string <date-time>
Array of objects <application/json> (Link) [ items <application/json > ]

Request samples

Content type
application/json
Example
{
  • "type": "text",
  • "body": "Hello, this is a test message!"
}

Response samples

Content type
application/json
Example
{}

Get Message of Group Chat

Return a message of a group chat

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

groupChatMessageUid
required
string (GroupChatMessageUid) = 10 characters
Example: GbeRraMd7S

Uid of the group message

Responses

Response Schema: application/json
id
string (GroupChatMessageUid) = 10 characters

Uid of the group message

messageId
string (ApiMessageId)

HEX representation of the identifier of the message

from
string

Threema ID of the sender

type
string

Message type

body
string

Content (only available for text messages) (utf8mb4 encoded)

caption
string

Content (only available for file messages) (utf8mb4 encoded)

createdAt
string <date-time>
Array of objects <application/json> (Link) [ items <application/json > ]

Response samples

Content type
application/json
Example
{}

Delete Group Message

Remove a message from a group chat

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

groupChatMessageUid
required
string (GroupChatMessageUid) = 10 characters
Example: GbeRraMd7S

Uid of the group message

Responses

Get File Content of Group Chat Message

Return a base64 file content of a group chat message. Only outgoing files can be viewed in Broadcast; incoming files will not be saved and can therefore not be viewed.

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

groupChatMessageUid
required
string (GroupChatMessageUid) = 10 characters
Example: GbeRraMd7S

Uid of the group message

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
file
string

base64 encoded file

filename
string

Name of the file

mimetype
string

MimeType of the file

Response samples

Content type
application/json
{}

Get Group Image

Return base64 encoded jpeg / png image or null

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
image
string or null

base64 encoded jpeg / png group image

Response samples

Content type
application/json
{
  • "image": "/9j/4AAQSkZJRgABAQAAAQABAAD//gAfQ29tcHJlc3NlZCBieSBqcGVnLXJlY29tcHJlc3P/2wCEAAQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFwBBAQEBAQEBAQEBAYGBQYGCAcHBwcIDAkJCQkJDBMMDgwMDgwTERQQDxAUER4XFRUXHiIdGx0iKiUlKjQyNEREXP/CABEIAAEAAQMBIgACEQEDEQH/xAAUAAEAAAAAAAAAAAAAAAAAAAAH/9oACAEBAAAAAEL/xAAUAQEAAAAAAAAAAAAAAAAAAAAI/9oACAECEAAAACj/AP/EABQBAQAAAAAAAAAAAAAAAAAAAAj/2gAIAQMQAAAAJ/8A/8QAFBABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQABPwB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAgEBPwB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPwB//9k="
}

Update Group image

Update the image of the group

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

Request Body schema: application/json
image
required
string

a base 64 encoded square jpeg or png image - max 512px. non fitting dimensions will be cropped

Responses

Request samples

Content type
application/json
{
  • "image": "/9j/4AAQSkZJRgABAQAAAQABAAD//gAfQ29tcHJlc3NlZCBieSBqcGVnLXJlY29tcHJlc3P/2wCEAAQEBAQEBAQEBAQGBgUGBggHBwcHCAwJCQkJCQwTDA4MDA4MExEUEA8QFBEeFxUVFx4iHRsdIiolJSo0MjRERFwBBAQEBAQEBAQEBAYGBQYGCAcHBwcIDAkJCQkJDBMMDgwMDgwTERQQDxAUER4XFRUXHiIdGx0iKiUlKjQyNEREXP/CABEIAAEAAQMBIgACEQEDEQH/xAAUAAEAAAAAAAAAAAAAAAAAAAAH/9oACAEBAAAAAEL/xAAUAQEAAAAAAAAAAAAAAAAAAAAI/9oACAECEAAAACj/AP/EABQBAQAAAAAAAAAAAAAAAAAAAAj/2gAIAQMQAAAAJ/8A/8QAFBABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQABPwB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAgEBPwB//8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAwEBPwB//9k="
}

Remove Group image

Remove the groupimage

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

Responses

Get Members

Return the list of all members of a group

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (Recipient) [ items <application/json > ]

List of group members

Response samples

Content type
application/json
{}

Add Group Members

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

Request Body schema: application/json

List of the new Threema IDs

One of
members
required
Array of strings (ThreemaId) [ items = 8 characters ]

List of Threema IDs

replaceExisting
boolean
Default: false

Replace existing members with new list of members

filterInvalid
boolean
Default: false

Filter double, invalid and revoked Threema IDs

Responses

Response Schema: application/json
Array
string

Request samples

Content type
application/json
Example
{
  • "members": [
    ],
  • "replaceExisting": false,
  • "filterInvalid": false
}

Response samples

Content type
application/json
[
  • "0-12",
  • "ECHOECHOECHO",
  • "REVOKED"
]

Remove Members

Remove members from a group chat

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

Request Body schema: application/json

List of the Threema IDs

Array
string (ThreemaId) = 8 characters

Threema ID of the recipient

Responses

Request samples

Content type
application/json
[
  • "B4UXXX11",
  • "ECHOECHO"
]

Remove invalid Identities

Remove invalid identities of a group

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

groupUid
required
string (GroupUid) = 10 characters
Example: oopphh22uu

Uid of the group

Responses

Response Schema: application/json
Array
string (ThreemaId) = 8 characters

Threema ID of the recipient

Response samples

Content type
application/json
[
  • "B4UXXX11",
  • "ECHOECHO"
]

Poll

Get Polls

(only if feature is granted:) Return the list of all polls of the given Broadcast identity

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

Request Body schema: application/json
states
Array of strings or null (PollState)
Enum: "open" "closed"

states of the poll

choice_modes
Array of strings or null (PollChoiceMode)
Enum: "single" "multiple"

choice modes of the poll

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (Poll) [ items <application/json > ]

Poll list

Request samples

Content type
application/json
{
  • "states": [
    ],
  • "choice_modes": [
    ]
}

Response samples

Content type
application/json
{}

Get Poll Details

Return details of a poll

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

pollUid
required
string (PollUid) = 10 characters
Example: edMk465KIA

uid of the poll

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
uid
string (PollUid) = 10 characters

uid of the poll

state
string (PollState)
Enum: "open" "closed"

Poll State.

choiceMode
string (PollChoiceMode)
Enum: "single" "multiple"

Single or multiple choice mode.

detailedResults
boolean (PollDetailedResults)

Show detailed vote results of each participant in the cockpit

distinctVotes
integer (PollDistinctVotes)

Total votes of the poll

object (PollTitleTranslation)

All translated titles

Array of objects (PollChoice)

Response samples

Content type
application/json
{}

Get Poll Choice Votes

Get a list of poll choice votes

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

pollUid
required
string (PollUid) = 10 characters
Example: edMk465KIA

uid of the poll

pollChoiceUid
required
string (PollChoiceUid) = 10 characters
Example: 7PcoUKecxm

uid of the poll choice

query Parameters
page
integer (Page)
Example: page=9

Number of page (starting with: 0)

pageSize
integer (PageSize)
Example: pageSize=20

Results per page (max. recommended: 1000)

Request Body schema: application/json
q
string [ 1 .. 255 ] characters

filter query

vote
boolean

filter votes

Responses

Response Schema: application/json
Array of objects <application/json> (Link) [ items <application/json > ]
Array of objects <application/json> (PollChoiceVote) [ items <application/json > ]

Vote list

object <application/json> (Paging)

Request samples

Content type
application/json
{
  • "q": "ECHOECHO",
  • "vote": true
}

Response samples

Content type
application/json
{}

Close Poll

Close an open poll

Authorizations:
apiKey
path Parameters
broadcastUid
required
string (BroadcastUid) = 10 characters
Example: xxyyzz0099

Uid of the Broadcast identity

pollUid
required
string (PollUid) = 10 characters
Example: edMk465KIA

uid of the poll

Responses