younifyd
Menu

Import Allowed List

Import allowed values for attribute

POST/v1/attributes/{attributeId}/allowed_list/import

Use it in a workflow

  1. Add a step and choose the Talon.One connector.
  2. Pick the Import Allowed List action (under management).
  3. Fill in the fields below, then reference the result from later steps as {{importAllowedList.response.data}}.

Request

Path parameters

attributeIdinteger (int64)required

The ID of the attribute. You can find the ID in the Campaign Manager's URL when you display the details of an attribute in **Account** > **Tools** > **Attributes**.

Request body

Enter the body as JSON in the step's Body field.

upFilestring (csv)

The file containing the data that is being imported.

json
{
  "upFile": "string"
}

Response

Returns 200 with an object. Read it in later steps with {{importAllowedList.response.data.<field>}}.

idinteger (int64)

The internal ID of this entity.

createdstring (date-time)

The time this entity was created.

accountIdinteger (int64)

The ID of the account that owns this entity.

userIdinteger (int64)

The ID of the user associated with this entity.

entitystring

The name of the entity that was imported.

amountinteger (int64)

The number of values that were imported.

json
{
  "id": 6,
  "created": {},
  "accountId": 3886,
  "userId": 388,
  "entity": "AttributeAllowedList",
  "amount": 10
}

Need more? See the Talon.One guide for connection setup and behaviour shared by every action.

Import Allowed List — Talon.One — Documentation