Images
Create Image Upload Url
POST
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
application/json- body
type*stringValue in
"user-avatar""organization-logo""project-icon"organizationId?string|nullprojectId?string|nullSuccess
application/json- response
imageId*stringuploadURL*stringcurl -X POST "https://example.com/v0/images/upload-url" \ -H "Content-Type: application/json" \ -d '{ "type": "user-avatar" }'{ "imageId": "string", "uploadURL": "string"}