Skip to main content
GET
https://enterprise.spacemedia.uk
/
api
/
v1
/
countries
List Countries
curl --request GET \
  --url https://enterprise.spacemedia.uk/api/v1/countries \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": [
    {
      "code": "GB",
      "name": "United Kingdom",
      "phone_code": "+44"
    },
    {
      "code": "US",
      "name": "United States",
      "phone_code": "+1"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.spacemedia.uk/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept
string

Use application/json for API responses.

Authorization
string

Bearer access token. Use Bearer <YOUR_ACCESS_TOKEN>.

Response

Success

The response is of type object.