Returns information for all leads associated with the account
When HTTP status is 202, a URL will be returned in the Location header of the form /leads/{aname}?next={token}. This URL can be used to request the next set of leads.
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
Path Parameters
Account name.
Query Parameters
Continue the previous query from the pageUrl in Location Header.
int64Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/m2m/v1/leads/0252012345-00001"{ "leads": [ { "leadId": "L-10001", "leadState": "Qualified", "address": { "addressLine1": "1600 Pennsylvania Avenue", "addressLine2": "", "city": "Washington", "state": "DC", "zip": "20500", "country": "USA" } } ], "hasMoreData": false}Returns an account's custom services and states GET
Returns a list and details of all custom services and states defined for a specified account.
Creates a new device group and optionally adds a set of devices to that group. POST
Create a new device group and optionally add devices to the group. Device groups can make it easier to manage similar devices and to get reports on their usage.

