setle-docs

User API

Users

Fetch user info

This endpoint returns information about the user connected to the provided access token.

GET /users/me

Response body

[
  {
    "id": "string",
    "email_address": "string",
    "first_name": "string",
    "last_name": "string"
  }
]

Response code

200 OK

Editing user info

This endpoint can be used to edit information about the user connected to the provided access token.

PATCH /users/{user_id}

Request body

{
  "email_address": "string",
  "first_name": "string",
  "last_name": "string"
}

Response body

{
  "id": "string",
  "email_address": "string",
  "first_name": "string",
  "last_name": "string"
}

Response code

200 OK