younifyd
Menu

Start Webauthn User Registration

Start WebAuthn registration

POST/organizations/{organizationId}/oauth2/webauthn/register/start

Use it in a workflow

  1. Add a step and choose the Salesforce Commerce Cloud connector.
  2. Pick the Start Webauthn User Registration action (under Auth (SLAS)).
  3. Fill in the fields below, then reference the result from later steps as {{startWebauthnUserRegistration.response.data}}.

Request

Path parameters

organizationIdstringrequired

An identifier for the Salesforce Commerce Cloud organization the request is being made by. It consists of a prefix 'f_ecom_' followed by a 4-character [realm identifier](https://developer.salesforce.com/docs/commerce/commerce-api/guide/get-started.html) and a 3-character [instance type identifier](https://developer.salesforce.com/docs/commerce/commerce-api/guide/get-started.html#instance-types).

Headers

Authorizationstring

Base64-encoded string for HTTP Basic authentication. The string is composed of a client ID and client secret, separated by a colon (`:`). For example: `clientId:clientSecret`.

Request body

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

client_idstring

OAuth client identifier. Required if Authorization header is not provided.

pwd_action_tokenstringrequired

Password action token (TOTP) received by the user. The token length is either 6 or 8 digits, configurable in SLAS Admin.

user_idstringrequired

The ID of the user.

channel_idstringrequired

The ID of the channel.

display_namestring

Display name for the passkey.

nick_namestring

Nickname for the credential.

json
{
  "pwd_action_token": "12345678",
  "user_id": "user@example.com",
  "channel_id": "RefArch",
  "client_id": "12345678-1234-1234-1234-123456789012",
  "display_name": "John Doe",
  "nick_name": "My iPhone"
}

Response

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

Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.

Start Webauthn User Registration — Salesforce Commerce Cloud — Documentation