younifyd
Menu

Create Session

Create session

POST/v1/sessions

Use it in a workflow

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

Request

Request body

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

emailstring (email)required

The email address associated with the user profile.

passwordstringrequired

The password for your account.

json
{
  "email": "john.doe@example.com",
  "password": "admin123456"
}

Response

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

userIdinteger (int64)

The ID of the user of this session.

tokenstring

The token to use as a bearer token to query Management API endpoints.

createdstring (date-time)

Unix timestamp indicating when the session was first created.

json
{
  "userId": 109,
  "token": "dy_Fa_lQ4iDAnqldJFvVEmnsN8xDTxej19l0LZDBJhQ",
  "created": {}
}

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