GET /callbacks
Find a registered callback listener for an account by account number.
See also:
POST /callbacks
- Register a callback listener URLDELETE /callbacks
- Deregister (delete) a callback listener URLA vz-m2m-token
is required to use these APIs. To obtain a token, please visit Getting Started to get a token.
GET https://thingspace.verizon.com/api/hyper-precise/v1/callbacks?accountNumber={accountNumber}
Parameter | Data Type | Description |
---|---|---|
accountNumber required |
string | A unique identifier for an account.. |
Example request:
curl -X 'GET' \
'https://thingspace.verizon.com/api/hyper-precise/v1/callbacks?accountNumber={accountNumber}' \
-H 'accept: application/json' \
-H 'VZ-M2M-Token: {token}'
Status 200
A successful response will display the billing account number (aname
), the name of the callback service (name
) and the address of the callback listening service (url
).
Example response:
[
{
"aname": "string",
"name": "string",
"url": "string"
}
]
Code and Meaning | Format |
---|---|
400 - Bad Request. |
|
401 - Unauthorized request. Access token is missing or invalid. |
|
403 - Forbidden request. |
|
404 - Bad request. Not found. |
|
409 - Bad request. Conflict state. |
|
500 - Internal Server Error. |
|