Skip to main content
GET
/
account
Account details
import requests

url = "https://api.pdfshift.io/v3/account"

headers = {"X-API-Key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "success": true,
  "account": {
    "name": "Richard Hendricks",
    "firstname": "Richard",
    "email": "richard@piedpiper.com",
    "created": 1526561399000,
    "company_name": "PiedPiper",
    "company_details": "Hacker Hostel,\n5230 Newell Road,\nPalo Alto, CA 94303",
    "company_vat": null,
    "country": "US",
    "renew_date": 1763683200000,
    "avatar": "https://secure.gravatar.com/avatar/584ac79c82c64934d475251b46f78f4a?d=mm&s=96",
    "billing_email": "jared@piedpiper.com",
    "plan": {
      "display": "Business",
      "name": "business",
      "credits": 50000,
      "filesize": 1250,
      "timeout": 100,
      "price": 99,
      "yearly": false,
      "overage": 20
    },
    "hard_limit": null,
    "subscription_ends_at": null
  }
}

Authorizations

X-API-Key
string
header
required

Authenticate your account by including your secret key in API requests. You can manage your API keys in the Dashboard.

Authentication to the API is performed by using the HTTP Header X-API-Key.

Response

Account details

success
boolean
account
object