Skip to main content
POST
Store a file

Authorizations

api_access_token
string
header
required

This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.

Path Parameters

id
integer
required

The numeric ID of the account

Body

application/json

Send exactly one of these. attachment requires multipart/form-data; external_url works as JSON.

attachment
file

The file, as multipart/form-data.

external_url
string

A public http:// or https:// URL for Tied to fetch and store.

Example:

"https://app.tied.com/brand-assets/tied-app-icon.png"

Response

Success

file_url
string

A signed, expiring URL for the stored file. Do not persist it — mint a fresh one when you need it.

blob_key
string

The storage key.

blob_id
integer

The value to pass as blob_id to the endpoints that attach a stored file, such as portal logos and message attachments.