Images
Create Image Upload Url
Authorization
apiKeyAuth x-api-key<token>
FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v0/images/upload-url" \ -H "Content-Type: application/json" \ -d '{ "type": "user-avatar" }'{ "imageId": "string", "uploadURL": "string"}type*string
Value in
- "user-avatar"
- "organization-logo"
- "project-icon"
organizationId?string|null
projectId?string|null