List
GEThttps://api.addresszen.com/v1/keys/:key/configs
Lists configurations associated with a key
Request
Path Parameters
key API Keyrequired
Query Parameters
user_token User Token
Responses
- 200
- 400
- 401
Success
- application/json
- Schema
- Example (from schema)
Schema
result objectrequired
message stringrequired
Possible values: [Success
]
code int32required
Possible values: [2000
]
{
"result": {
"configs": [
{
"updatedAt": "2016-01-21T17:14:49.971Z",
"createdAt": "2016-01-21T17:14:49.971Z",
"name": "woocommerce",
"payload": "{\n \"removeOrganisation\": false\n}\n"
}
]
},
"message": "Success",
"code": 2000
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
code int32required
API Response Code. Non 2xxx
code indicates a failure. This code will provide a more specific reason when a failure occurs and facilitates debugging.
message stringrequired
Human readable error message supplied with every error response.
errors object[]
{
"code": 0,
"message": "string",
"errors": [
{
"message": "should have required property 'type'",
"path": ".query.type",
"errorCode": "required.openapi.validation"
}
]
}
Unauthorized Request
- application/json
- Schema
- Example (from schema)
Schema
code int32required
API Response Code. Non 2xxx
code indicates a failure. This code will provide a more specific reason when a failure occurs and facilitates debugging.
message stringrequired
Human readable error message supplied with every error response.
{
"code": 0,
"message": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://api.addresszen.com/v1/keys/:key/configs' \
-H 'Accept: application/json'
ResponseClear