Get the callback listener
# Get Registered Callback Listeners: #### `GET /callbacks/{account}` Returns the name and endpoint URL of the callback listening services registered for a given account. ## Request Components #### HTTP Request #### `GET https://thingspace.verizon.com/api/fota/v1/callbacks/{account}` ## Resource and Query Parameters The account name must be included in the path. | Parameter Name | Data Type | Description | |-----|-----|-----| | **account** *(required)* | 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 | Parameter Name | Data Type | Description | |-----|-----|-----| | **Authorization** *(required)* | string | HTTP Authorization bearer token: `Authorization: Bearer {token}` | | **VZ-M2M-Token** *(required)* | string | A valid session token: `VZ-M2M-Token: {M2Mtoken}` | | **Content-Type** *(required)* | string | Must be application/json `Content-Type: application/json` | ## Request Body None. ## Success Responses **Status 200** | Parameter Name | Data Type | Description | |-----|-----|-----| | **aname** | string | The name of the billing account for which callback messages will be sent. | |**name** | string | The name of the callback service, which identifies the type and format of messages that will be sent to the registered URL. The value will be Fota for the Software Management Services callback. | |**url** | string | The address of the callback listening service where ThingSpace will send 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 ```json [ { "aname": "0252012345-00001", "name": "Fota", "url": "http://10.120.102.183:50559/CallbackListener/FirmwareServiceMessages.asmx" } ] ``` ## Failure Responses **Status 400** All error messages are returned in this format: ```json { "errorCode": "error code string", "errorMessage": "error message string" } ``` Error codes and messages are listed on the [Error Messages](https://thingspace.verizon.com/documentation/api-documentation.html#/http/software-management/guides/error-messages) page, along with explanations and suggestions for corrective actions.