cURL
curl --request GET \ --url https://api.example.com/api/buckets/{accountId} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "createdOn": "2023-11-07T05:31:56Z", "updatedOn": "2023-11-07T05:31:56Z", "createdBy": "<string>", "updatedBy": "<string>", "name": "<string>", "number": "<string>", "addressLine1": "<string>", "addressLine2": "<string>", "country": "<string>", "state": "<string>", "city": "<string>", "postalCode": "<string>", "email": "<string>", "status": "active", "source": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
id of account to be searched
Found the Buckets
name
active
in-active
draft