PPTX Builder API
PPTX BuilderBook a demoAccount
v1
v1
  • Introduction
  • Guide
    • Create account
    • Get API token
    • Webhook
    • Preparing your slides
  • Concepts
    • Intro
    • Slide Masters
    • Slide Layouts
    • Placeholders
    • Slide
  • API Reference
    • Authentication
    • JSON to PPTX Builder
      • Request Payload
        • Base Settings
        • Custom Settings
        • Global Chart Settings
        • Slide Settings
        • Chart View Settings
        • Columns
        • Rows
        • Chart title
    • JSON to PPTX
      • Request Payload
        • Base settings
        • Slide Settings
        • Chart View Settings
        • Columns
        • Rows
        • Chart Title
  • Fonts
  • Chart Types
  • Data Labels
  • Chart Settings Specifics
  • Examples
    • JSON to PPTX Builder
    • JSON to PPTX
    • API Token
Powered by GitBook
On this page
  • Get API Token
  • Update API Token

Was this helpful?

  1. API Reference

Authentication

This page describes the authentication flow and endpoint specs.

PreviousSlideNextJSON to PPTX Builder

Last updated 4 years ago

Was this helpful?

The PPTX Builder API uses tokens in order to authenticate requests. In order to get an API Token you will need to be registered in .

Authentication to the API is performed via . Provide "username:password" in base64 encoding as basic auth. You will have to provide your company key in the body of the request (you can find it in the company section).

The Token is valid for 7 days. After 7 days of inactivity token will be marked as expired.

Get API Token

POST https://api.pptxbuilder.com/api/auth/token

This endpoint allows you to get a API Token.

Headers

Name
Type
Description

Content-Type

string

application/json

Authorization

string

Basic <username:password>

Request Body

Name
Type
Description

key

string

<company-key>

body : {
    "success": "New Token has been created",
    "token_expires": "Wed, 02 Oct 2019 14:51:42 GMT"
}

headers : {
    "Content-Type": "application/json",
    "Content-Length": "98",
    "Content-Language": "en-UK",
    "Authentication-Token": "<your-api-token-here>",
    "erver": "Werkzeug/0.15.5 Python/3.6.8",
    "Date": "Thu, 26 Sep 2019 05:56:58 GMT"
}
{    "error": "Company doesn't exists or Key is incorrect" } 

Update API Token

POST https://api.pptxbuilder.com/api/auth/update_token

This endpoint allows you to renew your API Token.

Headers

Name
Type
Description

Content-Type

string

application/json

Authorization

string

Basic <username:password>

Request Body

Name
Type
Description

key

string

<company-key>

body : {
    "success": "Token has been updated successfully!",
    "token_expires": "Thu, 03 Oct 2019 06:52:44 GMT"
}

headers : {
    "Content-Type": "application/json",
    "Content-Length": "98",
    "Content-Language": "en-UK",
    "Authentication-Token": "<your-api-token-here>",
    "erver": "Werkzeug/0.15.5 Python/3.6.8",
    "Date": "Thu, 26 Sep 2019 05:56:58 GMT"
}
{
    "error": "Token is expired! Please update!"
}
https://api.pptxbuilder.com
HTTP Basic Auth