Verify Subscription
This API endpoint allows you to verify an existing subscription by providing the verification token.

Expected Behavior:


  • On success, the system will verify the subscription and return a success message.
  • If the request is invalid, the system will return an error message with details of the invalid fields.
Path Parameters
  • token string
    The unique subscription verification token.
JavaScript
Response codes
const axios = require('axios');

const url = "https://statuspage-cmd.api.pinghome.io/v1/subscription/{token}/verification";

axios.put(url)
.then(response => {
  console.log(response.data);
})
.catch(error => {
  console.error(error);
});
ResponseThis section is used to view the possible HTTP response codes returned by the API. These codes indicate the status of a request, such as 201 (Created), 401 (Unauthorized), 409 (Conflict), or 422 (Unprocessable Entity).