login

Login Session

Login and get a session-based cookie.

The response headers will contain the cookie. Note that you must use the cookie for all other requests to the API.

post/api/v1/login/session

Request

  • The document declares no server URL.
  • Auth: none declared

Query parameters

third_partyboolean

Whether to set a third-party cookie for cross-origin iframes.

slack_idstring nullable

An optional base64-encoded Slack {team_id}:{user_id} to link to (for use by the NS Slack App).

account_namestring nullable

The name of the account to validate that the user is authorized to access. If the user does not have access to this account, the endpoint will return a 403 even if the user is successfully authenticated. This is useful for third party applications which want users to be restricted to a particular account.

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.