Deskpro Developer Starter
  • Introduction
    • Introduction
  • Embeddables
    • Website Widget
    • Form Embed
  • API Basics
    • API Introduction
    • Auth
      • API Keys
      • API Tokens
        • OAuth
        • Token Exchange Endpoint
      • Access Control
    • API Reference
    • Request Format
    • Batch Requests
    • Sideloading
    • SDKs
  • Getting Started with the API
    • PHP
      • Initialize the client
      • Add a form
      • Create an article
      • Tickets
      • Methods
    • JavaScript
      • Initialize the client
      • Add a form
      • Create an article
      • Methods
Powered by GitBook
On this page
  1. Getting Started with the API

JavaScript

PreviousMethodsNextInitialize the client

Last updated 6 years ago

Welcome to the Deskpro API. This section will guide you through creating a simple ticket form with PHP, from start to finish.

The first step is to create an . Go to Admin > Apps > API Keys to create an API Key for yourself.

Next:

  1. Create a new directory on your computer

  2. Create an index.html file

For example, from the command-line it might look something like this:

$ mkdir article-form
$ cd article-form/
$ touch index.html
API Key