Appearance
/auth/list/{clientId}
Retrieves a list of client's auths.
HTTP Request
GET https://api.q2open.io/v1/auth/list/{clientId}
Arguments
Parameter | Description |
---|---|
clientId | ID of client to retrieve auths for. |
Returns
A dictionary with a data
property that contains an array of auth objects.
Example Request
shell
curl "https://api.q2open.io/v1/auth/list/566595c8ce88ccec69328566" \
-H "Authorization: Bearer dc220490-e6ee-11e5-8a94-e7385a8d929e" \
-G
Example Response
json
{
"data": [
{
"_id": "579b695decfa11012711875d",
"status": {
"type": "verified"
},
"company": {
"_id": "579b695decea110719b1874d",
"name": "Time Warner Cable",
"logo": {
"url": "https://s3.amazonaws.com/app-assets.unbill.io-primary/uploads/utility-provider-logos/4c805851c738c006546b234e3c3c793d.png",
"background": false
}
}
},
{
"_id": "579b695decfa11012711875d",
"status": {
"type": "authenticate"
},
"company": {
"_id": "579b695decea110719b1874d",
"name": "The Grove at Auburn",
"logo": {
"url": "https://s3.amazonaws.com/app-assets.unbill.io-primary/uploads/utility-provider-logos/0e9a971a96646da46f5faa68862d0f2d.jpg",
"background": true
}
}
}
]
}