Create a file
Create file
POST
https://ris.rightsline.com/v4/file
This endpoint allows you to create a new file.
Headers
Name | Type | Description |
---|---|---|
x-api-key | string | Your company's API key. |
Authentication | string | Authentication token. |
Request Body
Name | Type | Description |
---|---|---|
title | string | The title of the new file. |
template | object | The template of the new file. |
template.templateId | string | The unique ID of the template to assign to the file. |
characteristics | object | The field values to assign to the file. |
parentRelationship | array | Create this file as a child of a deal. |
Example: Upload a file
1. Create file in Rightsline
POST: https://ris.rightsline.com/v4/file (NOTE: file_name
char is required)
A successful response will return the following payload:
You will use the url
in the response body to upload the file.
2. Upload file data
When uploading the file, you do not need to include any Authorization header, as the URL is already authorized to upload to the specified location.
Last updated