Register a Callback Listener URL
Registers a URL at which an account receives asynchronous responses and other messages from a ThingSpace Platform callback service. The messages are REST messages. You are responsible for creating and running a listening process on your server at that URL to receive and parse the messages.
Authorization
thingspace_oauth VZ-M2M-Token This is the ThingSpace token, from Credentials and Tokens is used
In: header
M2M Session Token (How to generate an M2M session token?)
In: header
Query Parameters
A unique identifier for an account.
Request Body
application/json
Callback registration request.
The name of the callback service that you want to subscribe to.
The address on your server where you have enabled a listening service for the specific type of callback messages. Specify a URL that is reachable from the Verizon data centers. If your service is running on HTTPS, you should use a one-way authentication certificate with a white-listed IP address.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/hyper-precise/v1/callbacks?accountNumber=0000123456-00001" \ -H "Content-Type: application/json" \ -d '{ "name": "BullseyeReporting", "url": "https://tsustgtests.mocklab.io/notifications/bullseye" }'{ "accountName": "0000123456-00001", "name": "BullseyeReporting"}
