EnderDashEnderDash

Create Organization Logo Upload Url

Create Organization Logo Upload Url. This POST operation is exposed from the auth router on EnderDash's tRPC HTTP API surface. Authentication is required with either a signed-in session cookie or a user API key.

POST
/auth.createOrganizationLogoUploadUrl

Create Organization Logo Upload Url. This POST operation is exposed from the auth router on EnderDash's tRPC HTTP API surface. Authentication is required with either a signed-in session cookie or a user API key.

Authorization

better-auth.session_token<token>

Signed-in EnderDash browser session cookie.

In: cookie

Request Body

application/json

Serialized tRPC procedure input for this mutation. Responses use the standard tRPC HTTP result envelope.

TypeScript Definitions

Use the request body type in TypeScript.

fileName*string
fileSize*number
fileType*string

Response Body

application/json

application/json

curl -X POST "https://app.enderdash.com/api/trpc/auth.createOrganizationLogoUploadUrl" \  -H "Content-Type: application/json" \  -d '{    "fileName": "string",    "fileSize": 0,    "fileType": "string"  }'
{  "result": {    "data": {      "key": "string",      "uploadUrl": "string",      "publicUrl": "string"    }  }}