---
title: "GET /api/v1/push/tokens"
method: GET
path: "/api/v1/push/tokens"
tags: ["push-notifications"]
---

# GET /api/v1/push/tokens

`GET /api/v1/push/tokens`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/v1/push/tokens`
- Auth: HTTP bearer

Get all device tokens for the current user

## Response `200`

Default Response

- object
  - `success` true, required
  - `data` object, required
    - `tokens` object[]
      - `id` string, uuid
      - `userId` string
      - `token` string
      - `platform` 'ios' | 'android'
      - `createdAt` string, date-time
      - `lastUsed` string, date-time
    - `count` number
  - `meta` object, required
    - `timestamp` number

## Other responses

- `401`: Default Response
- `403`: Default Response
- `500`: Default Response

---

[API](https://skmtc.dev/farmersonly/apis/farmersonly-club-api.md) - [All operations](https://skmtc.dev/farmersonly/apis/farmersonly-club-api/llms.txt) - [OpenAPI document](https://skmtc.dev/farmersonly/apis/farmersonly-club-api/revisions/b4fa9123ba90?raw)
