Generate an api-token

POST /wf/generate-user-token

Generate an api-token

Body

Body of the POST request

  • email string Required

    Email address of the user which is interacting with the API.

  • password string Required

    Password of the user which is interacting with the API.

Responses

  • 200

    Workflow response

    Hide response attributes Show response attributes object
    • status string

      Outcome of the workflow

    • response object
      Hide response attributes Show response attributes object
      • user_id string
      • token string
      • expires number(float)
  • 400

    Workflow failure

    Hide response attributes Show response attributes object
    • status string

      Outcome of the workflow

    • message string

      Error message for the workflow

  • 401

    Permission denied

    Hide response attribute Show response attribute object
    • message string

      Error message for the operation

  • 404

    Not found

    Hide response attribute Show response attribute object
    • message string

      Error message for the operation

  • 405

    Wrong method

    Hide response attribute Show response attribute object
    • message string

      Error message for the operation

  • 429

    Too many requests

    Hide response attribute Show response attribute object
    • message string

      Error message for the operation

  • 500

    Internal bug. Please file a bug report at bubble.io/support/report with the request that triggers this bug

    Hide response attributes Show response attributes object
    • code string

      Error code

    • message string

      Error message for the operation

  • 503

    Service Unavailable

    Hide response attribute Show response attribute object
    • message string

      Error message for the operation

POST /wf/generate-user-token
curl \
 --request POST 'https://cloover.co/version-test/api/1.1/wf/generate-user-token' \
 --data '{"email":"string","password":"string"}'
Request examples
{
  "email": "string",
  "password": "string"
}
Response examples (200)
{
  "status": "string",
  "response": {
    "user_id": "string",
    "token": "string",
    "expires": 42.0
  }
}
Response examples (400)
{
  "status": "string",
  "message": "string"
}
Response examples (401)
{
  "message": "string"
}
Response examples (404)
{
  "message": "string"
}
Response examples (405)
{
  "message": "string"
}
Response examples (429)
{
  "message": "string"
}
Response examples (500)
{
  "code": "string",
  "message": "string"
}
Response examples (503)
{
  "message": "string"
}