Skip to content
Browse all functions

Add Carbone Cloud Template

carbone/addcarbonecloudtemplate

addcarbonecloudtemplate (Add Carbone Cloud Template) is a 1001fx API function in the group Carbone documents: POST https://api.1001fx.com/carbone/addcarbonecloudtemplate, 3 credits per call. It works as a ready-made module in n8n or as a plain HTTP call.

Adds a carbone cloud template to your account. Requires a Carbone Cloud API key.

  • This service is provided by an external service provider: Carbone.io. The data of the call is sent to the provider. More about service providers

Try it in the 1001fx app

Run addcarbonecloudtemplate in your browser with your API key – fill the form, click Run and get the answer or the file.

addcarbonecloudtemplate in the 1001fx app: the form with example values
Add Carbone Cloud Template in the 1001fx app

Endpoint

POSThttps://api.1001fx.com/carbone/addcarbonecloudtemplate
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
multipart/form-data

Parameters

  • filefilerequired

    Template file to be processed.

  • apiKeystringrequired

    Your carbone.io API Key.

    Example:
    yourApiKey

Examples

Upload an XLSX template

Uploads carbonetemplate.xlsx to Carbone Cloud (needs your Carbone API key).

Input

Should return the template
{
  "files": [
    {
      "name": "carbonetemplate.xlsx",
      "type": "",
      "path": "testdata/carbonetemplate.xlsx"
    }
  ]
}

Output · HTTP 200

Result is object cotaining the template id.
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/carbone/addcarbonecloudtemplate' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -F 'file=@carbonetemplate.xlsx'

Upload a DOCX template

Uploads carbonetemplate.docx to Carbone Cloud (needs your Carbone API key).

Input

Should return the template
{
  "files": [
    {
      "name": "carbonetemplate.docx",
      "type": "",
      "path": "testdata/carbonetemplate.docx"
    }
  ]
}

Output · HTTP 200

Result is object cotaining the template id.
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/carbone/addcarbonecloudtemplate' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -F 'file=@carbonetemplate.docx'

Upload an HTML template

Uploads carbonetemplate.html to Carbone Cloud (needs your Carbone API key).

Input

Should return the template
{
  "files": [
    {
      "name": "carbonetemplate.html",
      "type": "",
      "path": "testdata/carbonetemplate.html"
    }
  ]
}

Output · HTTP 200

Result is object cotaining the template id.
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/carbone/addcarbonecloudtemplate' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -F 'file=@carbonetemplate.html'

Upload an ODT template

Uploads carbonetemplate.odt to Carbone Cloud (needs your Carbone API key).

Input

Should return the template
{
  "files": [
    {
      "name": "carbonetemplate.odt",
      "type": "",
      "path": "testdata/carbonetemplate.odt"
    }
  ]
}

Output · HTTP 200

Result is object cotaining the template id.
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/carbone/addcarbonecloudtemplate' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -F 'file=@carbonetemplate.odt'

Try addcarbonecloudtemplate now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.017.04.2023created
Ask 1001fx