Sessions

Create a machine session

Changed on

Create a machine session for API access.

post/api/v2/sessions/machine

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/sessions/machine
  • Auth
    none declared

Response

Single session

Example response

{
  "data": {
    "id": "789",
    "type": "sessions",
    "attributes": {
      "token": null,
      "created_at": "2026-03-15T09:00:00.000+00:00"
    },
    "relationships": {
      "user": {
        "data": {
          "type": "users",
          "id": "456"
        }
      }
    }
  },
  "included": []
}

Changes

    • warning

      added the new bad_decimal_format enum value to the // response property for the response status

    • warning

      added the new non_finite_number enum value to the // response property for the response status

    • warning

      added the new null_bytes_in_params enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      the // response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from string to no type, and format from date-time to no format for status

    • warning

      the optional response header Content-Type removed for the status 201

    • warning

      deleted the header request parameter X-Organization-Id

    This list may be incomplete.