JumpCloud Custom Emails API
The Custom Emails API from JumpCloud — 3 operation(s) for custom emails.
The Custom Emails API from JumpCloud — 3 operation(s) for custom emails.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/jumpcloud:jumpcloud-custom-emails-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
contact:
name: JumpCloud Support
url: https://jumpcloud.com/support/contact-jumpcloud-support
description: '# Overview
JumpCloud''s V2 API. This set of endpoints allows JumpCloud customers to manage objects, groupings and mappings and interact with the JumpCloud Graph. > **Note:** See JumpCloud Data Centers: Login URLs and Service Endpoints to learn more. ## API Best Practices
Read the linked Help Article below for guidance on retrying failed requests to JumpCloud''s REST API, as well as best practices for structuring subsequent retry requests. Customizing retry mechanisms based on these recommendations will increase the reliability and dependability of your API calls. Covered topics include:
1. Important Considerations
2. Supported HTTP Request Methods
3. Response codes
4. API Key rotation
5. Paginating
6. Error handling
7. Retry rates
JumpCloud Help Center - API Best Practices
# Directory Objects
This API offers the ability to interact with some of our core features; otherwise known as Directory Objects. The Directory Objects are:
* Commands
* Policies
* Policy Groups
* Applications
* Systems
* Users
* User Groups
* System Groups
* Radius Servers
* Directories: Office 365, LDAP,G-Suite, Active Directory
* Duo accounts and applications. The Directory Object is an important concept to understand in order to successfully use JumpCloud API. ## JumpCloud Graph
We''ve also introduced the concept of the JumpCloud Graph along with Directory Objects. The Graph is a powerful aspect of our platform which will enable you to associate objects with each other, or establish membership for certain objects to become members of other objects. Specific `GET` endpoints will allow you to traverse the JumpCloud Graph to return all indirect and directly bound objects in your organization. | !alt text |
|:--:|
| **This diagram highlights our association and membership model as it relates to Directory Objects.** |
# API Key
## Access Your API Key
To locate your API Key:
1. Log into the JumpCloud Admin Console. 2. Go to the username drop down located in the top-right of the Console. 3. Retrieve your API key from API Settings. ## API Key Considerations
This API key is associated to the currently logged in administrator. Other admins will have different API keys. **WARNING** Please keep this API key secret, as it grants full access to any data accessible via your JumpCloud console account. You can also reset your API key in the same location in the JumpCloud Admin Console. ## Recycling or Resetting Your API Key
In order to revoke access with the current API key, simply reset your API key. This will render all calls using the previous API key inaccessible. Your API key will be passed in as a header with the header name "x-api-key". ```bash
curl -H "x-api-key: [YOUR_API_KEY_HERE]" "https://console.jumpcloud.com/api/v2/systemgroups"
```
# System Context
* Introduction
* Supported endpoints
* Response codes
* Authentication
* Additional examples
* Third party
## Introduction
JumpCloud System Context Authorization is an alternative way to authenticate with a subset of JumpCloud''s REST APIs. Using this method, a system can manage its information and resource associations, allowing modern auto provisioning environments to scale as needed. **Notes:**
* The following documentation applies to Linux Operating Systems only. * Systems that have been automatically enrolled using Apple''s Device Enrollment Program (DEP) or systems enrolled using the User Portal install are not eligible to use the System Context API to prevent unauthorized access to system groups and resources. If a script that utilizes the System Context API is invoked on a system enrolled in this way, it will display an error. ## Supported Endpoints
JumpCloud System Context Authorization can be used in conjunction with Systems endpoints found in the V1 API and certain System Group endpoints found in the v2 API.'
title: JumpCloud Custom Emails API
version: '2.0'
servers:
- url: https://console.jumpcloud.com/api/v2
description: United States (US)
x-jc-region: us
- url: https://console.eu.jumpcloud.com/api/v2
description: European Union (EU)
x-jc-region: eu
- url: https://console.in.jumpcloud.com/api/v2
description: India (IN)
x-jc-region: in
tags:
- name: Custom Emails
paths:
/customemails:
post:
summary: Create custom email configuration
tags:
- Custom Emails
responses:
'201':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/CustomEmail'
'400':
$ref: '#/components/responses/trait_standardErrors_400'
'401':
$ref: '#/components/responses/trait_standardErrors_401'
'403':
$ref: '#/components/responses/trait_standardErrors_403'
'404':
$ref: '#/components/responses/trait_standardErrors_404'
'409':
$ref: '#/components/responses/trait_standardErrors_409'
'500':
$ref: '#/components/responses/trait_standardErrors_500'
operationId: customEmails_create
parameters:
- $ref: '#/components/parameters/trait_multiTenantRequestHeaders_x-org-id'
requestBody:
$ref: '#/components/requestBodies/CustomEmail'
security:
- x-api-key: []
x-scopes:
- organizations
description: 'Create the custom email configuration for the specified custom email type.
This action is only available to paying customers.'
x-codeSamples:
- lang: Shell
source: "curl --request POST \\\n --url https://console.jumpcloud.com/api/v2/customemails \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"type\":\"activate_gapps_user\",\"subject\":\"string\",\"title\":\"string\",\"header\":\"string\",\"body\":\"string\",\"button\":\"string\",\"nextStepContactInfo\":\"string\"}'"
- lang: Python
source: "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails\"\n\npayload = {\n \"type\": \"activate_gapps_user\",\n \"subject\": \"string\",\n \"title\": \"string\",\n \"header\": \"string\",\n \"body\": \"string\",\n \"button\": \"string\",\n \"nextStepContactInfo\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"POST\", url, json=payload, headers=headers)\n\nprint(response.text)"
- lang: Powershell
source: '$headers=@{}
$headers.Add("x-org-id", "SOME_STRING_VALUE")
$headers.Add("x-api-key", "REPLACE_KEY_VALUE")
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri ''https://console.jumpcloud.com/api/v2/customemails'' -Method POST -Headers $headers -ContentType ''application/json'' -Body ''{"type":"activate_gapps_user","subject":"string","title":"string","header":"string","body":"string","button":"string","nextStepContactInfo":"string"}'''
/customemails/{custom_email_type}:
parameters:
- name: custom_email_type
in: path
required: true
schema:
type: string
x-functionalities-tags:
- custom-email
put:
summary: Update custom email configuration
tags:
- Custom Emails
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/CustomEmail'
'400':
$ref: '#/components/responses/trait_standardErrors_400'
'401':
$ref: '#/components/responses/trait_standardErrors_401'
'403':
$ref: '#/components/responses/trait_standardErrors_403'
'404':
$ref: '#/components/responses/trait_standardErrors_404'
'409':
$ref: '#/components/responses/trait_standardErrors_409'
'500':
$ref: '#/components/responses/trait_standardErrors_500'
operationId: customEmails_update
parameters:
- $ref: '#/components/parameters/trait_multiTenantRequestHeaders_x-org-id'
requestBody:
$ref: '#/components/requestBodies/CustomEmail'
security:
- x-api-key: []
x-scopes:
- organizations
description: 'Update the custom email configuration for the specified custom email type.
This action is only available to paying customers.'
x-codeSamples:
- lang: Shell
source: "curl --request PUT \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'content-type: application/json' \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE' \\\n --data '{\"type\":\"activate_gapps_user\",\"subject\":\"string\",\"title\":\"string\",\"header\":\"string\",\"body\":\"string\",\"button\":\"string\",\"nextStepContactInfo\":\"string\"}'"
- lang: Python
source: "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\npayload = {\n \"type\": \"activate_gapps_user\",\n \"subject\": \"string\",\n \"title\": \"string\",\n \"header\": \"string\",\n \"body\": \"string\",\n \"button\": \"string\",\n \"nextStepContactInfo\": \"string\"\n}\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\",\n \"content-type\": \"application/json\"\n}\n\nresponse = requests.request(\"PUT\", url, json=payload, headers=headers)\n\nprint(response.text)"
- lang: Powershell
source: '$headers=@{}
$headers.Add("x-org-id", "SOME_STRING_VALUE")
$headers.Add("x-api-key", "REPLACE_KEY_VALUE")
$headers.Add("content-type", "application/json")
$response = Invoke-RestMethod -Uri ''https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}'' -Method PUT -Headers $headers -ContentType ''application/json'' -Body ''{"type":"activate_gapps_user","subject":"string","title":"string","header":"string","body":"string","button":"string","nextStepContactInfo":"string"}'''
get:
summary: Get custom email configuration
tags:
- Custom Emails
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/CustomEmail'
'400':
$ref: '#/components/responses/trait_standardErrors_400'
'401':
$ref: '#/components/responses/trait_standardErrors_401'
'403':
$ref: '#/components/responses/trait_standardErrors_403'
'404':
$ref: '#/components/responses/trait_standardErrors_404'
'409':
$ref: '#/components/responses/trait_standardErrors_409'
'500':
$ref: '#/components/responses/trait_standardErrors_500'
operationId: customEmails_read
parameters:
- $ref: '#/components/parameters/trait_multiTenantRequestHeaders_x-org-id'
security:
- x-api-key: []
x-scopes:
- organizations
- organizations.readonly
description: Get the custom email configuration for the specified custom email type
x-codeSamples:
- lang: Shell
source: "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'"
- lang: Python
source: "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.text)"
- lang: Powershell
source: '$headers=@{}
$headers.Add("x-org-id", "SOME_STRING_VALUE")
$headers.Add("x-api-key", "REPLACE_KEY_VALUE")
$response = Invoke-RestMethod -Uri ''https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}'' -Method GET -Headers $headers'
delete:
summary: Delete custom email configuration
tags:
- Custom Emails
responses:
'204':
description: No Content
'400':
$ref: '#/components/responses/trait_standardErrors_400'
'401':
$ref: '#/components/responses/trait_standardErrors_401'
'403':
$ref: '#/components/responses/trait_standardErrors_403'
'404':
$ref: '#/components/responses/trait_standardErrors_404'
'409':
$ref: '#/components/responses/trait_standardErrors_409'
'500':
$ref: '#/components/responses/trait_standardErrors_500'
operationId: customEmails_destroy
parameters:
- $ref: '#/components/parameters/trait_multiTenantRequestHeaders_x-org-id'
security:
- x-api-key: []
x-scopes:
- organizations
description: Delete the custom email configuration for the specified custom email type
x-codeSamples:
- lang: Shell
source: "curl --request DELETE \\\n --url https://console.jumpcloud.com/api/v2/customemails/{custom_email_type} \\\n --header 'x-api-key: REPLACE_KEY_VALUE' \\\n --header 'x-org-id: SOME_STRING_VALUE'"
- lang: Python
source: "import requests\n\nurl = \"https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}\"\n\nheaders = {\n \"x-org-id\": \"SOME_STRING_VALUE\",\n \"x-api-key\": \"REPLACE_KEY_VALUE\"\n}\n\nresponse = requests.request(\"DELETE\", url, headers=headers)\n\nprint(response.text)"
- lang: Powershell
source: '$headers=@{}
$headers.Add("x-org-id", "SOME_STRING_VALUE")
$headers.Add("x-api-key", "REPLACE_KEY_VALUE")
$response = Invoke-RestMethod -Uri ''https://console.jumpcloud.com/api/v2/customemails/{custom_email_type}'' -Method DELETE -Headers $headers'
/customemail/templates:
x-functionalities-tags:
- logos
get:
summary: List custom email templates
tags:
- Custom Emails
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/CustomEmailTemplate'
'400':
$ref: '#/components/responses/trait_standardErrors_400'
'401':
$ref: '#/components/responses/trait_standardErrors_401'
'403':
$ref: '#/components/responses/trait_standardErrors_403'
'500':
$ref: '#/components/responses/trait_standardErrors_500'
operationId: customEmails_getTemplates
security:
- x-api-key: []
x-scopes:
- organizations
description: Get the list of custom email templates
x-codeSamples:
- lang: Shell
source: "curl --request GET \\\n --url https://console.jumpcloud.com/api/v2/customemail/templates \\\n --header 'x-api-key: REPLACE_KEY_VALUE'"
- lang: Python
source: 'import requests
url = "https://console.jumpcloud.com/api/v2/customemail/templates"
headers = {"x-api-key": "REPLACE_KEY_VALUE"}
response = requests.request("GET", url, headers=headers)
print(response.text)'
- lang: Powershell
source: '$headers=@{}
$headers.Add("x-api-key", "REPLACE_KEY_VALUE")
$response = Invoke-RestMethod -Uri ''https://console.jumpcloud.com/api/v2/customemail/templates'' -Method GET -Headers $headers'
components:
responses:
trait_standardErrors_401:
description: Unauthenticated
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
trait_standardErrors_409:
description: Conflict
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
trait_standardErrors_400:
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorDetails'
trait_standardErrors_500:
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
trait_standardErrors_404:
description: Not Found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
trait_standardErrors_403:
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
CustomEmailType:
type: string
enum:
- activate_gapps_user
- activate_o365_user
- lockout_notice_user
- password_expiration
- password_expiration_warning
- password_reset_confirmation
- user_change_password
- activate_user_custom
CustomEmailTemplate:
title: CustomEmailTemplate
type: object
properties:
type:
$ref: '#/components/schemas/CustomEmailType'
displayName:
type: string
description:
type: string
messageType:
type: string
fields:
type: array
items:
$ref: '#/components/schemas/CustomEmailTemplateField'
Error:
title: Error
type: object
x-examples: {}
description: ''
properties:
code:
format: int32
type: integer
description: HTTP status code
message:
type: string
description: Error message
status:
type: string
description: HTTP status description
ErrorDetails:
allOf:
- $ref: '#/components/schemas/Error'
- type: object
properties:
details:
description: 'Describes a list of objects with more detailed information of the given error. Each detail schema is according to one of the messages defined in Google''s API: https://github.com/googleapis/googleapis/blob/master/google/rpc/error_details.proto'
type: array
items:
type: object
additionalProperties: true
description: Object according to Google's API.
CustomEmailTemplateField:
title: CustomEmailTemplateField
type: object
properties:
field:
type: string
displayName:
type: string
defaultValue:
type: string
multiline:
type: boolean
CustomEmail:
title: CustomEmail
type: object
description: Custom email content created by the admin user to personalize emails sent to their system users.
properties:
id:
type: string
readOnly: true
type:
$ref: '#/components/schemas/CustomEmailType'
subject:
type: string
minLength: 0
title:
type: string
minLength: 0
header:
type: string
minLength: 0
body:
type: string
minLength: 0
button:
type: string
minLength: 0
nextStepContactInfo:
type: string
minLength: 0
required:
- type
- subject
parameters:
trait_multiTenantRequestHeaders_x-org-id:
description: Organization identifier that can be obtained from console settings.
in: header
name: x-org-id
schema:
type: string
requestBodies:
CustomEmail:
content:
application/json:
schema:
$ref: '#/components/schemas/CustomEmail'
securitySchemes:
x-api-key:
description: API key used to authenticate requests.
in: header
name: x-api-key
type: apiKey
x-tagGroups:
- name: API Reference
tags:
- Access Requests
- Access Risk Settings
- Active Directory
- Administrators
- Agent Groups
- Agents
- Aggregated Policy Stats
- App Catalog
- Apple MDM
- Applications
- Assets
- Authentication Policies
- Bulk Job Requests
- Commands
- Custom Emails
- Directories
- Directory Insights
- Duo
- Email Subscriptions
- FeatureTrials
- G Suite
- G Suite Import
- GCEP
- Google EMM
- Graph
- Groups
- IP Lists
- Identity Providers
- Identity Risk
- Image
- LDAP Servers
- Logos
- Managed Service Provider
- Microsoft MDM
- Monitoring and Alerting
- Notifications Channels
- Object Storage
- Office 365
- Office 365 Import
- Organization Feature Settings
- Organizations
- Password Manager
- Password Policy
- Password Vault
- PasswordManagerItem
- Policies
- Policy Group Associations
- Policy Group Members & Membership
- Policy Group Templates
- Policy Groups
- Policytemplates
- Privileged Access
- Providers
- Push Verification
- RADIUS Servers
- Reports
- Roles
- Rules
- SCIM Import
- SaaS App Management
- Samba Domains
- Sample Data
- Saved Views
- Scope Groups
- Service Accounts
- Slack Notifications
- Software Apps
- Subscriptions
- System Group Associations
- System Group Members & Membership
- System Groups
- System Insights
- Systems
- Systems Organization Settings
- Translation Rules
- User Group Associations
- User Group Members & Membership
- User Groups
- Users
- Webhook Notifications
- Webhook Notifications Channels
- Workday Import
- Workflows
- fde
- mdm
x-scopes:
- accessmanagement
- accessmanagement.readonly
- accessrequest
- accessrequest.readonly
- administratorLinks
- administrators
- administrators.readonly
- agents
- agents.create
- agents.credentials.delete
- agents.credentials.readonly
- agents.credentials.update
- agents.delete
- agents.readonly
- agents.state
- agents.state.activate
- agents.state.suspend
- agents.update
- anonymous
- applications
- applications.readonly
- applications.update
- assets
- assets.readonly
- associations
- associations.applications
- associations.applications.readonly
- associations.authn
- associations.authn.readonly
- associations.commands
- associations.commands.readonly
- associations.directories
- associations.directories.readonly
- associations.groups
- associations.groups.readonly
- associations.radius
- associations.radius.readonly
- associations.readonly
- associations.self
- associations.systems
- associations.systems.readonly
- associations.users
- associations.users.readonly
- authn
- authn.readonly
- billing
- commandrunner.legacy
- commands
- commands.readonly
- directories
- directories.readonly
- directoryinsights.readonly
- groups
- groups.readonly
- groups.self
- healthmonitoring.alerts
- healthmonitoring.alerts.readonly
- healthmonitoring.rules
- healthmonitoring.rules.readonly
- identityrisk
- identityrisk.readonly
- mdm
- mdm.readonly
- mfa
- mfa.readonly
- notifications.channels
- notifications.channels.readonly
- notifications.subscriptions
- notifications.subscriptions.readonly
- organizations
- organizations.billing
- organizations.readonly
- pam
- pam.backup
- pam.blocking-rules.create
- pam.blocking-rules.delete
- pam.blocking-rules.readonly
- pam.blocking-rules.update
- pam.jump-servers.create
- pam.jump-servers.delete
- pam.jump-servers.readonly
- pam.jump-servers.update
- pam.manage-all-privileged-resources
- pam.overview
- pam.privileged-credentials.create
- pam.privileged-credentials.delete
- pam.privileged-credentials.readonly
- pam.privileged-credentials.update
- pam.privileged-databases.create
- pam.privileged-databases.delete
- pam.privileged-databases.readonly
- pam.privileged-databases.update
- pam.privileged-servers.create
- pam.privileged-servers.delete
- pam.privileged-servers.readonly
- pam.privileged-servers.update
- pam.privileged-websites.create
- pam.privileged-websites.delete
- pam.privileged-websites.readonly
- pam.privileged-websites.update
- pam.readonly
- pam.resource-managers.create
- pam.resource-managers.delete
- pam.resource-managers.readonly
- pam.resource-managers.update
- pam.session-history
- pam.user-groups.create
- pam.user-groups.delete
- pam.user-groups.readonly
- pam.user-groups.update
- partners
- partners.readonly
- passwordmanager
- passwordmanager.readonly
- protect
- providers
- providers.readonly
- radius
- radius.readonly
- reports
- reports.readonly
- roles
- roles.readonly
- saas
- saas.readonly
- serviceaccounts
- serviceaccounts.readonly
- subscriptions.readonly
- support
- support.readonly
- systeminsights.readonly
- systems
- systems.management
- systems.readonly
- transfer
- users
- users.create
- users.password
- users.password.expire
- users.properties
- users.properties.update
- users.readonly
- users.self
- users.state
- users.state.delete
- users.state.readonly
- users.state.unlock
- users.state.update
- workflows
- workflows.readonly