POST
/
api
/
website_collections
import SnagSolutions from '@snagsolutions/sdk';

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

await client.websites.websiteCollections.create({
  collectionAddress: '0x2c02efDd09B3BA1AEaDd3dCAa7aC7A37C1CBDA8A',
  name: 'x',
  network: 'abstract',
  organizationId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
  sortId: 99999,
  websiteId: '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
});
This response does not have an example.

Authorizations

X-API-KEY
string
header
required

Body

application/json

Body

Schema representing a website collection create request

Response

200

200