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

Was this helpful?

  1. Examples

API Token

This page will walk you through getting an API Token to authenticate your requests

Requirements

You will need two things in order to get your token.

  • Account credentials

  • Company key

Example Python

Bellow is an example on how to use them to get your API Token.

import requests

url = 'https://api.pptxbuilder.com/api/auth/token'

body = json.dumps({'key': '<your-company-key>'})
headers = {'Content-Type': 'application/json'}

response = requests.post(url, data=body, headers=headers,
                        auth=('<username>', '<password>'))

token = response.headers['Authentication-Token']
content = response.content

Your API token is returned in the Headers.

"Authentication-Token" : "<your-token>"

If you need more detailed information please take a look at the API Reference for this endpoint:

PreviousJSON to PPTX

Last updated 4 years ago

Was this helpful?

Authentication