List pending teammate shares awaiting per-file approval.
GET
/v1/inbox/pending
const url = 'https://api.share2.us/v1/inbox/pending';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.share2.us/v1/inbox/pending \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Pending teammate shares, metadata only.
Media typeapplication/json
object
shares
required
Array<object>
object
public_id
required
string
file_name
required
string
filename
string
size_bytes
required
integer format: int64
content_type
required
string
content_class
required
string
sender_email
string | null format: email
from_device_name
string | null
created_at
required
string format: date-time
expires_at
required
string format: date-time
Example
{ "shares": [ { "content_class": "text" } ]}default
Section titled “default”Standard error envelope.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
request_id
required
string
Example
{ "error": { "code": "quota_exceeded" }}