younifyd
Menu

Create a new email key

Create a new email key

POST/shops/{shopKey}/countries/{countryCode}/emails/keys

Use it in a workflow

  1. Add a step and choose the SCAYLE Admin connector.
  2. Pick the Create a new email key action (under Emails).
  3. Fill in the fields below, then reference the result from later steps as {{createANewEmailKey.response.data}}.

Request

Path parameters

shopKeystringrequired

The shop key.

countryCodestringrequired

The shop country code; use shop country ID instead of country code when a country is ambiguous within a shop.

Response

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

idinteger
keystring
namestring
createdAtstring (date-time)
updatedAtstring (date-time)
json
{
  "id": 0,
  "key": "string",
  "name": "string",
  "createdAt": "2025-01-01T00:00:00Z",
  "updatedAt": "2025-01-01T00:00:00Z"
}

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