1. Browse packages
Roamic API v2
  • Topics
    • Authentication
      • Verify token
    • Browse packages
      • List countries and regions
        GET
      • List packages
        GET
      • Get a package
        GET
    • 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. Browse packages

List countries and regions

GET
/api/v1/countries
Returns every destination you can sell, ordered by name. local entries are single countries (their code
is an ISO 3166-1 alpha-2 code and can be used as filter[country] in the package list); regional entries
are multi-country regions.

Solicitud

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

Respuestas

🟢200
application/json
A page of destinations.
Bodyapplication/json

Solicitud Ejemplo de Solicitud
Shell
JavaScript
Java
Swift
curl --location --globoff '/api/v1/countries?page=1&per_page=15&filter[type]=local' \
--header 'Authorization: Bearer <token>'
Respuesta Ejemplo de Respuesta
{
    "data": [
        {
            "code": "ES",
            "name": "Spain",
            "type": "local"
        },
        {
            "code": "FR",
            "name": "France",
            "type": "local"
        }
    ],
    "links": {
        "first": "https://api.example/api/v1/countries?page=1",
        "last": "https://api.example/api/v1/countries?page=9",
        "prev": null,
        "next": "https://api.example/api/v1/countries?page=2"
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "to": 2,
        "last_page": 9,
        "per_page": 2,
        "total": 17,
        "path": "https://api.example/api/v1/countries"
    }
}
Modificado en 2026-10-28 09:24:46
Anterior
Verify token
Siguiente
List packages
Built with