Skip to content

Upload an image​

POST
/v1/apps/{app_id}/media

Stores a png, jpeg, gif or webp image (max 5 MB) in the company's object store and returns its public URL for use as a notification image_url. The type is detected from the file content. Unused uploads are removed automatically.

Authorizations​

SessionAuth

Admin session cookie set by POST /v1/auth/login. Dashboard-only management.

Type
API Key (cookie: notti_session)

Parameters​

Path Parameters

app_id*

App ID

Type
string
Required

Request Body​

multipart/form-data

Image file

Format"binary"

Responses​

Created

application/json
JSON
{
  
"id": "string",
  
"url": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Media upload availability​

GET
/v1/apps/{app_id}/media/status

Reports whether the company has an object store configured and the upload limits.

Authorizations​

SessionAuth

Admin session cookie set by POST /v1/auth/login. Dashboard-only management.

Type
API Key (cookie: notti_session)

Parameters​

Path Parameters

app_id*

App ID

Type
string
Required

Responses​

OK

application/json
JSON
{
  
"allowed_types": [
  
  
"string"
  
],
  
"configured": true,
  
"max_bytes": 0
}

Playground​

Authorization
Variables
Key
Value

Samples​


Powered by VitePress OpenAPI