post/v1/agent-hub/login

Request

  • Base URL
    https://testapi.payarc.net
  • URL
    https://testapi.payarc.net/v1/agent-hub/login
  • Auth
    API key in header Authorization

Query parameters

token_onlystring

Include vw as the value to retrieve ONLY the login token.

Headers

Acceptstring required

Indicates which content types, expressed as MIME types, the client is able to understand.

Content-Typestring required

Indicates the media type of the resource sent in the HTTP message body. <br /><br /><b>Possible Values:</b><br /> application/json<br />application/x-www-form-urlencoded

Request body

usernamestring required

The username to be logged in with.

passwordstring required

The password for the username.

Response

200

tokenstring

Example response

{
  "token": "token value"
}

Changes