Skip to content

Admin API Reference (2026-01-08)

The Zephr Admin API provides RESTful access to all Zephr functionality. It is designed for server-side integrations. All requests must be signed as described in HMAC Request Signing and Key Pairs.

The Admin API uses a base URL with the following format: https://{tenantId}.api.zephr.com

Note: If you have multiple tenants, the current tenant ID is shown in a blue box in the top right of the Admin Console. If you have a single site, you can find the tenant ID by navigating to your site domains. To do this, select Sites from the Delivery menu, select your site, and then click the Site Domains button. The tenant ID is the first part of the domain. For example, if the domain is news-paper.cdn.zephr.com, the tenant ID is news.

Download OpenAPI description
Languages
Servers
Mock server
https://developer.zuora.com/_mock/zephr-api-reference/zephr-admin-api
https://{tenantId}.api.zephr.com

Account User

Contains operations on the Account User resource.

Operations

Admin User

Contains operations on the Admin User resource.

Operations

Bundle

Contains operations on the Bundle resource.

Operations

Cache Configurations

Contains operations on the Cache Configurations resource.

Operations

Cache Management

Cache Mangement.

Operations

Company

Actions on resource Company.

Operations

Component Library

Actions on resource Library Component.

Operations

Configuration

Blaize tenant configuration.

Operations

Credit

Actions on resource Credit.

Operations

Decision Engine

Operations

Email Templates

Actions on email templates.

Operations

Entitlement

Actions on resource Entitlement.

Operations

Feature Rules

Actions on resource Feature Rules.

Note: - Note: The APIs mentioned in this section support legacy Feature Rules only. Feature Rules created through the Admin Console (V4 Features) are stored in a different system and are not accessible through these APIs.

Operations

Form

Actions on resource Form.

Operations

Gifts

Operations

Grants

Actions on resource Grant.

Operations

Meter

Actions on resource Meter.

Operations

Products

Actions on resource Product.

Operations

Request Rules

Actions on resource Request Rules.

Operations

List request rules

Request

Retrieves a list of request rules wrapped in the element "results".

Security
ZephrHmacHttp
Query
tagsstring

A comma-separeted list of request rule tags (Maximum 50 tags allowed)

Example: tags=tag1,tag2,tag3
curl -i -X GET \
  'https://developer.zuora.com/_mock/zephr-api-reference/zephr-admin-api/v3/request-rules?tags=tag1%2Ctag2%2Ctag3' \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'

Responses

OK - Request rules have been retrieved successfully

Bodyapplication/json
resultsArray of objects(request_rules_object)
Response
application/json
{ "results": [ { … } ] }

Save a request rule

Request

Saves a request rule.

Security
ZephrHmacHttp
Bodyapplication/json
labelstring
Example: "Test"
conditionsobject
Example: {"url_pattern":"^/forum","method":"GET"}
requirements_scriptstring
Example: "return []"
action_scriptstring
Example: "return \"this is a test\""
script_typestring
Example: "javascript"
graph_statestring
Example: "{\"property1\": \"value1\"}"
editing_modestring
Example: "manual"
curl -i -X PUT \
  https://developer.zuora.com/_mock/zephr-api-reference/zephr-admin-api/v3/request-rules \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "label": "Test",
    "conditions": {
      "url_pattern": "^/forum",
      "method": "GET"
    },
    "requirements_script": "return []",
    "action_script": "return \"this is a test\"",
    "script_type": "javascript",
    "graph_state": "{\"property1\": \"value1\"}",
    "editing_mode": "manual"
  }'

Responses

OK

Delete a request rule

Request

Deletes a request rule.

Security
ZephrHmacHttp
Path
idstringrequired

Unique Request Rule identifier

curl -i -X DELETE \
  'https://developer.zuora.com/_mock/zephr-api-reference/zephr-admin-api/v3/request-rules/{id}' \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'

Responses

OK

Retrieve a particular version of a request rule

Request

Retrieves a request rule version.

Security
ZephrHmacHttp
Path
idstringrequired

Unique Request Rule identifier

versionIdintegerrequired

Unique Request Rule version number

curl -i -X GET \
  'https://developer.zuora.com/_mock/zephr-api-reference/zephr-admin-api/v3/request-rules/{id}/versions/{versionId}' \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
labelstring
Example: "Test"
descriptionstring
Example: "This rule tests for authenticated users"
priorityinteger
Example: 1
versionnumber
Example: 1
last_updatedstring
Example: "2011-11-11T11:11:11.000"
conditionsobject(request_rules_conditions)
lastUpdatedAtstring
Example: "2022-06-01 00:00:00"
requirements_scriptstring
Example: "return []"
action_scriptstring
Example: "return \"this is a test\""
script_typestring
Example: "javascript"
graph_statestring
Example: "{\"property1\": \"value1\"}"
editing_modestring
Example: "manual"
Response
application/json
{ "label": "Test", "description": "This rule tests for authenticated users", "priority": 1, "version": 1, "last_updated": "2011-11-11T11:11:11.000", "conditions": { "url_pattern": "^/forum", "method": "GET" }, "lastUpdatedAt": "2022-06-01 00:00:00", "requirements_script": "return []", "action_script": "return \"this is a test\"", "script_type": "javascript", "graph_state": "{\"property1\": \"value1\"}", "editing_mode": "manual" }

Delete a request rule version

Request

Deletes a request rule version.

Security
ZephrHmacHttp
Path
idstringrequired

Unique Request Rule identifier

versionIdstringrequired

Unique Request Rule version identifier

curl -i -X DELETE \
  'https://developer.zuora.com/_mock/zephr-api-reference/zephr-admin-api/v3/request-rules/{id}/versions/{versionId}' \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'

Responses

OK

Session

Actions on resource Session.

Operations

Static Items

Actions on resource Static Item.

Operations

Third Party Authentication

Contains operations for the OAuth 2.0 Authorization Code Flow Token Exchange.

Operations

User Export

Operations

User Schema

Actions on resource User Schema.

Operations

Users

Contains operations on the User resource. Important: The Attributes object contains the custom-defined attributes for a user.

Operations

V4 Session

Actions on resource Session.

Operations

Webhook

Actions on resource Webhook.

Operations

Account

Actions on resource Account.

Operations

Health Check

Actions on Health checks.

Operations

System Resources

Actions on system resources.

Operations

External Templates

External Templates.

Accounts

Operations

Request Rules Version

Operations

Fetch external template

Request

Fetch External Template

Security
ZephrHmacHttp
Path
templateConfigIdstringrequired

Unique External Template identifier

curl -i -X GET \
  'https://developer.zuora.com/_mock/zephr-api-reference/zephr-admin-api/zephr/public/template-components/v1/template-components/{templateConfigId}' \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
string
Response
application/json
[ "The template the-value::!" ]

Pages

Operations

Dynamic Offer Promo code redemption

Operations

Subscription

Operations