LogoLogo
  • About Absolute Labs
  • Absolute Labs Platform
  • Features
    • Overview
    • Insights
      • My Assets
      • NFT collections
      • Tokens
      • Websites
      • Mobile Apps
        • ALSDK iOS Framework
        • ALSDK Android Framework
      • Investor profile
    • Audiences
      • Segments
      • Custom lists
    • Flows
      • Conditions and delays
        • Wait until
        • Wait for
        • Random split
      • Entry Sources
        • Segment source
        • List source
        • Webhook source
        • List source
        • Transaction source
      • Channels
        • E-mail
        • Webhook
        • XMTP
        • SMS
        • Airdrop
          • Token Airdrops
          • NFT Airdrops
          • Custom contract call
      • Data
        • Add to list
      • Creating a flow
    • Access and invites
    • Google Cloud Integration
    • Salesforce B2C Commerce Cloud Cartridge
  • Use Cases
    • Upcoming NFT collection
    • Metaverse company
    • NFT Marketplace
    • Centralized exchange
    • SendGrid
    • See also
Powered by GitBook
On this page
  • Create a custom list
  • Create via API
  • Endpoint
  • Request headers
  • Request body example
  • Response
  • Modifying a list via API
  • Endpoint
  • Request headers
  • Request body example
  • Response
  1. Features
  2. Audiences

Custom lists

Custom lists allow you to upload addresses and data to the platform. A list could be a tag from a third party CRM, addresses collected for an NFT allowlist or a manually created list that you manage.

Create a custom list

  1. Go to the 'Audiences' module.

  2. Click on the 'Create a custom list' button.

  3. Insert addresses manually or download the CSV file.

Note: Maximum CSV file size = 100 MB

Note: Duplicated addresses will be removed from the custom list.

4. Click on the 'Save' button.

Note: Another option to create a custom list is using Add to list block in flows.

Create via API

Custom lists can be created via API, using your team's API key. Upon success, the API responds with the unique numerical ID for your custom list, which you can then use to feed the list with profiles using the next API documented on this page.

Endpoint

https://backend.absolutelabs.app/api/audiences/custom-list/

Request headers

- Authentication: Bearer {your API key}
- Content-Type: application/json

Request body example

{
  "name": "The name for your Custom List"
}

Response

{
  "id": 1337,
  "name": "My new list"
}

Modifying a list via API

To add profiles to a list, remove some, or simply rename a list, you can use the PATCH method on your custom list resource as follows.

Endpoint

https://backend.absolutelabs.app/api/audiences/custom-list/{list_id}

Request headers

- Authentication: Bearer {your API key}
- Content-Type: application/json

Request body example

{
  "add": ["0xabc...", "0x123...", ...],
  "remove": ["0xabc...", "0x123...", ...],
  "name": "New list name"
}

Response

{
  "name_update": {
    "status": "success"
  },
  "addresses_addition": {
    "status": "success"
  },
  "addresses_removal": {
    "status": "success"
  }
}
PreviousSegmentsNextFlows

Last updated 1 month ago