- Overview
- Reference
- API Structure
- Public API
- Introduction
- Loyalty Club
- Member
- Authentication
- Profile
- Programs
- Cars
- Benefits
- Verification
- Password
- Integrations
- Receipts
- Misc
- Files
- Offers
- Rewards
- Games
- CMS Content
- Management API
- Introduction
- Core
- Applications
- Privacy Policy
- Cookie Policy
- Terms
- Domains
- Domain Email Configs
- Domain Web Configs
- TLS Certificates
- Links
- Fonts
- Subunits
- Subunits Scopes
- SMS Sender Identities
- Contacts
- Translations
- Promotions Policy
- Tracker
- Social Logins
- Billing
- Members
- Listing Members
- Member Profile
- Imports
- Groups
- Programs
- Benefits
- Cars
- Webhooks
- Misc
- Receipts
- Stores
- Offers
- Rewards
- Triggerer
- CMS
- Introduction
- Pages
- Components
- Website
- Website Domains
- Venue Info
- Landing Pages
- Landing Page Templates
- Articles
- Events
- Events Groups
- Job Postings
- Press Releases
- Tags
- Service Messages
- Content Prototypes
- ContentPrototype Model
- List Content Prototypes
- Show Content Prototype
- Create Content Prototype
- Update Content Prototype
- Destroy Content Prototype
- List Organization Content Prototypes
- Show Organization Content Prototype
- Create Organization Content Prototype
- Update Organization Content Prototype
- Destroy Organization Content Prototype
- Mixed Content
- Attachments
- Events
- Games
- Scraper
- Files
- Receipts
- Users API
- Operations API
- Introduction
- Manager API
- Tenant API
- Messaging API
- Data API
- ML API
- Introduction
- Predict Sending KPI v1
- Explain Sending KPI Prediction v1
- Predict Sending KPI In Date Range v1
- Predict Sending Popularity v2
- Predict Sending Text Popularity v2
- Predict Sending Time Series Popularity v2
- Explain Sending Popularity Prediction v2
- Explain Sending Text Popularity Prediction v2
- Explain Sending Time Series Popularity Prediction v2
- Recommend sending time v2
- Generate Image
- Generate Text
- Generate Sending Text
- (Draft) Reporting API
- Other
Start Upload
POST
https://api.mpc.dev.placewise.com/v1/members/me/files/uploads/start
API Permit:Files:Api:Members:Me:Uploads:Upload
API Context:Loyalty Club
Authorizations:TokenMember
Request
Header Params
X-Loyalty-Club-Slug
stringÂ
required
Default:
{{LOYALTY_CLUB_SLUG}}
X-Client-Authorization
stringÂ
optional
Default:
{{API_TOKEN}}
Body Params application/json
file_type
stringÂ
required
Example:
receipt_submission
mime_type
enum<string>Â
required
Allowed values:
storecinemadiningoffice
Default:
store
Example:
image/jpeg
size
integerÂ
required
> 0
Example:
1000
file_name
string  | nullÂ
optional
Example:
my-file.jpeg
file_identifier
string  | nullÂ
optional
Example:
42
file_sub_identifier
string  | nullÂ
optional
Example
{
"file_type": "receipt_submission",
"mime_type": "store",
"size": 1000,
"file_name": "my-file.jpeg",
"file_identifier": "42",
"file_sub_identifier": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mpc.dev.placewise.com/v1/members/me/files/uploads/start' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Loyalty-Club-Slug;' \
--header 'X-Customer;' \
--header 'Authorization;' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200Success
application/json
Body
file_handle
stringÂ
required
file_record
object (FileRecord)Â
required
id
integerÂ
required
type
stringÂ
required
identifier
string  | nullÂ
required
sub_identifier
string  | nullÂ
optional
customer_id
integer  | nullÂ
required
loyalty_club_id
integer  | nullÂ
required
user_id
string  | nullÂ
required
url
nullÂ
required
filename
string  | nullÂ
required
mime_type
stringÂ
required
size
integerÂ
required
created_at
stringÂ
required
updated_at
stringÂ
required
active
booleanÂ
required
last_active_at
nullÂ
required
duplicated_from_file_record_id
nullÂ
required
Example
{
"file_handle": "string",
"file_record": {
"id": 0,
"type": "string",
"identifier": "string",
"sub_identifier": "string",
"customer_id": 0,
"loyalty_club_id": 0,
"user_id": "string",
"url": null,
"filename": "string",
"mime_type": "string",
"size": 0,
"created_at": "string",
"updated_at": "string",
"active": true,
"last_active_at": null,
"duplicated_from_file_record_id": null
}
}
Modified at 2025-02-25 11:17:11