POST
/
integrations
/
s3
curl --request POST \
  --url https://api.carbon.ai/integrations/s3 \
  --header 'Content-Type: application/json' \
  --header 'authorization: <api-key>' \
  --data '{
  "access_key": "<string>",
  "access_key_secret": "<string>"
}'
{
  "id": 123,
  "data_source_external_id": "<string>",
  "data_source_type": "GOOGLE_DRIVE",
  "token": {},
  "sync_status": "QUEUED_FOR_SYNCING",
  "source_items_synced_at": "2023-11-07T05:31:56Z",
  "organization_user_id": 123,
  "organization_id": 123,
  "organization_supplied_user_id": "<string>",
  "revoked_access": true,
  "last_synced_at": "2023-11-07T05:31:56Z",
  "last_sync_action": "ADD",
  "enable_auto_sync": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "files_synced_at": "2023-11-07T05:31:56Z"
}

Authorizations

authorization
string
headerrequired

token <token>, corresponds to temporary access tokens.

Body

application/json
access_key
string
required
access_key_secret
string
required

Response

200 - application/json
id
integer
required
data_source_external_id
string | null
required
data_source_type
enum<string>
required
Available options:
GOOGLE_DRIVE,
NOTION,
NOTION_DATABASE,
INTERCOM,
DROPBOX,
ONEDRIVE,
SHAREPOINT,
CONFLUENCE,
BOX,
ZENDESK,
ZOTERO,
S3,
GMAIL,
OUTLOOK,
TEXT,
CSV,
TSV,
PDF,
DOCX,
PPTX,
XLSX,
MD,
RTF,
JSON,
RAW_TEXT,
WEB_SCRAPE,
RSS_FEED,
FRESHDESK,
GITBOOK,
SALESFORCE,
GITHUB,
JPG,
PNG,
JPEG,
MP3,
MP4,
MP2,
AAC,
WAV,
FLAC,
PCM,
M4A,
OGG,
OPUS,
WEBM
token
object | null
required
sync_status
enum<string>
required
Available options:
QUEUED_FOR_SYNCING,
SYNCING,
READY,
SYNC_ERROR
source_items_synced_at
string | null
required
organization_user_id
integer
required
organization_id
integer
required
organization_supplied_user_id
string
required
revoked_access
boolean
required
last_synced_at
string
required
last_sync_action
enum<string>
required
Available options:
ADD,
UPDATE,
CANCEL,
REVOKE
enable_auto_sync
boolean | null
required
created_at
string
required
updated_at
string
required
files_synced_at
string | null
required