Get Exchange Rates

get/v1/exchange-rates/{exchange_rate_id}

Fetches a single exchange rate by its public id within the active workspace. Read only, no side effects. Returns 404 when the id is unknown or falls outside the caller's workspace scope.

Requires a bearer token: Authorization: Bearer <token>.

Path parameters

NameTypeRequiredDescription
exchange_rate_idstring <uuid>YesPublic UUID of the exchange rate.e.g. d0e1f2a3-0000-4000-8000-0000000000aa

Query parameters

NameTypeRequiredDescription
workspaceIdstring <uuid>NoExplicit workspace scope. The authenticated user must hold an active membership in this workspace. Defaults to the session workspace when omitted.e.g. a1b2c3d4-0000-4000-8000-000000000001

Request

cURL
curl -X GET https://api.wellapp.ai/v1/exchange-rates/{exchange_rate_id} \
  -H "Authorization: Bearer $WELL_API_TOKEN"

Responses

200The requested exchange rate.

{
  "data": {
    "type": "exchange_rate",
    "id": "d0e1f2a3-0000-4000-8000-0000000000aa",
    "attributes": {
      "exchange_rate_id": "d0e1f2a3-0000-4000-8000-0000000000aa",
      "source_currency": "USD",
      "target_currency": "EUR",
      "rate": 0.918,
      "rate_date": "2026-04-27",
      "source": "ecb",
      "created_at": "2026-04-27T06:00:00Z",
      "updated_at": "2026-04-27T06:00:00Z",
      "deleted_at": null
    }
  }
}

401Unauthorized

{
  "code": "UNAUTHORIZED",
  "status": 401,
  "title": "Unauthorized",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}

404Not found

{
  "code": "NOT_FOUND",
  "status": 404,
  "title": "Not Found",
  "message": "See title.",
  "meta": {
    "trace_id": "a1b2c3",
    "log_id": "a1b2c3"
  }
}