Get Registered Callback Listeners

GET /callbacks/{acc}

Returns the endpoint URL of the callback listening service registered for a given account.

Request Components

HTTP Request


Resource Path Parameters

The account name must be included in the path.

Parameter Name Data Type Description
string The name of the account for which a list of registered callback services will be returned. An account name is usually numeric, and must include any leading zeros.

Header Parameters

The request header must contain a current ThingSpace authorization bearer token and a valid VZ-M2M session token.

Parameter Name Data Type Description
string HTTP Authorization bearer token.
string A valid session token returned by POST /api/m2m/v1/session/login.
string Must be application/json.

Request Body


Success Responses

Status 200

Parameter Name Data Type Description
url string The address of the callback listening service where ThingSpace sends callback messages for the service type.

The response body will be empty if there are no callback services registered with the account.

Example Success Response

    "url": ""

Failure Responses

Status 400

All error messages are returned in this format:

  "errorCode": "error code string",
  "errorMessage": "error message string"

Error codes and messages are listed on the Error Messages page, along with explanations and suggestions for corrective actions.