# Get Service Token Detail ## Tujuan Mendapatkan detail satu service token berdasarkan ID. ## URL `GET https://console.gisportal.id/api/v1/service-tokens/{id}` ## HTTP Method `GET` ## Request Parameter | Parameter | Tipe | Keterangan | |-----------|------|------------| | `id` | UUID | ID service token | ## Response Success **HTTP 200** ```json { "data": { "id": "065eb796-ecb5-4d95-b4cd-9ca6244cf13f", "name": "GeoNetAgent-Production", "service": "GeoNetAgent", "token_prefix": "Col5FUFl34dVXgyB", "is_active": true, "expires_at": null, "created_by": "admin", "created_at": "2026-06-23T08:54:04+07:00", "last_used_at": null, "is_expired": false } } ``` ## Response Error **HTTP 404:** ```json { "error": { "code": "NOT_FOUND", "message": "Service token not found" } } ``` ## Contoh Request ```bash curl -s \ https://console.gisportal.id/api/v1/service-tokens/065eb796-ecb5-4d95-b4cd-9ca6244cf13f \ -H "Authorization: Bearer " ``` ## Changelog | Tanggal | Perubahan | |---------|-----------| | 2026-06-23 | Endpoint dibuat |