1. Authentication
Roamic API v2
  • Topics
    • Authentication
      • Verify token
        GET
    • Browse packages
      • List countries and regions
      • List packages
      • Get a package
    • Manage orders
      • Get an order
      • List orders
      • Create new order
    • Manage eSIMs
      • List eSIMs
      • Get an eSIM / installation details
      • Cancel an eSIM
      • Revoke an eSIM
    • Monitor usage
      • Get data usage
    • Top up eSIM
      • List top-up packages for an eSIM
      • Place a top-up order
    • Billing details
      • Get billing details
    • Notifications
      • List webhook event types
      • Create a webhook subscription
      • Update a webhook subscription
      • Get a webhook subscription
      • List webhook subscriptions
      • Delete a webhook subscription
      • List deliveries
      • Get a delivery
      • List notifications sent for an eSIM
      • Retry a delivery
      • Send a test event
  • Raíz
  • Schemas
    • Paginated
    • EsimIdentifier
    • OrderType
    • EsimStatus
    • OrderStatus
    • Result
    • FinancialStatus
    • Error
    • FulfillmentStatus
    • ValidationErrorBody
    • Order
    • TopupStatus
    • StoreOrder
    • WebhookDeliveryStatus
    • Customer
    • WebhookEventType
    • Billing
    • User
    • OrderLineItem
    • Esim
    • BillingFull
    • Topup
    • Settings
    • BillingInput
    • Country
    • Package
    • Product
    • TopupPackage
    • CreateOrder
    • CreateTopupOrder
    • NotificationLog
    • WebhookSubscription
    • WebhookSubscriptionInput
    • WebhookDelivery
  1. Authentication

Verify token

GET
/api/v1/user
Returns the account the token belongs to. Use it to check that your credentials work.

Solicitud

Autorización
Bearer Token
Proporciona tu token bearer en el encabezado
Authorization
al realizar solicitudes a recursos protegidos.
Ejemplo:
Authorization: Bearer ********************
or

Respuestas

🟢200
application/json
The authenticated account.
Bodyapplication/json

Solicitud Ejemplo de Solicitud
Shell
JavaScript
Java
Swift
curl --location '/api/v1/user' \
--header 'Authorization: Bearer <token>'
Respuesta Ejemplo de Respuesta
{
    "id": 42,
    "name": "Acme Travel",
    "email": "integrations@acme-travel.example",
    "created_at": "2026-09-01T09:00:00Z",
    "updated_at": "2026-10-01T09:00:00Z",
    "user_billing": {
        "name": "Acme Travel S.L.",
        "email": "billing@acme-travel.example",
        "country_iso": "ESP",
        "address": "Calle Mayor 1",
        "city": "Madrid",
        "zip_code": "28013",
        "phone": "+34910000000",
        "id_document": "B12345678"
    }
}
Modificado en 2026-11-03 16:50:47
Anterior
Topics
Siguiente
List countries and regions
Built with