const response = await fetch('https://service.pcibooking.net/api/resources/stylesheet', {
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const cssRecords = await response.json();
console.log(cssRecords);
import requests
response = requests.get(
'https://service.pcibooking.net/api/resources/stylesheet',
headers={
'Authorization': 'APIKEY your-api-key'
}
)
css_records = response.json()
print(css_records)
[
{
"ResourceName": "DefaultCSS",
"Description": "The default CSS",
"IsDefault": true,
"ContentType": "text/css"
},
{
"ResourceName": "ArabicCSS",
"Description": "CSS for Arabic pages",
"IsDefault": false,
"ContentType": "text/css"
}
]
Empty response body.
Authentication failed: the API key, session token or access token is missing or was not accepted.
See "Authentication and Permission Failures" on the Error Handling page.
CSS Stylesheets
List All CSS Records
Retrieve a list of all CSS records in your account.
GET
/
api
/
resources
/
stylesheet
const response = await fetch('https://service.pcibooking.net/api/resources/stylesheet', {
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const cssRecords = await response.json();
console.log(cssRecords);
import requests
response = requests.get(
'https://service.pcibooking.net/api/resources/stylesheet',
headers={
'Authorization': 'APIKEY your-api-key'
}
)
css_records = response.json()
print(css_records)
[
{
"ResourceName": "DefaultCSS",
"Description": "The default CSS",
"IsDefault": true,
"ContentType": "text/css"
},
{
"ResourceName": "ArabicCSS",
"Description": "CSS for Arabic pages",
"IsDefault": false,
"ContentType": "text/css"
}
]
Empty response body.
Authentication failed: the API key, session token or access token is missing or was not accepted.
See "Authentication and Permission Failures" on the Error Handling page.
Stylesheets Guide
Customize the appearance of hosted forms
Error Responses
| HTTP Status | Error Code | Description |
|---|---|---|
| 401 | none | Not authenticated. The API key is missing or invalid. The response body is empty. |
Parameters
Authentication
API key only. This endpoint does not accept access tokens or session tokens.string
required
Your API key prefixed with
APIKEY. Example: APIKEY your-api-key. The x-pcibooking-api-key header is also accepted. See the Authentication guide.const response = await fetch('https://service.pcibooking.net/api/resources/stylesheet', {
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const cssRecords = await response.json();
console.log(cssRecords);
import requests
response = requests.get(
'https://service.pcibooking.net/api/resources/stylesheet',
headers={
'Authorization': 'APIKEY your-api-key'
}
)
css_records = response.json()
print(css_records)
Response
[
{
"ResourceName": "DefaultCSS",
"Description": "The default CSS",
"IsDefault": true,
"ContentType": "text/css"
},
{
"ResourceName": "ArabicCSS",
"Description": "CSS for Arabic pages",
"IsDefault": false,
"ContentType": "text/css"
}
]
Empty response body.
Authentication failed: the API key, session token or access token is missing or was not accepted.
See "Authentication and Permission Failures" on the Error Handling page.

