Create composition delivery
curl --request POST \
--url https://api.tightknit.ai/v1/composition_deliveries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"composition_id": "cmps_7h2k9m4n1p6q",
"identity": "bot",
"unfurl_links": true,
"channel_ids": [
"<string>"
],
"publish_to_site": true,
"thread_ts": "<string>",
"member_ids": [
"<string>"
],
"group_ids": [
"<string>"
],
"feed_ids": [
"<string>"
],
"event_ids": [
"<string>"
],
"expected_revision": 1
}
'import requests
url = "https://api.tightknit.ai/v1/composition_deliveries"
payload = {
"composition_id": "cmps_7h2k9m4n1p6q",
"identity": "bot",
"unfurl_links": True,
"channel_ids": ["<string>"],
"publish_to_site": True,
"thread_ts": "<string>",
"member_ids": ["<string>"],
"group_ids": ["<string>"],
"feed_ids": ["<string>"],
"event_ids": ["<string>"],
"expected_revision": 1
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
composition_id: 'cmps_7h2k9m4n1p6q',
identity: 'bot',
unfurl_links: true,
channel_ids: ['<string>'],
publish_to_site: true,
thread_ts: '<string>',
member_ids: ['<string>'],
group_ids: ['<string>'],
feed_ids: ['<string>'],
event_ids: ['<string>'],
expected_revision: 1
})
};
fetch('https://api.tightknit.ai/v1/composition_deliveries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tightknit.ai/v1/composition_deliveries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'composition_id' => 'cmps_7h2k9m4n1p6q',
'identity' => 'bot',
'unfurl_links' => true,
'channel_ids' => [
'<string>'
],
'publish_to_site' => true,
'thread_ts' => '<string>',
'member_ids' => [
'<string>'
],
'group_ids' => [
'<string>'
],
'feed_ids' => [
'<string>'
],
'event_ids' => [
'<string>'
],
'expected_revision' => 1
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.tightknit.ai/v1/composition_deliveries"
payload := strings.NewReader("{\n \"composition_id\": \"cmps_7h2k9m4n1p6q\",\n \"identity\": \"bot\",\n \"unfurl_links\": true,\n \"channel_ids\": [\n \"<string>\"\n ],\n \"publish_to_site\": true,\n \"thread_ts\": \"<string>\",\n \"member_ids\": [\n \"<string>\"\n ],\n \"group_ids\": [\n \"<string>\"\n ],\n \"feed_ids\": [\n \"<string>\"\n ],\n \"event_ids\": [\n \"<string>\"\n ],\n \"expected_revision\": 1\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.tightknit.ai/v1/composition_deliveries")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"composition_id\": \"cmps_7h2k9m4n1p6q\",\n \"identity\": \"bot\",\n \"unfurl_links\": true,\n \"channel_ids\": [\n \"<string>\"\n ],\n \"publish_to_site\": true,\n \"thread_ts\": \"<string>\",\n \"member_ids\": [\n \"<string>\"\n ],\n \"group_ids\": [\n \"<string>\"\n ],\n \"feed_ids\": [\n \"<string>\"\n ],\n \"event_ids\": [\n \"<string>\"\n ],\n \"expected_revision\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tightknit.ai/v1/composition_deliveries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"composition_id\": \"cmps_7h2k9m4n1p6q\",\n \"identity\": \"bot\",\n \"unfurl_links\": true,\n \"channel_ids\": [\n \"<string>\"\n ],\n \"publish_to_site\": true,\n \"thread_ts\": \"<string>\",\n \"member_ids\": [\n \"<string>\"\n ],\n \"group_ids\": [\n \"<string>\"\n ],\n \"feed_ids\": [\n \"<string>\"\n ],\n \"event_ids\": [\n \"<string>\"\n ],\n \"expected_revision\": 1\n}"
response = http.request(request)
puts response.read_body{
"object": "composition_delivery",
"id": "cpdl_4k8m2n6p9q3r",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"composition_id": "cmps_7h2k9m4n1p6q",
"composition_version_id": "<string>",
"destination": "slack_channel",
"status": "pending",
"identity": "user",
"unfurl_links": true,
"slack_channel": {
"channel_ids": [
"<string>"
],
"publish_to_site": true,
"thread_ts": "<string>"
},
"slack_dm": {
"member_ids": [
"<string>"
],
"group_ids": [
"<string>"
],
"feed_ids": [
"<string>"
],
"event_ids": [
"<string>"
]
},
"email": {
"subject": "<string>",
"preview_text": "<string>",
"member_ids": [
"<string>"
],
"group_ids": [
"<string>"
],
"feed_ids": [
"<string>"
],
"event_ids": [
"<string>"
]
},
"counts": {
"pending": 1,
"claimed": 1,
"sent": 1,
"failed": 1,
"skipped": 1
},
"error_code": "<string>",
"delivered_at": "2023-11-07T05:31:56Z",
"created_by_id": "<string>",
"updated_by_id": "<string>",
"created_by": {
"object": "profile",
"id": "prof_9f2b8c1d4e5a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"name": "Ada Lovelace",
"full_name": "Ada Lovelace",
"display_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"avatar_url": "<string>",
"email": "[email protected]",
"email_domain": "example.com",
"locale": "<string>",
"is_team_member": true,
"is_deactivated": true,
"opt_out_of_public_profile": true,
"member_since": "2023-11-07T05:31:56Z",
"invited_at": "2023-11-07T05:31:56Z",
"signed_up_at": "2023-11-07T05:31:56Z",
"source": "slack_sync",
"has_account": true,
"flair_group_id": "grup_7m3x9k4t8plz",
"slack_profile_id": "U0BRY4S6LNQ",
"integrations": {
"slack": {
"profile": {
"object": "slack_profile",
"id": "U0BRY4S6LNQ",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"workspace_id": "T01ABC123",
"display_name": "<string>",
"real_name": "<string>",
"email": "[email protected]",
"pronouns": "<string>",
"avatar_url": "<string>",
"locale": "<string>",
"tz": "<string>",
"is_bot": true,
"is_app_user": true,
"is_workflow_bot": true,
"is_admin": true,
"is_owner": true,
"is_restricted": true,
"is_invited_user": true,
"is_deleted": true
}
}
},
"field_values": [
{
"object": "profile_field_value",
"id": "pfvl_3n8c5v1b7zrd",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"profile_id": "prof_9f2b8c1d4e5a",
"profile_field_id": "pfld_6t2k9w4m8xqa",
"profile_field": {
"object": "profile_field",
"id": "pfld_6t2k9w4m8xqa",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"label": "City",
"hint": "<string>",
"type": "text",
"is_active": true,
"show_label_on_site": true,
"is_value_restricted_to_members": true,
"is_featured": true
},
"value": "San Francisco",
"display_text": "<string>"
}
]
},
"updated_by": {
"object": "profile",
"id": "prof_9f2b8c1d4e5a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"name": "Ada Lovelace",
"full_name": "Ada Lovelace",
"display_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"avatar_url": "<string>",
"email": "[email protected]",
"email_domain": "example.com",
"locale": "<string>",
"is_team_member": true,
"is_deactivated": true,
"opt_out_of_public_profile": true,
"member_since": "2023-11-07T05:31:56Z",
"invited_at": "2023-11-07T05:31:56Z",
"signed_up_at": "2023-11-07T05:31:56Z",
"source": "slack_sync",
"has_account": true,
"flair_group_id": "grup_7m3x9k4t8plz",
"slack_profile_id": "U0BRY4S6LNQ",
"integrations": {
"slack": {
"profile": {
"object": "slack_profile",
"id": "U0BRY4S6LNQ",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"workspace_id": "T01ABC123",
"display_name": "<string>",
"real_name": "<string>",
"email": "[email protected]",
"pronouns": "<string>",
"avatar_url": "<string>",
"locale": "<string>",
"tz": "<string>",
"is_bot": true,
"is_app_user": true,
"is_workflow_bot": true,
"is_admin": true,
"is_owner": true,
"is_restricted": true,
"is_invited_user": true,
"is_deleted": true
}
}
},
"field_values": [
{
"object": "profile_field_value",
"id": "pfvl_3n8c5v1b7zrd",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"profile_id": "prof_9f2b8c1d4e5a",
"profile_field_id": "pfld_6t2k9w4m8xqa",
"profile_field": {
"object": "profile_field",
"id": "pfld_6t2k9w4m8xqa",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"label": "City",
"hint": "<string>",
"type": "text",
"is_active": true,
"show_label_on_site": true,
"is_value_restricted_to_members": true,
"is_featured": true
},
"value": "San Francisco",
"display_text": "<string>"
}
]
}
}{
"type": "about:blank",
"title": "Not found",
"status": 404,
"code": "not_found",
"detail": "<string>",
"param": "<string>",
"used_by": [
{
"object": "event",
"id": "cevt_V1StGXR8Z5jd",
"field": "cover_image_file_id"
}
],
"request_id": "req_9f2b8c1d4e5a6b7c8d9e0f1a2b3c4d5e"
}Compositions
Create composition delivery
Adds a destination to where a composition will go. It never sends: deliver on the composition sends to every destination it has. The destination is checked as a send would be, so a channel the Tightknit app cannot post in, or a workspace without the app, is refused now with a 400. An API key sends from the bot or the community, never as a member. Needs the editor role. Refused with a 400 on a composition that is scheduled, whose schedule sets where it goes, or already sent, and on one that already has 10 destinations; a stale expected_revision is a 409.
Create composition delivery
curl --request POST \
--url https://api.tightknit.ai/v1/composition_deliveries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"composition_id": "cmps_7h2k9m4n1p6q",
"identity": "bot",
"unfurl_links": true,
"channel_ids": [
"<string>"
],
"publish_to_site": true,
"thread_ts": "<string>",
"member_ids": [
"<string>"
],
"group_ids": [
"<string>"
],
"feed_ids": [
"<string>"
],
"event_ids": [
"<string>"
],
"expected_revision": 1
}
'import requests
url = "https://api.tightknit.ai/v1/composition_deliveries"
payload = {
"composition_id": "cmps_7h2k9m4n1p6q",
"identity": "bot",
"unfurl_links": True,
"channel_ids": ["<string>"],
"publish_to_site": True,
"thread_ts": "<string>",
"member_ids": ["<string>"],
"group_ids": ["<string>"],
"feed_ids": ["<string>"],
"event_ids": ["<string>"],
"expected_revision": 1
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
composition_id: 'cmps_7h2k9m4n1p6q',
identity: 'bot',
unfurl_links: true,
channel_ids: ['<string>'],
publish_to_site: true,
thread_ts: '<string>',
member_ids: ['<string>'],
group_ids: ['<string>'],
feed_ids: ['<string>'],
event_ids: ['<string>'],
expected_revision: 1
})
};
fetch('https://api.tightknit.ai/v1/composition_deliveries', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tightknit.ai/v1/composition_deliveries",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'composition_id' => 'cmps_7h2k9m4n1p6q',
'identity' => 'bot',
'unfurl_links' => true,
'channel_ids' => [
'<string>'
],
'publish_to_site' => true,
'thread_ts' => '<string>',
'member_ids' => [
'<string>'
],
'group_ids' => [
'<string>'
],
'feed_ids' => [
'<string>'
],
'event_ids' => [
'<string>'
],
'expected_revision' => 1
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.tightknit.ai/v1/composition_deliveries"
payload := strings.NewReader("{\n \"composition_id\": \"cmps_7h2k9m4n1p6q\",\n \"identity\": \"bot\",\n \"unfurl_links\": true,\n \"channel_ids\": [\n \"<string>\"\n ],\n \"publish_to_site\": true,\n \"thread_ts\": \"<string>\",\n \"member_ids\": [\n \"<string>\"\n ],\n \"group_ids\": [\n \"<string>\"\n ],\n \"feed_ids\": [\n \"<string>\"\n ],\n \"event_ids\": [\n \"<string>\"\n ],\n \"expected_revision\": 1\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.tightknit.ai/v1/composition_deliveries")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"composition_id\": \"cmps_7h2k9m4n1p6q\",\n \"identity\": \"bot\",\n \"unfurl_links\": true,\n \"channel_ids\": [\n \"<string>\"\n ],\n \"publish_to_site\": true,\n \"thread_ts\": \"<string>\",\n \"member_ids\": [\n \"<string>\"\n ],\n \"group_ids\": [\n \"<string>\"\n ],\n \"feed_ids\": [\n \"<string>\"\n ],\n \"event_ids\": [\n \"<string>\"\n ],\n \"expected_revision\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tightknit.ai/v1/composition_deliveries")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"composition_id\": \"cmps_7h2k9m4n1p6q\",\n \"identity\": \"bot\",\n \"unfurl_links\": true,\n \"channel_ids\": [\n \"<string>\"\n ],\n \"publish_to_site\": true,\n \"thread_ts\": \"<string>\",\n \"member_ids\": [\n \"<string>\"\n ],\n \"group_ids\": [\n \"<string>\"\n ],\n \"feed_ids\": [\n \"<string>\"\n ],\n \"event_ids\": [\n \"<string>\"\n ],\n \"expected_revision\": 1\n}"
response = http.request(request)
puts response.read_body{
"object": "composition_delivery",
"id": "cpdl_4k8m2n6p9q3r",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"composition_id": "cmps_7h2k9m4n1p6q",
"composition_version_id": "<string>",
"destination": "slack_channel",
"status": "pending",
"identity": "user",
"unfurl_links": true,
"slack_channel": {
"channel_ids": [
"<string>"
],
"publish_to_site": true,
"thread_ts": "<string>"
},
"slack_dm": {
"member_ids": [
"<string>"
],
"group_ids": [
"<string>"
],
"feed_ids": [
"<string>"
],
"event_ids": [
"<string>"
]
},
"email": {
"subject": "<string>",
"preview_text": "<string>",
"member_ids": [
"<string>"
],
"group_ids": [
"<string>"
],
"feed_ids": [
"<string>"
],
"event_ids": [
"<string>"
]
},
"counts": {
"pending": 1,
"claimed": 1,
"sent": 1,
"failed": 1,
"skipped": 1
},
"error_code": "<string>",
"delivered_at": "2023-11-07T05:31:56Z",
"created_by_id": "<string>",
"updated_by_id": "<string>",
"created_by": {
"object": "profile",
"id": "prof_9f2b8c1d4e5a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"name": "Ada Lovelace",
"full_name": "Ada Lovelace",
"display_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"avatar_url": "<string>",
"email": "[email protected]",
"email_domain": "example.com",
"locale": "<string>",
"is_team_member": true,
"is_deactivated": true,
"opt_out_of_public_profile": true,
"member_since": "2023-11-07T05:31:56Z",
"invited_at": "2023-11-07T05:31:56Z",
"signed_up_at": "2023-11-07T05:31:56Z",
"source": "slack_sync",
"has_account": true,
"flair_group_id": "grup_7m3x9k4t8plz",
"slack_profile_id": "U0BRY4S6LNQ",
"integrations": {
"slack": {
"profile": {
"object": "slack_profile",
"id": "U0BRY4S6LNQ",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"workspace_id": "T01ABC123",
"display_name": "<string>",
"real_name": "<string>",
"email": "[email protected]",
"pronouns": "<string>",
"avatar_url": "<string>",
"locale": "<string>",
"tz": "<string>",
"is_bot": true,
"is_app_user": true,
"is_workflow_bot": true,
"is_admin": true,
"is_owner": true,
"is_restricted": true,
"is_invited_user": true,
"is_deleted": true
}
}
},
"field_values": [
{
"object": "profile_field_value",
"id": "pfvl_3n8c5v1b7zrd",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"profile_id": "prof_9f2b8c1d4e5a",
"profile_field_id": "pfld_6t2k9w4m8xqa",
"profile_field": {
"object": "profile_field",
"id": "pfld_6t2k9w4m8xqa",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"label": "City",
"hint": "<string>",
"type": "text",
"is_active": true,
"show_label_on_site": true,
"is_value_restricted_to_members": true,
"is_featured": true
},
"value": "San Francisco",
"display_text": "<string>"
}
]
},
"updated_by": {
"object": "profile",
"id": "prof_9f2b8c1d4e5a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"name": "Ada Lovelace",
"full_name": "Ada Lovelace",
"display_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"avatar_url": "<string>",
"email": "[email protected]",
"email_domain": "example.com",
"locale": "<string>",
"is_team_member": true,
"is_deactivated": true,
"opt_out_of_public_profile": true,
"member_since": "2023-11-07T05:31:56Z",
"invited_at": "2023-11-07T05:31:56Z",
"signed_up_at": "2023-11-07T05:31:56Z",
"source": "slack_sync",
"has_account": true,
"flair_group_id": "grup_7m3x9k4t8plz",
"slack_profile_id": "U0BRY4S6LNQ",
"integrations": {
"slack": {
"profile": {
"object": "slack_profile",
"id": "U0BRY4S6LNQ",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"workspace_id": "T01ABC123",
"display_name": "<string>",
"real_name": "<string>",
"email": "[email protected]",
"pronouns": "<string>",
"avatar_url": "<string>",
"locale": "<string>",
"tz": "<string>",
"is_bot": true,
"is_app_user": true,
"is_workflow_bot": true,
"is_admin": true,
"is_owner": true,
"is_restricted": true,
"is_invited_user": true,
"is_deleted": true
}
}
},
"field_values": [
{
"object": "profile_field_value",
"id": "pfvl_3n8c5v1b7zrd",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"profile_id": "prof_9f2b8c1d4e5a",
"profile_field_id": "pfld_6t2k9w4m8xqa",
"profile_field": {
"object": "profile_field",
"id": "pfld_6t2k9w4m8xqa",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"label": "City",
"hint": "<string>",
"type": "text",
"is_active": true,
"show_label_on_site": true,
"is_value_restricted_to_members": true,
"is_featured": true
},
"value": "San Francisco",
"display_text": "<string>"
}
]
}
}{
"type": "about:blank",
"title": "Not found",
"status": 404,
"code": "not_found",
"detail": "<string>",
"param": "<string>",
"used_by": [
{
"object": "event",
"id": "cevt_V1StGXR8Z5jd",
"field": "cover_image_file_id"
}
],
"request_id": "req_9f2b8c1d4e5a6b7c8d9e0f1a2b3c4d5e"
}Authorizations
Body
application/json
Response
Success
Where it goes. One of:
slack_channel: a post in each ofslack_channel.channel_ids.slack_dm: a direct message to each memberslack_dmnames, directly or through a group, feed or event.email: an email to each memberemailnames who has an email address. Created in Studio; the API reads it but cannot create one.
Available options:
slack_channel, slack_dm, email How the delivery stands. One of:
pending: set up, and not sent yet; or sent and waiting to start.scheduled: set to go out at the composition’sscheduled_at.delivering: sending now.delivered: reached every recipient it could.partially_delivered: reached some recipients, and some failed.failed: no recipient was confirmed reached; every recipient failed or the delivery could not start.canceled: called off before it was sent.
Available options:
pending, scheduled, delivering, delivered, partially_delivered, failed, canceled Who it sends as. One of:
bot: the Tightknit app. Slack only.community: for a channel post, the app under the community name and logo; for an email, from the community. Not used for DMs.user: the Studio user who sent it. In Slack, from their own Slack account; for an email, from their name beside the community, with replies going to their email address. An API key cannot send as one.
Null when its settings cannot be read.
Available options:
user, bot, community Was this page helpful?

