GET
/
api
/
website_user_attributes
import SnagSolutions from '@snagsolutions/sdk';

const client = new SnagSolutions({
  apiKey: process.env['X_API_KEY'], // This is the default and can be omitted
});

async function main() {
  const websiteUserAttributes = await client.auctions.websiteUserAttributes.list();

  console.log(websiteUserAttributes.data);
}

main();
{
  "data": [
    {
      "websiteId": "<string>",
      "organizationId": "<string>",
      "id": "<string>",
      "label": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "hasNextPage": true
}

Authorizations

X-API-KEY
string
header
required

Query Parameters

websiteId
string

Unique identifier for the website

Example:

"123e4567-e89b-12d3-a456-426614174001"

organizationId
string

Unique identifier for the organization

Example:

"123e4567-e89b-12d3-a456-426614174002"

limit
string

Number of website user attributes to return

Example:

10

Response

200
application/json
200
data
object[]
required
hasNextPage
boolean
required