リンク
                                GET https://digily.link/api/links/
                            
                        
                                curl --request GET \
--url 'https://digily.link/api/links/' \
--header 'Authorization: Bearer {api_key}' \
                        --url 'https://digily.link/api/links/' \
--header 'Authorization: Bearer {api_key}' \
| パラメータ | 詳細 | 説明 | 
|---|---|---|
| page | オプション 整数 | 結果を取得したいページ番号。デフォルトは1です。 | 
                            
| results_per_page | オプション 整数 | 1ページあたりの結果数を指定してください。許可されている値は: 10 , 25 , 50 , 100 , 250 , 500 , 1000。デフォルトは25です。 | 
                            
{
    "data": [
        {
            "id": 1,
            "project_id": null,
            "domain_id": 0,
            "type": "link",
            "url": "example",
            "location_url": "https://example.com/",
            "settings": {
                "password": null,
                "sensitive_content": false
            },
            "clicks": 10,
            "order": 0,
            "start_date": null,
            "end_date": null,
            "datetime": "2025-11-04 12:41:16",
        }
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://digily.link/api/links?page=1",
        "last": "https://digily.link/api/links?page=1",
        "next": null,
        "prev": null,
        "self": "https://digily.link/api/links?page=1"
    }
}
                        
                                GET https://digily.link/api/links/{link_id}
                            
                        
                                curl --request GET \
--url 'https://digily.link/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
                        --url 'https://digily.link/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "project_id": null,
        "domain_id": 0,
        "type": "link",
        "url": "example",
        "location_url": "https://example.com/",
        "settings": {
            "password": null,
            "sensitive_content": false
        },
        "clicks": 10,
        "order": 0,
        "start_date": null,
        "end_date": null,
        "datetime": "2025-11-04 12:41:16",
    }
}
                        
                                POST https://digily.link/api/links
                            
                        | パラメータ | 詳細 | 説明 | 
|---|---|---|
| type | オプション 文字列 | link | 
                            
| location_url | 必須 文字列 | 宛先のURL。利用可能な時期: is_bulk = 0 | 
| location_urls | 必須 文字列 | 宛先のURL。利用可能な時期: is_bulk = 1 | 
| url | オプション 文字列 | 生成されたリンクのURLエイリアス。ランダムに生成する場合は空のままにしてください。利用可能な時期: is_bulk = 0 | 
| is_bulk | オプション ブール値 | |
| domain_id | オプション 整数 | - | 
| project_id | オプション 整数 | - | 
| pixels_ids | オプション 配列 整数 | - | 
| email_reports | オプション 配列 | 通知ハンドラーID | 
| schedule | オプション ブール値 | - | 
| start_date | オプション 文字列 | 利用可能な時期: schedule = true | 
| end_date | オプション 文字列 | 利用可能な時期: schedule = true | 
| clicks_limit | オプション 整数 | - | 
| expiration_url | オプション 文字列 | - | 
| sensitive_content | オプション ブール値 | - | 
| http_status_code | オプション 整数 | 許可されている値: 301, 302, 307, 308 | 
                            
| app_linking_is_enabled | オプション ブール値 | - | 
| cloaking_is_enabled | オプション ブール値 | - | 
| cloaking_title | オプション 文字列 | - | 
| cloaking_meta_description | オプション 文字列 | - | 
| cloaking_custom_js | オプション 文字列 | - | 
| cloaking_favicon | オプション ファイル | - | 
| cloaking_opengraph | オプション ファイル | - | 
| password | オプション 文字列 | - | 
| forward_query_parameters_is_enabled | オプション ブール値 | - | 
| utm_source | オプション 文字列 | - | 
| utm_medium | オプション 文字列 | - | 
| utm_campaign | オプション 文字列 | - | 
| targeting_type | オプション 文字列 | continent_code , country_code , device_type , browser_language , rotation , os_name , browser_name | 
                            
| targeting_continent_code_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = continent_code | 
| targeting_continent_code_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = continent_code | 
| targeting_country_code_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = country_code | 
| targeting_country_code_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = country_code | 
| targeting_city_name_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = city_name | 
| targeting_city_name_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = city_name | 
| targeting_device_type_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = device_type | 
| targeting_device_type_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = device_type | 
| targeting_browser_language_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = browser_language | 
| targeting_browser_language_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = browser_language | 
| targeting_rotation_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = rotation | 
| targeting_rotation_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = rotation | 
| targeting_os_name_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = os_name | 
| targeting_os_name_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = os_name | 
| targeting_browser_name_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = browser_name | 
| targeting_browser_name_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = browser_name | 
                                curl --request POST \
--url 'https://digily.link/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://digily.link/' \
                            
                        --url 'https://digily.link/api/links' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'url=example' \
--form 'location_url=https://digily.link/' \
{
    "data": {
        "id": 1
    }
}
                        
                                POST https://digily.link/api/links/{link_id}
                            
                        | パラメータ | 詳細 | 説明 | 
|---|---|---|
| location_url | オプション 文字列 | 宛先のURL。 | 
| url | オプション 文字列 | 生成されたリンクのURLエイリアス。ランダムに生成する場合は空のままにしてください。 | 
| domain_id | オプション 整数 | - | 
| project_id | オプション 整数 | - | 
| pixels_ids | オプション 配列 整数 | - | 
| email_reports | オプション 配列 | 通知ハンドラーID | 
| schedule | オプション ブール値 | - | 
| start_date | オプション 文字列 | 利用可能な時期: schedule = true | 
| end_date | オプション 文字列 | 利用可能な時期: schedule = true | 
| clicks_limit | オプション 整数 | - | 
| expiration_url | オプション 文字列 | - | 
| sensitive_content | オプション ブール値 | - | 
| http_status_code | オプション 整数 | 許可されている値: 301, 302, 307, 308 | 
                            
| app_linking_is_enabled | オプション ブール値 | - | 
| cloaking_is_enabled | オプション ブール値 | - | 
| cloaking_title | オプション 文字列 | - | 
| cloaking_meta_description | オプション 文字列 | - | 
| cloaking_custom_js | オプション 文字列 | - | 
| cloaking_favicon | オプション ファイル | - | 
| cloaking_opengraph | オプション ファイル | - | 
| password | オプション 文字列 | - | 
| forward_query_parameters_is_enabled | オプション ブール値 | - | 
| utm_source | オプション 文字列 | - | 
| utm_medium | オプション 文字列 | - | 
| utm_campaign | オプション 文字列 | - | 
| targeting_type | オプション 文字列 | continent_code , country_code , device_type , browser_language , rotation , os_name , browser_name | 
                            
| targeting_continent_code_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = continent_code | 
| targeting_continent_code_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = continent_code | 
| targeting_country_code_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = country_code | 
| targeting_country_code_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = country_code | 
| targeting_city_name_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = city_name | 
| targeting_city_name_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = city_name | 
| targeting_device_type_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = device_type | 
| targeting_device_type_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = device_type | 
| targeting_browser_language_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = browser_language | 
| targeting_browser_language_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = browser_language | 
| targeting_rotation_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = rotation | 
| targeting_rotation_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = rotation | 
| targeting_os_name_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = os_name | 
| targeting_os_name_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = os_name | 
| targeting_browser_name_key[index] | オプション 文字列 | 利用可能な時期: targeting_type = browser_name | 
| targeting_browser_name_value[index] | オプション 文字列 | 利用可能な時期: targeting_type = browser_name | 
                                curl --request POST \
--url 'https://digily.link/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
                            
                        --url 'https://digily.link/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'is_enabled=0' \
{
    "data": {
        "id": 1
    }
}
                        
                                DELETE https://digily.link/api/links/{link_id}
                            
                        
                                curl --request DELETE \
--url 'https://digily.link/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \
                            
                        --url 'https://digily.link/api/links/{link_id}' \
--header 'Authorization: Bearer {api_key}' \