Skip to content

List your own API credentials

GET
/api/v1/credentials
curl --request GET \
--url 'https://api-omni-vendors.linra.net/api/v1/credentials?page=1&pageSize=20' \
--header 'Authorization: Bearer <token>'

Lists your own credentials (including deactivated ones) for the environment named by the required X-Linra-Environment header. Secrets are never returned. No capability required — no activeOnly filter (you benefit from seeing your own deactivated credentials too, e.g. to confirm a rotation completed).

page
integer
default: 1 >= 1
pageSize
integer
default: 20 >= 1 <= 100

A page of your credentials.

Media typeapplication/json
object
state
required
string
payload
required
details
object
payload
required
object
items
Array<object>

Never exposes a secret — the raw secret is only ever returned once, at generation time, via VendorCredentialGeneratedResponse.

object
id
string format: uuid
vendorId
string format: uuid
environment
string
clientId
string
capabilities

A comma-separated combination of one or more granted capabilities: Offers, Stock, Cost, Orders, Account. Account gates the Profile-update and Credentials-write endpoints on this document; the other four gate the commercial (Offers/Cost/Stock/Orders/Webhooks) endpoints as documented on each operation.

string
expirationDate
string format: date-time
nullable
isActive
boolean
createdAt
string format: date-time
nullable
pagination
object
page
integer
pageSize
integer
totalCount
integer
totalPages
integer
Example
{
"state": "SUCCESS",
"payload": {
"items": [
{
"environment": "Production",
"capabilities": "Offers, Cost"
}
]
}
}

Too many requests. Retry after the Retry-After header (seconds).

Media typeapplication/json
object
state
required
string
payload
details
object
Example
{
"state": "NOT_FOUND_VENDOR_OFFER"
}
Retry-After
integer

Seconds to wait before retrying.