---
agentTools:
  projectIndex: https://linkedin-api-service.readme.io/llms.txt
---

# Add template

--------------------------------------

Create a new LinkedIn template.

Please keep in mind that we support bold characters and you can use '\n' to go to a new line.

example:
{
  "PostingDay": "2024-02-14",
  "Text": "Hello i'm David! \nThis is a 𝘁𝗲𝘀𝘁.",
  "Title": "Example Title 3"
}

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "AddLinkedinTemplateSchemaV2-1": {
        "properties": {
          "FileName": {
            "example": "ciao123.png",
            "nullable": true,
            "type": "string"
          },
          "MediaUrn": {
            "example": "",
            "nullable": true,
            "type": "string"
          },
          "MediaUrnExpiration": {
            "example": "",
            "nullable": true,
            "type": "string"
          },
          "PostingDay": {
            "example": "",
            "format": "date",
            "nullable": true,
            "type": "string"
          },
          "Text": {
            "example": "Text",
            "type": "string"
          },
          "Title": {
            "example": "Title",
            "type": "string"
          }
        },
        "required": [
          "Text",
          "Title"
        ],
        "type": "object"
      },
      "ErrorMessageV2-1": {
        "properties": {
          "Message": {
            "example": "Attention, <Error_message>",
            "type": "string"
          }
        },
        "type": "object"
      },
      "OperationBaseResponseSchemaV2-1": {
        "properties": {
          "InsertId": {
            "example": null,
            "type": "integer"
          },
          "Message": {
            "example": "Well done! Action correctly performed.",
            "type": "string"
          },
          "Result": {
            "example": true,
            "type": "boolean"
          },
          "StatusCode": {
            "example": 200,
            "type": "integer"
          }
        },
        "type": "object"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "bearerFormat": "JWT",
        "description": "Enter the token with the `Bearer: ` prefix, e.g. 'Bearer abcde12345'.",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "contact": {
      "email": "tomaas.starrantino@roxpay.eu",
      "name": "Tomaas"
    },
    "description": "🚀 Welcome to the Rox API Hub! 🌐\n\n&nbsp;\n\nUnleash the power of innovation with our cutting-edge RESTful API, designed to seamlessly connect you to a world of possibilities. \n\nWhether you're a coding maestro, a data explorer, or a digital architect, our API is your canvas to create, experiment, and transform.\n\nNavigate through our meticulously crafted endpoints and bask in the elegance of intuitive design. Embrace the simplicity of REST as you orchestrate requests, explore responses, and embark on a journey where data meets destiny.\n\nAt FutureTech, we believe in limitless potential, and our API is here to amplify yours. So buckle up, fellow developer, as we dive into the heart of modern technology, where lines of code intertwine with the heartbeat of progress.\n\nLet's code the future together. 🌟🔮\n\n&nbsp;\n\nBASE URL: https://app.roxpay.eu/api\n\nIf you need assistance, please call us at: +39 0577 1698000",
    "license": {
      "name": "Apache 2.0",
      "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title": "Rox Pay Rest API",
    "version": "1.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/api/v2-1/linkedin/template/add": {
      "put": {
        "description": "Create a new linkedin template.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddLinkedinTemplateSchemaV2-1"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationBaseResponseSchemaV2-1"
                }
              }
            },
            "description": "Success."
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessageV2-1"
                }
              }
            },
            "description": "Bad request."
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessageV2-1"
                }
              }
            },
            "description": "Authorization error."
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessageV2-1"
                }
              }
            },
            "description": "Payload validation error."
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorMessageV2-1"
                }
              }
            },
            "description": "Internal server error."
          }
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "tags": [
          "10. | Linkedin"
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://app.roxpay.eu"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 103,
      "1": 33,
      "2": 143,
      "3": 247,
      "4": 205,
      "5": 16,
      "6": 235,
      "7": 0,
      "8": 60,
      "9": 163,
      "10": 36,
      "11": 204
    }
  }
}
```