A File is an entity that can store a physical file and some metadata. It also provides an easy access to its size, mime-type, user-defined tags and description thus allowing easy sorting and searching among stored files. There are several methods of file uploading available: multipart/form-data encoded form, RAW POST (by sending file contents as POST body), fetching from URL (by providing the file URL via 'url' param) Attachment is an entity that is used to link a File to one or multiple objects like Customer, Dispute, Payment, Transaction, Order, Plan, Product, Invoice, Note. That allows to quickly find and use files related to those specific entities.
Retrieve a list of attachments. You may sort by the id, name, relatedId, relatedType, fileId, createdTime, and updatedTime.
limit | integer [ 0 .. 1000 ] The collection items limit. |
offset | integer >= 0 The collection items offset. |
filter | string The collection items filter requires a special format. Use "," for multiple allowed values. Use ";" for multiple fields. See the filter guide for more options and examples about this format. |
q | string The partial search of the text fields. |
expand | string Expand a response to get a full related object included inside of the |
fields | string Limit the returned fields to the list specified, separated by comma. Note that id is always returned. |
sort | Array of strings The collection items sort field and order (prefix with "-" for descending sort). |
Organization-Id | string (ResourceId) <= 50 characters Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21 Organization identifier in scope of which need to perform request (if not specified, the default organization will be used). |
Rate-Limit-Limit | integer The number of allowed requests in the current period. |
Rate-Limit-Remaining | integer The number of remaining requests in the current period. |
Rate-Limit-Reset | string The date in format defined by RFC 822 when the current period will reset. |
Pagination-Total | integer Total items count. |
Pagination-Limit | integer Items per page limit. |
Pagination-Offset | integer Pagination offset. |
id | string <= 50 characters The resource ID. Defaults to UUID v4. |
fileId required | string Linked File object id. |
relatedType required | string Enum: "customer" "dispute" "gateway-timeline-comment" "invoice" "organization" "payment" "plan" "product" "subscription" "transaction" "customer-timeline-comment" "transaction-timeline-comment" "order-timeline-comment" Linked object type. |
relatedId required | string Linked object Id. |
name | string The Original Attachment name. |
description | string The Attachment description. |
createdTime | string <date-time> Creation date/time. |
updatedTime | string <date-time> Latest update date/time. |
Array of SelfLink (object) or FileLink (object) or AttachmentResourceLink (object) >= 3 items The links related to resource. | |
Array of FileEmbed (object) non-empty Any embedded objects available that are requested by the |
$attachments = $client->attachments()->search([ 'filter' => 'relatedType:customer', ]);
[- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "fileId": "string",
- "relatedType": "customer",
- "relatedId": "string",
- "name": "string",
- "description": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}
], - "_embedded": [
- {
- "file": {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "extension": "string",
- "description": "string",
- "tags": [
- "string"
], - "mime": "image/png",
- "size": 0,
- "width": 0,
- "height": 0,
- "sha1": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "isPublic": true,
- "_links": [
- {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}
]
}
}
]
}
]
Create an Attachment.
Organization-Id | string (ResourceId) <= 50 characters Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21 Organization identifier in scope of which need to perform request (if not specified, the default organization will be used). |
Attachment resource.
fileId required | string Linked File object id. |
relatedType required | string Enum: "customer" "dispute" "gateway-timeline-comment" "invoice" "organization" "payment" "plan" "product" "subscription" "transaction" "customer-timeline-comment" "transaction-timeline-comment" "order-timeline-comment" Linked object type. |
relatedId required | string Linked object Id. |
name | string The Original Attachment name. |
description | string The Attachment description. |
Rate-Limit-Limit | integer The number of allowed requests in the current period. |
Rate-Limit-Remaining | integer The number of remaining requests in the current period. |
Rate-Limit-Reset | string The date in format defined by RFC 822 when the current period will reset. |
id | string <= 50 characters The resource ID. Defaults to UUID v4. |
fileId required | string Linked File object id. |
relatedType required | string Enum: "customer" "dispute" "gateway-timeline-comment" "invoice" "organization" "payment" "plan" "product" "subscription" "transaction" "customer-timeline-comment" "transaction-timeline-comment" "order-timeline-comment" Linked object type. |
relatedId required | string Linked object Id. |
name | string The Original Attachment name. |
description | string The Attachment description. |
createdTime | string <date-time> Creation date/time. |
updatedTime | string <date-time> Latest update date/time. |
Array of SelfLink (object) or FileLink (object) or AttachmentResourceLink (object) >= 3 items The links related to resource. | |
Array of FileEmbed (object) non-empty Any embedded objects available that are requested by the |
{- "fileId": "string",
- "relatedType": "customer",
- "relatedId": "string",
- "name": "string",
- "description": "string"
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "fileId": "string",
- "relatedType": "customer",
- "relatedId": "string",
- "name": "string",
- "description": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}
], - "_embedded": [
- {
- "file": {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "extension": "string",
- "description": "string",
- "tags": [
- "string"
], - "mime": "image/png",
- "size": 0,
- "width": 0,
- "height": 0,
- "sha1": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "isPublic": true,
- "_links": [
- {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}
]
}
}
]
}
Retrieve a Attachment with specified identifier string.
id required | string <= 50 characters ^[@~\-\.\w]+$ The resource identifier string. |
Organization-Id | string (ResourceId) <= 50 characters Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21 Organization identifier in scope of which need to perform request (if not specified, the default organization will be used). |
Rate-Limit-Limit | integer The number of allowed requests in the current period. |
Rate-Limit-Remaining | integer The number of remaining requests in the current period. |
Rate-Limit-Reset | string The date in format defined by RFC 822 when the current period will reset. |
id | string <= 50 characters The resource ID. Defaults to UUID v4. |
fileId required | string Linked File object id. |
relatedType required | string Enum: "customer" "dispute" "gateway-timeline-comment" "invoice" "organization" "payment" "plan" "product" "subscription" "transaction" "customer-timeline-comment" "transaction-timeline-comment" "order-timeline-comment" Linked object type. |
relatedId required | string Linked object Id. |
name | string The Original Attachment name. |
description | string The Attachment description. |
createdTime | string <date-time> Creation date/time. |
updatedTime | string <date-time> Latest update date/time. |
Array of SelfLink (object) or FileLink (object) or AttachmentResourceLink (object) >= 3 items The links related to resource. | |
Array of FileEmbed (object) non-empty Any embedded objects available that are requested by the |
$attachment = $client->attachments()->load('attachmentId');
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "fileId": "string",
- "relatedType": "customer",
- "relatedId": "string",
- "name": "string",
- "description": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}
], - "_embedded": [
- {
- "file": {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "extension": "string",
- "description": "string",
- "tags": [
- "string"
], - "mime": "image/png",
- "size": 0,
- "width": 0,
- "height": 0,
- "sha1": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "isPublic": true,
- "_links": [
- {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}
]
}
}
]
}
Update the Attachment with predefined ID.
id required | string <= 50 characters ^[@~\-\.\w]+$ The resource identifier string. |
Organization-Id | string (ResourceId) <= 50 characters Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21 Organization identifier in scope of which need to perform request (if not specified, the default organization will be used). |
Attachment resource.
fileId required | string Linked File object id. |
relatedType required | string Enum: "customer" "dispute" "gateway-timeline-comment" "invoice" "organization" "payment" "plan" "product" "subscription" "transaction" "customer-timeline-comment" "transaction-timeline-comment" "order-timeline-comment" Linked object type. |
relatedId required | string Linked object Id. |
name | string The Original Attachment name. |
description | string The Attachment description. |
Rate-Limit-Limit | integer The number of allowed requests in the current period. |
Rate-Limit-Remaining | integer The number of remaining requests in the current period. |
Rate-Limit-Reset | string The date in format defined by RFC 822 when the current period will reset. |
id | string <= 50 characters The resource ID. Defaults to UUID v4. |
fileId required | string Linked File object id. |
relatedType required | string Enum: "customer" "dispute" "gateway-timeline-comment" "invoice" "organization" "payment" "plan" "product" "subscription" "transaction" "customer-timeline-comment" "transaction-timeline-comment" "order-timeline-comment" Linked object type. |
relatedId required | string Linked object Id. |
name | string The Original Attachment name. |
description | string The Attachment description. |
createdTime | string <date-time> Creation date/time. |
updatedTime | string <date-time> Latest update date/time. |
Array of SelfLink (object) or FileLink (object) or AttachmentResourceLink (object) >= 3 items The links related to resource. | |
Array of FileEmbed (object) non-empty Any embedded objects available that are requested by the |
Rate-Limit-Limit | integer The number of allowed requests in the current period. |
Rate-Limit-Remaining | integer The number of remaining requests in the current period. |
Rate-Limit-Reset | string The date in format defined by RFC 822 when the current period will reset. |
id | string <= 50 characters The resource ID. Defaults to UUID v4. |
fileId required | string Linked File object id. |
relatedType required | string Enum: "customer" "dispute" "gateway-timeline-comment" "invoice" "organization" "payment" "plan" "product" "subscription" "transaction" "customer-timeline-comment" "transaction-timeline-comment" "order-timeline-comment" Linked object type. |
relatedId required | string Linked object Id. |
name | string The Original Attachment name. |
description | string The Attachment description. |
createdTime | string <date-time> Creation date/time. |
updatedTime | string <date-time> Latest update date/time. |
Array of SelfLink (object) or FileLink (object) or AttachmentResourceLink (object) >= 3 items The links related to resource. | |
Array of FileEmbed (object) non-empty Any embedded objects available that are requested by the |
{- "fileId": "string",
- "relatedType": "customer",
- "relatedId": "string",
- "name": "string",
- "description": "string"
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "fileId": "string",
- "relatedType": "customer",
- "relatedId": "string",
- "name": "string",
- "description": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}
], - "_embedded": [
- {
- "file": {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "extension": "string",
- "description": "string",
- "tags": [
- "string"
], - "mime": "image/png",
- "size": 0,
- "width": 0,
- "height": 0,
- "sha1": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "isPublic": true,
- "_links": [
- {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}
]
}
}
]
}
Delete the Attachment with predefined identifier string.
id required | string <= 50 characters ^[@~\-\.\w]+$ The resource identifier string. |
Organization-Id | string (ResourceId) <= 50 characters Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21 Organization identifier in scope of which need to perform request (if not specified, the default organization will be used). |
$client->attachments()->delete('attachmentId');
{- "status": 400,
- "title": "string",
- "detail": "string",
- "error": "string"
}
Retrieve a list of files.
limit | integer [ 0 .. 1000 ] The collection items limit. |
offset | integer >= 0 The collection items offset. |
filter | string The collection items filter requires a special format. Use "," for multiple allowed values. Use ";" for multiple fields. See the filter guide for more options and examples about this format. |
q | string The partial search of the text fields. |
expand | string Expand a response to get a full related object included inside of the |
fields | string Limit the returned fields to the list specified, separated by comma. Note that id is always returned. |
sort | Array of strings The collection items sort field and order (prefix with "-" for descending sort). |
Organization-Id | string (ResourceId) <= 50 characters Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21 Organization identifier in scope of which need to perform request (if not specified, the default organization will be used). |
Rate-Limit-Limit | integer The number of allowed requests in the current period. |
Rate-Limit-Remaining | integer The number of remaining requests in the current period. |
Rate-Limit-Reset | string The date in format defined by RFC 822 when the current period will reset. |
Pagination-Total | integer Total items count. |
Pagination-Limit | integer Items per page limit. |
Pagination-Offset | integer Pagination offset. |
id | string <= 50 characters The resource ID. Defaults to UUID v4. |
name | string Original File name. |
extension | string The File extension. |
description | string The File description. |
tags | Array of strings The tags list. |
mime | string Enum: "image/png" "image/jpeg" "image/gif" "application/pdf" "audio/mpeg" The mime type. |
size | integer The File size in bytes. |
width | integer Image width, applicable to images only. |
height | integer Image height, applicable to images only. |
sha1 | string Hash sum of the file. |
createdTime | string <date-time> The upload date/time. |
updatedTime | string <date-time> The latest update date/time. |
isPublic | boolean Is the file available publicly (without authentication). If true, the permalink in the _links section contains the public URL. |
Array of SelfLink (object) or FileDownloadLink (object) or SignedLinkLink (object) or PermalinkLink (object) >= 3 items The links related to resource. |
$files = $client->files()->search([ 'filter' => 'name:TestFile', ]);
[- {
- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "extension": "string",
- "description": "string",
- "tags": [
- "string"
], - "mime": "image/png",
- "size": 0,
- "width": 0,
- "height": 0,
- "sha1": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "isPublic": true,
- "_links": [
- {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}
]
}
]
Additionally, a file can be sent with:.
file
is an uploaded file)Content-Type
. No additional
properties can be set along the request dataThe following file types only are allowed:
If using a Publishable Api Key, only private files can be created. The files can later on be modified or used using a secret API key.
Organization-Id | string (ResourceId) <= 50 characters Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21 Organization identifier in scope of which need to perform request (if not specified, the default organization will be used). |
file required | string The file in base64 encoded format. |
isPublic | boolean The File visibility. If public a permalink is provided. |
name | string The file name used for downloading. |
description | string The file description. |
tags | Array of strings The tags list. |
Rate-Limit-Limit | integer The number of allowed requests in the current period. |
Rate-Limit-Remaining | integer The number of remaining requests in the current period. |
Rate-Limit-Reset | string The date in format defined by RFC 822 when the current period will reset. |
id | string <= 50 characters The resource ID. Defaults to UUID v4. |
name | string Original File name. |
extension | string The File extension. |
description | string The File description. |
tags | Array of strings The tags list. |
mime | string Enum: "image/png" "image/jpeg" "image/gif" "application/pdf" "audio/mpeg" The mime type. |
size | integer The File size in bytes. |
width | integer Image width, applicable to images only. |
height | integer Image height, applicable to images only. |
sha1 | string Hash sum of the file. |
createdTime | string <date-time> The upload date/time. |
updatedTime | string <date-time> The latest update date/time. |
isPublic | boolean Is the file available publicly (without authentication). If true, the permalink in the _links section contains the public URL. |
Array of SelfLink (object) or FileDownloadLink (object) or SignedLinkLink (object) or PermalinkLink (object) >= 3 items The links related to resource. |
{- "file": "R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=",
- "isPublic": false,
- "name": "logo.png",
- "description": "My file description",
- "tags": [
- "test",
- "tags"
]
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "extension": "string",
- "description": "string",
- "tags": [
- "string"
], - "mime": "image/png",
- "size": 0,
- "width": 0,
- "height": 0,
- "sha1": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "isPublic": true,
- "_links": [
- {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}
]
}
Retrieve a File with specified identifier string.
id required | string <= 50 characters ^[@~\-\.\w]+$ The resource identifier string. |
Organization-Id | string (ResourceId) <= 50 characters Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21 Organization identifier in scope of which need to perform request (if not specified, the default organization will be used). |
Rate-Limit-Limit | integer The number of allowed requests in the current period. |
Rate-Limit-Remaining | integer The number of remaining requests in the current period. |
Rate-Limit-Reset | string The date in format defined by RFC 822 when the current period will reset. |
id | string <= 50 characters The resource ID. Defaults to UUID v4. |
name | string Original File name. |
extension | string The File extension. |
description | string The File description. |
tags | Array of strings The tags list. |
mime | string Enum: "image/png" "image/jpeg" "image/gif" "application/pdf" "audio/mpeg" The mime type. |
size | integer The File size in bytes. |
width | integer Image width, applicable to images only. |
height | integer Image height, applicable to images only. |
sha1 | string Hash sum of the file. |
createdTime | string <date-time> The upload date/time. |
updatedTime | string <date-time> The latest update date/time. |
isPublic | boolean Is the file available publicly (without authentication). If true, the permalink in the _links section contains the public URL. |
Array of SelfLink (object) or FileDownloadLink (object) or SignedLinkLink (object) or PermalinkLink (object) >= 3 items The links related to resource. |
$file = $client->files()->load('fileId');
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "extension": "string",
- "description": "string",
- "tags": [
- "string"
], - "mime": "image/png",
- "size": 0,
- "width": 0,
- "height": 0,
- "sha1": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "isPublic": true,
- "_links": [
- {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}
]
}
Update the File with predefined ID. Note that file can be uploaded with POST. only.
id required | string <= 50 characters ^[@~\-\.\w]+$ The resource identifier string. |
Organization-Id | string (ResourceId) <= 50 characters Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21 Organization identifier in scope of which need to perform request (if not specified, the default organization will be used). |
File resource.
name | string Original File name. |
extension | string The File extension. |
description | string The File description. |
tags | Array of strings The tags list. |
isPublic | boolean Is the file available publicly (without authentication). If true, the permalink in the _links section contains the public URL. |
Rate-Limit-Limit | integer The number of allowed requests in the current period. |
Rate-Limit-Remaining | integer The number of remaining requests in the current period. |
Rate-Limit-Reset | string The date in format defined by RFC 822 when the current period will reset. |
id | string <= 50 characters The resource ID. Defaults to UUID v4. |
name | string Original File name. |
extension | string The File extension. |
description | string The File description. |
tags | Array of strings The tags list. |
mime | string Enum: "image/png" "image/jpeg" "image/gif" "application/pdf" "audio/mpeg" The mime type. |
size | integer The File size in bytes. |
width | integer Image width, applicable to images only. |
height | integer Image height, applicable to images only. |
sha1 | string Hash sum of the file. |
createdTime | string <date-time> The upload date/time. |
updatedTime | string <date-time> The latest update date/time. |
isPublic | boolean Is the file available publicly (without authentication). If true, the permalink in the _links section contains the public URL. |
Array of SelfLink (object) or FileDownloadLink (object) or SignedLinkLink (object) or PermalinkLink (object) >= 3 items The links related to resource. |
{- "name": "string",
- "extension": "string",
- "description": "string",
- "tags": [
- "string"
], - "isPublic": true
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "name": "string",
- "extension": "string",
- "description": "string",
- "tags": [
- "string"
], - "mime": "image/png",
- "size": 0,
- "width": 0,
- "height": 0,
- "sha1": "string",
- "createdTime": "2019-08-24T14:15:22Z",
- "updatedTime": "2019-08-24T14:15:22Z",
- "isPublic": true,
- "_links": [
- {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}, - {
- "rel": "self",
- "href": "string"
}
]
}
Delete the File with predefined identifier string.
id required | string <= 50 characters ^[@~\-\.\w]+$ The resource identifier string. |
Organization-Id | string (ResourceId) <= 50 characters Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21 Organization identifier in scope of which need to perform request (if not specified, the default organization will be used). |
$client->files()->delete('fileId');
{- "status": 400,
- "title": "string",
- "detail": "string",
- "error": "string"
}
Download a file.
id required | string <= 50 characters ^[@~\-\.\w]+$ The resource identifier string. |
imageSize | string^[1-9]{1}[0-9]{1,3}x[1-9]{1}[0-9]{1,3}$ Example: imageSize=700x700 Resize image to specified size. Supports any sizes from 10x10 to 2000x2000 (format |
Organization-Id | string (ResourceId) <= 50 characters Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21 Organization identifier in scope of which need to perform request (if not specified, the default organization will be used). |
Content-Length | integer The number of bytes in the file. |
Content-Type | string The MIME type of the file. |
const file = await api.files.download({id: 'my-file-id'}); // access the file ArrayBuffer to view the content console.log(file.data);
"string"
Download image in specific format. Images are converted server-side.
id required | string <= 50 characters ^[@~\-\.\w]+$ The resource identifier string. |
extension required | string Enum: ".png" ".jpg" ".gif" File extension which also indicates the desired file format. |
Organization-Id | string (ResourceId) <= 50 characters Example: 4f6cf35x-2c4y-483z-a0a9-158621f77a21 Organization identifier in scope of which need to perform request (if not specified, the default organization will be used). |
Content-Length | integer The number of bytes in the file. |
Content-Type | string The MIME type of the file. |
curl -i -X GET \ https://api-sandbox.rebilly.com/files/:id/download:extension \ -H 'Organization-Id: 4f6cf35x-2c4y-483z-a0a9-158621f77a21' \ -H 'REB-APIKEY: YOUR_API_KEY_HERE'
"string"