Quickstart
This quickstart gets you up and running with the Ping API. We'll cover where to find your API keys, choosing a client, and making your first request.
Grab your API key or check your access tokens from the Ping dashboard (https://app.ping.co.zw/api-keys). API keys are managed under Settings » API. Ping provides simple REST endpoints as well as official SDKs for popular languages. You can use cURL or one of the SDKs (JavaScript, Python, PHP) to interact with the API.
# cURL is most likely already installed on your machine
curl --version
Making your first API request
Here is an example of listing businesses using a bearer token. Note the API host: api.ping.co.zw
.
GET
/v1/get/businessescurl -G https://api.ping.co.zw/v1/get/businesses \
-H "Authorization: Bearer {accessToken}" \
-H "User-Type: user" \
-d limit=10
What's next?
After your first call, explore these sections:
- Notifications » /messages and /notification (see sidebar)
- Authentication reference: /authentication