List your own listings
GET
/api/v1/listingsA page of listings owned by the API key owner.
The results contain listings owned by the key owner. When nextCursor has a value, use it as cursor in the next request.
Required scope listings:read
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | No | minimum 1 · maximum 50 · default 25 |
cursor | query | string | No | max. characters 250 |
Responses
200 A page of listings owned by the API key owner.application/jsonSchema object
| Name | Type | Required | Description |
|---|---|---|---|
items | Listing[] | Yes | — |
nextCursor | string | null | Yes | — |
JSON Schema
{
"type": "object",
"required": [
"items",
"nextCursor"
],
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Listing"
}
},
"nextCursor": {
"type": [
"string",
"null"
]
}
}
}Other API errors Request processing error.application/jsonSchema object
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | — |
message | string | Yes | — |
requestId | string | Yes | — |
issues | object[] | No | — |
JSON Schema
{
"type": "object",
"required": [
"code",
"message",
"requestId"
],
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"requestId": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "object"
}
}
}
}401 A valid API key is required.403 The scope is missing or the production request does not use HTTPS.429 Rate limit exceeded. Check Retry-After.503 Access is closed or the service is temporarily unavailable. Check code.Related schemas
Listing
{
"type": "object",
"required": [
"id",
"title",
"price",
"category",
"createdAt",
"updatedAt",
"expiresAt",
"status",
"publicationState",
"publicPath"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"price": {
"type": "integer"
},
"category": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"status": {
"enum": [
"draft",
"payment_required",
"active",
"expired",
"sold"
]
},
"publicationState": {
"enum": [
"public",
"pending",
"hidden"
]
},
"publicPath": {
"type": [
"string",
"null"
]
},
"paymentPath": {
"type": "string"
}
}
}