API reference

Apps, domains and usage

Look up the IDs you need to create links, and check your plan usage.

Check your token

GET/me

Shows the organization and access of the token used. A good first call.

curl -X GET "https://baiocodesolutions.com/api/v1/me" \
  -H "Authorization: Bearer $DEEPBERTH_TOKEN"

200 OK

{
    "data": {
        "organization": {
            "id": 3,
            "name": "Your Brand"
        },
        "token": {
            "name": "Production backend",
            "prefix": "dbk_a1b2c3d4",
            "scopes": [
                "links:read",
                "links:write"
            ],
            "app_id": null,
            "expires_at": null
        }
    }
}

List apps

GET/appsapps:read

Returns the apps this token can reach.

curl -X GET "https://baiocodesolutions.com/api/v1/apps" \
  -H "Authorization: Bearer $DEEPBERTH_TOKEN"

200 OK

{
    "data": [
        {
            "id": 12,
            "name": "Your Brand App",
            "ios_bundle_id": "com.yourbrand.app",
            "android_package": "com.yourbrand",
            "created_at": "2026-11-01T09:00:00+00:00"
        }
    ]
}

Get an app

GET/apps/{id}apps:read

Returns one app.

curl -X GET "https://baiocodesolutions.com/api/v1/apps/12" \
  -H "Authorization: Bearer $DEEPBERTH_TOKEN"

200 OK

{
    "data": {
        "id": 12,
        "name": "Your Brand App",
        "ios_bundle_id": "com.yourbrand.app",
        "android_package": "com.yourbrand",
        "created_at": "2026-11-01T09:00:00+00:00"
    }
}

List domains

GET/domainsdomains:read

Returns your custom domains and the shared domains available to you. Only verified domains can be used for links.

curl -X GET "https://baiocodesolutions.com/api/v1/domains" \
  -H "Authorization: Bearer $DEEPBERTH_TOKEN"

200 OK

{
    "data": [
        {
            "id": 7,
            "hostname": "link.yourbrand.com",
            "kind": "custom",
            "status": "verified",
            "ssl_status": "active"
        }
    ]
}

Get usage

GET/usageusage:read

Returns approximate monthly active users for the current calendar month in UTC.

curl -X GET "https://baiocodesolutions.com/api/v1/usage" \
  -H "Authorization: Bearer $DEEPBERTH_TOKEN"

200 OK

{
    "data": {
        "monthly_active_users": 12400,
        "limit": 150000,
        "percent_used": 8,
        "period": "2026-11"
    }
}