Secure asset API
Connect any app in minutes
Use Bearer API keys from your dashboard. TeamHub already includes a client helper โ upload, download, and manage files through one vault URL.
โก Quick Setup
๐ Secure by Design
Flexible Integration
Upload, download & manage assets
Create a key
Register, open the dashboard, copy the key shown once โ same flow as OpenAI-style keys.
Call the API
Create a session on the server, upload from the browser with a one-time token, save the file id.
Sign downloads
Request a short-lived signed URL for preview or download. Rotate keys anytime.
Live endpoint
https://assets.smrtech.co/api/v1Http::baseUrl('https://assets.smrtech.co')
->withToken(config('assets.api_key'))
->post('/api/v1/sessions', [
'original_name' => $file->getClientOriginalName(),
'size_bytes' => $file->getSize(),
]);
await fetch(session.upload_url, {
method: 'POST',
headers: { 'X-Upload-Token': session.upload_token },
body: formDataWithFile,
});
curl -X POST "https://assets.smrtech.co/api/v1/sessions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"original_name":"photo.jpg","size_bytes":12345}'