Skip to main content
GET
/
api
/
accounts
/
{id}
cURL
curl --request GET \
  --url https://recoup-api.vercel.app/api/accounts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "account": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "image": "<string>",
    "instruction": "<string>",
    "knowledges": [
      {
        "url": "<string>",
        "name": "<string>",
        "type": "<string>"
      }
    ],
    "email": "<string>",
    "wallet_address": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The unique identifier (UUID) of the account

Response

Account retrieved successfully

status
enum<string>
required

Status of the request

Available options:
success
account
object
required

The account details