Set your default language: PHP | Curl

GET pings/:id

Used for retrieving information about a given Ping.

Details

URL https://api.heello.com/pings/:id.format
Requires Authentication No
Rate Limited Yes
Response Formats json

Parameters

Parameter Required Notes
:id The ID of the given Ping to retrieve.
key The application ID for the application making the request.
access_token Access token of authenticated user accessing the Ping.

Note: This field is not required, however if you attempt to access a private Ping without an access token, a 403 Forbidden response will be returned.

Errors

There are no unique error states for this endpoint, please see our page detailing general errors you may encounter.

Example Usage

GET https://api.heello.com/pings/:id.json
curl https://api.heello.com/pings/1.json?key=APPLICATION_KEY
// Note: PHP Examples use the Heello PHP Client library
// https://github.com/Heello/heello-php
require_once dirname(dirname(dirname(__FILE__))) . '/Heello.php';

// You can get an Application Key and Secret by visiting:
// http://developer.heello.com/apps
$api_application_key = "APPLICATION_KEY";
$api_application_secret = "APPLICATION_SECRET";

$api = new Heello\Client($api_application_key, $api_application_secret);

try{
  $ping = $api->pings->show(array(
    "id" => 1
  ));

  print_r($ping);
} catch (Exception $e){
  print $e->getMessage();
}
Please use the "Live Demo" below to see an example response.
You may need to login or create an account before making requests against the API.

Live Demo

Please login and create an application to perform live API testing.