Authentication
This page describes the authentication flow and endpoint specs.
Last updated
This page describes the authentication flow and endpoint specs.
Last updated
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 https://api.pptxbuilder.com.
Authentication to the API is performed via HTTP Basic Auth. 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
.
POST
https://api.pptxbuilder.com/api/auth/token
This endpoint allows you to get a API Token.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
POST
https://api.pptxbuilder.com/api/auth/update_token
This endpoint allows you to renew your API Token even if it's expired.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Content-Type
string
application/json
Authorization
string
Basic <username:password>
key
string
<company-key>
Content-Type
string
application/json
Authorization
string
Basic <username:password>
key
string
<company-key>