POST /files
Creates a file.
Additionally, a file can be sent by:
- Multipart/form-data POST request: In this request, the file is uploaded and all property names are the same as the JSON names.
- File body request: In this request,
the file body is sent as the request body, with the appropriate
Content-Type. No additional properties can be set with the request data.
Permitted file types: .jpg, .png, .gif, and .pdf.
When using a publishable API key, only private files can be created. The files can be modified at a later point or time, or can be accessed using a secret API key.
Servers
- https://api-sandbox.rebilly.com/organizations/{organizationId}
- https://api.rebilly.com/organizations/{organizationId}
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.