Contents
Provider callbacks
Routes called by payment providers, the certificate authority and the former Files server, not by customers. They are listed so that no route of the previous platform goes undocumented.
Literal response from the frozen contract
- POSTCertificate authority callback
/api/v1/resources/{resource}/SSL_com_hook/{hostname} - POSTChargify notifications
/_chargify/webhook - POSTCheddarGetter notifications
/_cg/hook - POSTStart of a PayPal sign-up
/_cg/paypal_signup/{plan} - GETReturn from a PayPal sign-up
/_cg/paypal_signup - GETCancelled PayPal sign-up
/_cg/paypal_cancelled - POSTFiles storage usage
/_files/webhook/sync - POSTFiles changes
/_files/webhook/files_sync - POSTFiles migration result
/_files/webhook/migration/result - GETFiles sample page
/_files/hello/{name}
/api/v1/resources/{resource}/SSL_com_hook/{hostname}Certificate authority callback
Callback through which the certificate authority delivered issued certificates on the previous platform.
It answers 410 Gone by default: certificate orders of CDNify use their own callbacks.
- Authentication
- HTTP Basic with the user API key
- Host
- https://api.cdnify.lat, https://reseller.cdnify.lat
- In CDNify
- Behaviour changed for safety or pending a decision
- Rate limited
- Yes
- API v2 equivalent
- No API v2 equivalent
Parameters
| Name | In | Type | Required | Rules |
|---|---|---|---|---|
| resource | Path | string | Yes |
|
| hostname | Path | string | Yes |
Request body
Content types: application/x-www-form-urlencoded, application/json
| Field | Type | Required | Rules |
|---|---|---|---|
| certificate_hook | string | Yes | |
| md5 | string | Yes |
{
"certificate_hook": "{\"certificates\":\"-----BEGIN CERTIFICATE-----\\nSYNTHETIC\\n-----END CERTIFICATE-----\"}",
"md5": "0123456789ABCDEF0123456789ABCDEF"
}Responses
200OKapplication/json
Headers: X-RateLimit-Limit: 1000, X-RateLimit-Remaining: 999, X-RateLimit-Reset: 1768474800
Fields (2)
Responses v1SslComCertificateCallback 200 Field Type Required Rules message string Yes validTo string Yes - Pattern: ^\d{4}-\d{2}-\d{2}$
Example { "message": "SSL certificate changed for domain cdn.example.com", "validTo": "2027-01-15" }400Bad requestapplication/json
Fields (8)
Responses v1SslComCertificateCallback 400 Field Type Required Rules #1 object No #1.message string Yes #2 object No #2.error object Yes #2.error.message string Yes #2.error.md5 string No - Pattern: ^[0-9A-F]{32}$
#2.error.sha256 string No - Pattern: ^[0-9A-F]{64}$
#2.error.unique_token string No - Pattern: ^[0-9a-f]{20}$
Example: missing { "message": "The required options \"certificate_hook\", \"md5\" are missing." }401Unauthorized
Headers: WWW-Authenticate: Basic realm="Secured Area"
404Not foundapplication/json
Fields (12)
Responses v1SslComCertificateCallback 404 Field Type Required Rules #1 object No #1.errors array<object> Yes - At least 1 items
#1.errors[].code integer Yes #1.errors[].message string Yes #2 object No #2.error object Yes #2.error.message string Yes #2.error.md5 string No - Pattern: ^[0-9A-F]{32}$
#2.error.sha256 string No - Pattern: ^[0-9A-F]{64}$
#2.error.unique_token string No - Pattern: ^[0-9a-f]{20}$
#3 object No #3.message string Yes Example: domain { "error": { "message": "Invalid custom domain" } }429Too many requeststext/plain
Example You have reached the rate limit
Called by a third party, not by customers. There is no curl example.
/_chargify/webhookChargify notifications
Notifications of the former Chargify billing integration.
It answers 410 Gone by default: Chargify is no longer used.
- Authentication
- Signature of the provider
- Host
- https://api.cdnify.lat
- In CDNify
- Behaviour changed for safety or pending a decision
- API v2 equivalent
- No API v2 equivalent
Request body
Content types: application/x-www-form-urlencoded
| Field | Type | Required | Rules |
|---|---|---|---|
| id | string | No | |
| event | string | No | |
| payload | object | No |
{
"id": "1001",
"event": "payment_success",
"payload": {
"subscription": {
"id": "2002"
}
}
}Responses
200OKapplication/json
Example [ "" ]400Bad requestapplication/json
Example [ "" ]
Called by a third party, not by customers. There is no curl example.
/_cg/hookCheddarGetter notifications
Notifications of the payment provider, verified with its token and its signature.
- Authentication
- Signature of the provider
- Host
- https://api.cdnify.lat
- In CDNify
- Same behaviour as before
- API v2 equivalent
- No API v2 equivalent
Request body
Content types: application/x-www-form-urlencoded
| Field | Type | Required | Rules |
|---|---|---|---|
| activityType | string | No | |
| product | object | Yes | |
| product.id | string | Yes | |
| customer | object | No |
{
"activityType": "subscriptionChanged",
"product": {
"id": "synthetic-product"
},
"customer": {
"id": "synthetic-customer",
"code": "u0a1b2c3d4"
}
}Responses
200OKapplication/json
Example [ "" ]400Bad requestapplication/json
Example: method [ "Method should be POST" ]Example: malformed [ "Malformed request" ]Example: token [ "Missing token or token missmatch" ]Example: signature [ "Invalid request signature" ]
Called by a third party, not by customers. There is no curl example.
/_cg/paypal_signup/{plan}Start of a PayPal sign-up
Browser step of a sign-up paid with PayPal. It now redirects to the customer portal.
- Authentication
- None
- Host
- https://api.cdnify.lat
- In CDNify
- Behaviour changed for safety or pending a decision
- API v2 equivalent
- No API v2 equivalent
Parameters
| Name | In | Type | Required | Rules |
|---|---|---|---|---|
| plan | Path | string | Yes |
Request body
Content types: application/x-www-form-urlencoded
| Field | Type | Required | Rules |
|---|---|---|---|
| signup | object | No | |
| signup.customer | object | No | |
| signup.customer.reference | string | No |
{
"signup": {
"customer": {
"reference": "u0a1b2c3d4"
}
}
}Responses
302Found (redirect)
Headers: Location
Called by a third party, not by customers. There is no curl example.
/_cg/paypal_signupReturn from a PayPal sign-up
Browser return after a PayPal sign-up. It now redirects to the customer portal.
- Authentication
- None
- Host
- https://api.cdnify.lat
- In CDNify
- Same contract, with a defect corrected
- API v2 equivalent
- No API v2 equivalent
Responses
200OKtext/html
Called by a third party, not by customers. There is no curl example.
/_cg/paypal_cancelledCancelled PayPal sign-up
Browser return after a cancelled PayPal sign-up. It now redirects to the customer portal.
- Authentication
- None
- Host
- https://api.cdnify.lat
- In CDNify
- Same contract, with a defect corrected
- API v2 equivalent
- No API v2 equivalent
Responses
200OKtext/html
Called by a third party, not by customers. There is no curl example.
/_files/webhook/syncFiles storage usage
Storage usage reported by the former Files server.
It answers 410 Gone: the Files server is no longer part of CDNify.
- Authentication
- Signature of the provider
- Host
- https://api.cdnify.lat
- In CDNify
- Behaviour changed for safety or pending a decision
- API v2 equivalent
- No API v2 equivalent
Request body
Content types: application/json
| Field | Type | Required | Rules |
|---|---|---|---|
| [].user | string | Yes | |
| [].usage | number | Yes |
[
{
"user": "u0a1b2c3d4",
"usage": 1048576
}
]Responses
200OKapplication/json
Example []403Forbiddenapplication/json
Example [ "X header is incorrect" ]
Called by a third party, not by customers. There is no curl example.
/_files/webhook/files_syncFiles changes
File additions and removals reported by the former Files server.
It answers 410 Gone: the Files server is no longer part of CDNify.
- Authentication
- None
- Host
- https://api.cdnify.lat
- In CDNify
- Behaviour changed for safety or pending a decision
- API v2 equivalent
- No API v2 equivalent
Request body
Content types: application/json
| Field | Type | Required | Rules |
|---|---|---|---|
| event | string | No |
|
| * | object | No | |
| *.id | any | Yes | |
| *.user_id | any | Yes | |
| *.resource_id | any | Yes | |
| *.name | any | Yes | |
| *.path | any | Yes | |
| *.size | any | Yes | |
| *.type | any | Yes | |
| *.date_uploaded | any | Yes |
{
"0": {
"id": 1,
"user_id": "u0a1b2c3d4",
"resource_id": "a1b2c3d",
"name": "logo.png",
"path": "/img",
"size": 2048,
"type": "image/png",
"date_uploaded": "2026-01-15 10:00:00"
},
"event": "file.uploaded"
}Responses
200OKapplication/json
Fields (1)
Responses hookFilesFileSync 200 Field Type Required Rules message string Yes Example { "message": "Count = 1, Error count = 0" }400Bad requestapplication/json
Fields (1)
Responses hookFilesFileSync 400 Field Type Required Rules message string Yes Example: not_json { "message": "Content is not json" }Example: malformed { "message": "Malformed request" }Example: file { "message": "Unable to process file" }
Called by a third party, not by customers. There is no curl example.
/_files/webhook/migration/resultFiles migration result
Result of a user migration reported by the former Files server.
It answers 410 Gone: the Files server is no longer part of CDNify.
- Authentication
- None
- Host
- https://api.cdnify.lat
- In CDNify
- Behaviour changed for safety or pending a decision
- API v2 equivalent
- No API v2 equivalent
Request body
Content types: application/json
| Field | Type | Required | Rules |
|---|---|---|---|
| success | boolean | Yes | |
| user | any | Yes | |
| current_server | string | Yes | |
| migration_server | string | Yes |
{
"success": true,
"user": 1,
"current_server": "files1.example.net",
"migration_server": "files2.example.net"
}Responses
200OKapplication/json
Example {}400Bad requestapplication/json
Fields (1)
Responses hookFilesMigrationResult 400 Field Type Required Rules message string Yes Example { "message": "Content is not json" }
Called by a third party, not by customers. There is no curl example.
/_files/hello/{name}Files sample page
Sample page left over by the Files component.
It answers 410 Gone.
- Authentication
- None
- Host
- https://api.cdnify.lat
- In CDNify
- Behaviour changed for safety or pending a decision
- API v2 equivalent
- No API v2 equivalent
Parameters
| Name | In | Type | Required | Rules |
|---|---|---|---|---|
| name | Path | string | Yes |
Responses
200OKtext/html
Called by a third party, not by customers. There is no curl example.