Token reference
You can use the email subscribers wizard to specify context-specific tokens in the email subject and body. The tokens available and their replacement values depend on which flow is selected, for example, API, plan, product, or all.
Application Tokens
Tokens that are related to an individual Application.
Name |
Token |
Description |
Product Subscribers |
Plan Subscribers |
API Subscribers |
All Users |
---|---|---|---|---|---|---|
Description |
|
The description that is given to the application. |
||||
Enabled |
|
The state that the application is in. |
||||
ID |
|
The ID of the application. |
||||
Image URL |
|
The URL of the image for the application. |
||||
Lifecycle State |
|
The lifecycle state of the application. |
||||
Name |
|
The name of the application. |
||||
Title |
|
The title of the application. |
Consumer Organization Tokens
Tokens that are related to the individual consumer organization.
Name |
Token |
Description |
Product Subscribers |
Plan Subscribers |
API Subscribers |
All Users |
---|---|---|---|---|---|---|
ID |
|
The ID of the consumer organization. |
||||
Name |
|
The name of the consumer organization. |
||||
Title |
|
The title of the consumer organization. |
Product Tokens
Tokens that are related to an individual product.
Name |
Token |
Description |
Product Subscribers |
Plan Subscribers |
API Subscribers |
All Users |
---|---|---|---|---|---|---|
APIs |
|
A comma separated list of APIs (name:version) within the product. |
||||
ID |
|
The ID of the product. |
||||
Image URL |
|
The URL of the image for the product. |
||||
Name |
|
The name of the product. |
||||
Plans |
|
A comma separated list of plan names within the product. |
||||
State |
|
The state of the product. |
||||
Title |
|
The title of the product. |
Plan Tokens
Tokens that are related to an individual product plan.
Name |
Token |
Description |
Product Subscribers |
Plan Subscribers |
API Subscribers |
All Users |
---|---|---|---|---|---|---|
Approval required |
|
Whether the plan requires approval or not. |
||||
Description |
|
The description of the plan. |
||||
Name |
|
The name of a given plan within the product. |
||||
Rate limits |
|
A comma separated list of rate limit name value pairs that the plan contains. |
||||
Title |
|
The title of the plan. |
API Tokens
Tokens that are related to an individual API.
Name |
Token |
Description |
Product Subscribers |
Plan Subscribers |
API Subscribers |
All Users |
---|---|---|---|---|---|---|
ID |
|
The ID of the API. |
||||
Image URL |
|
The URL of the image for the API. |
||||
Name |
|
The name of the API. |
||||
OAI Version |
|
The OAI version of the API. |
||||
Protocol |
|
The protocol of the API. |
||||
State |
|
The current state the API is in. |
||||
Title |
|
The title of the API. |
||||
Version |
|
The version of the API. |
User Tokens
Tokens that are related to the individual user account of the recipient.
Name |
Token |
Description |
Product Subscribers |
Plan Subscribers |
API Subscribers |
All Users |
---|---|---|---|---|---|---|
Account Name |
|
The login name of the user account. |
||||
Created |
|
The date the user account was created. |
> | |||
Display Name |
|
The display name of the user account. |
||||
|
|
The email address of the user account. |
||||
First Name |
|
The first name of the user. |
||||
Last Name |
|
The last name of the user. |
||||
Roles |
|
The user roles associated with the user account. |
||||
State |
|
List (text) field. |
||||
User ID |
|
The unique ID of the user account. |
Current User Tokens
Tokens that are related to the current user who is initiating the sending of the emails.
Name |
Token |
Description |
Product Subscribers |
Plan Subscribers |
API Subscribers |
All Users |
---|---|---|---|---|---|---|
Account name |
|
The login name of the user account. |
||||
Display name |
|
The display name of the user account. |
||||
|
|
The email address of the user account. |
Site Information Tokens
Tokens that are related to site-wide settings and other global configuration.
Name |
Token |
Description |
Product Subscribers |
Plan Subscribers |
API Subscribers |
All Users |
---|---|---|---|---|---|---|
|
|
The administrative email address for the site. |
||||
Login page |
|
The URL of the site's login page. |
||||
Name |
|
The name of the site. |
||||
Slogan |
|
The slogan of the site. |
||||
URL |
|
The URL of the site's front page. |
||||
URL (brief) |
|
The URL of the site's front page without the protocol. |
Current Date Tokens
Tokens that are related to the current date and time.
Name |
Token |
Description |
Product Subscribers |
Plan Subscribers |
API Subscribers |
All Users |
---|---|---|---|---|---|---|
Custom format |
|
A date in a custom format. See the PHP documentation for details. |
||||
Fallback date format |
|
A date in 'fallback' format. (Fri, 01/08/2021 - 14:19) |
||||
HTML Date |
|
A date in 'html_date' format. (2021-01-08) |
||||
HTML Datetime |
|
A date in 'html_datetime' format. (2021-01-08T14:19:19+0000) |
||||
HTML Month |
|
A date in 'html_month' format. (2021-01) |
||||
HTML Time |
|
A date in 'html_time' format. (14:19:19) |
||||
HTML Week |
|
A date in 'html_week' format. (2021-W01) |
||||
HTML Year |
|
A date in 'html_year' format. (2021) |
||||
HTML Yearless date |
|
A date in 'html_yearless_date' format. (01-08) |
||||
Long format |
|
A date in 'long' format. (Friday, January 8, 2021 - 14:19) |
||||
Medium format |
|
A date in 'medium' format. (Fri, 01/08/2021 - 14:19) |
||||
Raw timestamp |
|
A date in UNIX timestamp format (1610115559) |
||||
Short format |
|
A date in 'short' format. (01/08/2021 - 14:19) |
||||
Time-since |
|
A date in 'time-since' format. (6 minutes) |