Logo
Fastly Developer Hub API Documentation

Fastly API

Number of APIs: 567


Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends; and configuring rules or uploading your own application code, as well as perform account operations such as user administration and billing reports.

The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts.

For the most accurate and up-to-date API reference content, visit developer.fastly.com/reference/api/.


1. Products-Enable and disable products - Enable a product

PUT {{fastly_url}}/enabled-products/v1/{{product_id}}/services/{{service_id}}



2. Real-time logging-GCS Logging - Get a GCS log endpoint

GET {{fastly_url}}/service/{{service_id}}/version/{{version_id}}/logging/gcs/{{logging_gcs_name}}



3. Account-Billing - Get an invoice

GET {{fastly_url}}/billing/v2/account_customers/{{customer_id}}/invoices/{{invoice_id}}



4. VCL objects-HTTP3/QUIC - Enable support for HTTP/3

POST {{fastly_url}}/service/{{service_id}}/version/{{version_id}}/http3



5. Real-time logging-Syslog - List Syslog log endpoints

GET {{fastly_url}}/service/{{service_id}}/version/{{version_id}}/logging/syslog



6. Services-Resource links - Create a resource link

POST {{fastly_url}}/service/{{service_id}}/version/{{version_id}}/resource



7. Legacy WAF-Rule statuses - Update the status of a rule

PATCH {{fastly_url}}/service/{{service_id}}/wafs/{{firewall_id}}/rules/{{waf_rule_id}}/rule_status



8. Account-Billing address - Get a billing address

GET {{fastly_url}}/customer/{{customer_id}}/billing_address



9. Account-Billing address - Add a billing address to a customer

POST {{fastly_url}}/customer/{{customer_id}}/billing_address



10. Account-Billing address - Delete a billing address

DELETE {{fastly_url}}/customer/{{customer_id}}/billing_address



ENDPOINTS