{ "info": { "_postman_id": "97d341a7-bd38-487b-8ef0-7f69227bb2ac", "name": "Atlassian CSM API", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" }, "item": [ { "name": "Organization", "description": "This resource represents organizations. Use this to manage an organization, profile, detail fields and values, entitlements and customers they have.", "item": [ { "name": "Get organization detail fields", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/details", "query": [], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns all organization detail fields, including their configuration. You can use the [get organization profile](./#api-api-v1-organization-profile-organizationid-get) API to get details for a particular organization.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n" }, "response": [] }, { "name": "Create organization detail field", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/details", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Creates an organization detail field. You can create up to 50 detail fields. \n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Edit organization detail field", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/details/:fieldName", "query": [], "variable": [] }, "method": "PUT", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Renames an organization detail field and/or changes the available options for SELECT or MULTISELECT fields.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Delete organization detail field", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/details/:fieldName", "query": [], "variable": [] }, "method": "DELETE", "header": [], "description": "Deletes an organization detail field and all values stored for it for all organizations. You cannot restore a detail field once it has been deleted.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n" }, "response": [] }, { "name": "Get organization", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/:organizationId", "query": [], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns an organization, including its details.\nIt is recommended to use the [get organization profile API](./#api-api-v1-organization-profile-organizationid-get) which is a simpler response shape to work with and also includes the entitlements for the organization.\n**Permissions required:** JSM or CSM agent access.\n" }, "response": [] }, { "name": "Update organization", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/:organizationId", "query": [], "variable": [] }, "method": "PUT", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Updates an organization's name.\n**Permissions required:** JSM or CSM agent access.\n\n**Note:** If [organization management](https://support.atlassian.com/jira-service-management-cloud/docs/add-a-customer-to-an-organization/) is restricted to Jira admins and App admins, then Jira or app admin access is also required.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Delete organization", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/:organizationId", "query": [], "variable": [] }, "method": "DELETE", "header": [], "description": "Deletes an organization. You cannot restore an organization once it has been deleted.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n" }, "response": [] }, { "name": "Set organization detail", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/:organizationId/details", "query": [ { "key": "fieldName", "value": "{{fieldName}}", "disabled": false, "description": "The name of the organization detail field to set the value of." } ], "variable": [] }, "method": "PUT", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "**Permissions required:** JSM or CSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Get organization entitlements", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/:organizationId/entitlement", "query": [ { "key": "product", "value": "{{product}}", "disabled": true, "description": "A product ID to optionally filter the entitlements to just entitlements of that product." } ], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns a list of the organization's entitlements, along with their details.\n**Permissions required:** JSM or CSM agent access.\n" }, "response": [] }, { "name": "Create organization entitlement", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/:organizationId/entitlement", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "**Permissions required:** JSM or CSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Create organization", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Creates an organization.\n**Permissions required:** JSM or CSM agent access.\n\n**Note:** If [organization management](https://support.atlassian.com/jira-service-management-cloud/docs/add-a-customer-to-an-organization/) is restricted to Jira admins and App admins, then Jira or app admin access is also required.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Fetch multiple organizations", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/fetch", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns a maximum of 50 organizations, fetched by organization id or name.\nAny organizations that cannot be found will be omitted from the results.\n**Permissions required:** JSM or CSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Get organization profile", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/profile/:organizationId", "query": [], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns a organization's profile, including its custom details and any product entitlements.\n**Permissions required:** JSM or CSM agent access.\n" }, "response": [] }, { "name": "Create organization profile", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/profile", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Creates an organization's profile, including adding the organization's detail fields, customers belonging to the organization and any product entitlements.\n**Permissions required:** JSM or CSM agent access.\n\n**Note:** If [organization management](https://support.atlassian.com/jira-service-management-cloud/docs/add-a-customer-to-an-organization/) is restricted to Jira admins and App admins, then Jira or app admin access is also required.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Fetch multiple organization profiles", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/profile/fetch", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns a maximum of 25 organization profiles.\nAny organizations that cannot be found will be omitted from the results.\n**Permissions required:** JSM or CSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] } ] }, { "name": "Organization bulk operations", "description": "This resource represents bulk operations for organizations. Use this to perform bulk operations on organizations, including their profiles and detail fields and values.", "item": [ { "name": "Bulk create organization detail field definitions", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/details/definitions/bulk", "query": [], "variable": [] }, "method": "POST", "header": [ { "key": "Idempotency-Key", "value": "{{Idempotency-Key}}", "disabled": false }, { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Create up to 50 organization detail-field definitions in a single async task. You can create up to 50 detail fields. Each detail field name in the request must be unique — both within the request itself (case-insensitive, trimmed) and against the names of detail fields that already exist on the organization entity. If any name is already in use, the entire request is rejected with `400 Bad Request` and no fields are created. This API does not modify or replace existing definitions.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Bulk manage organization profiles", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/profile/bulk", "query": [], "variable": [] }, "method": "POST", "header": [ { "key": "Idempotency-Key", "value": "{{Idempotency-Key}}", "disabled": false }, { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Bulk manage multiple organization profiles with detail fields.\nAllows creating, updating or upserting up to 100 organization profiles in a single request.\n**Organization Identification:** To identify organizations, provide either `id` or `name`. When using UPSERT operation, note that providing only `id` (without `name`) will not create a new organization if the organization doesn't exist. The `name` field must be provided to create new organizations.\n**Permissions required:** JSM or CSM agent access.\n\n**Note:** If [organization management](https://support.atlassian.com/jira-service-management-cloud/docs/add-a-customer-to-an-organization/) is restricted to Jira admins and App admins, then Jira or app admin access is also required when creating organizations or adding customers.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Bulk manage organizations", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/bulk", "query": [], "variable": [] }, "method": "POST", "header": [ { "key": "Idempotency-Key", "value": "{{Idempotency-Key}}", "disabled": false }, { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Bulk manage multiple organizations. This allows up to 50 organizations in a single request.\n**Permissions required:** The caller must be a Jira administrator.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Bulk manage organizations' detail field values", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/organization/details/bulk", "query": [], "variable": [] }, "method": "POST", "header": [ { "key": "Idempotency-Key", "value": "{{Idempotency-Key}}", "disabled": false }, { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Bulk manage organization detail field values for multiple organizations. Supports UPDATE, PATCH, and DELETE operations across multiple organizations and detail fields. A request can include up to 1000 detail-field operations total, counted across all organizations in the request.\n**Permissions required:** JSM or CSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] } ] }, { "name": "Customer", "description": "This resource represents customers. Use this to manage a customer account, profile, detail fields and values, entitlements and organizations they are a member of.", "item": [ { "name": "Get customer detail fields", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/details", "query": [], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns all customer detail fields, including their configuration. You can use the [get customer profile](./#api-api-v1-customer-profile-customerid-get)\nAPI to get details for a particular customer.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n" }, "response": [] }, { "name": "Create customer detail field", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/details", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Creates a customer detail field. You can create up to 50 detail fields. \n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Edit customer detail field", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/details/:fieldName", "query": [], "variable": [] }, "method": "PUT", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Renames a customer detail field and/or changes the available options for SELECT or MULTISELECT fields.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Delete customer detail field", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/details/:fieldName", "query": [], "variable": [] }, "method": "DELETE", "header": [], "description": "Deletes a customer detail field and all values stored for it for all customers. You cannot restore a detail field once it has been deleted.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n" }, "response": [] }, { "name": "Get customer", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/:customerId", "query": [], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns a customer, including their details.\nIt is recommended to use the [get customer profile API](./#api-api-v1-customer-profile-customerid-get) which is a simpler response shape to work with and also includes the entitlements for the customer.\nTo understand which `customerId` values are supported, see [Supported customer IDs](/cloud/customer-service-management/customer-ids).\n**Permissions required:** JSM or CSM agent access.\n" }, "response": [] }, { "name": "Get customer accessible customer experiences", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/:customerId/customer-experiences", "query": [], "variable": [] }, "method": "GET", "header": [ { "key": "X-ExperimentalApi", "value": "{{X-ExperimentalApi}}", "disabled": false }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns the Customer Experiences that the given customer can access.\n\n**Permissions required:** CSM agent access.\n" }, "response": [] }, { "name": "Search customer by detail field and value", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/search-by-detail-field", "query": [ { "key": "page", "value": "{{page}}", "disabled": true }, { "key": "maxResults", "value": "{{maxResults}}", "disabled": true } ], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns a paginated list of customers matching the supplied detail\nfield names and values. Each result contains the customer's ID,\nname, and email address.\n\n**Limitation:** Customers who have not been set as the reporter\nof a work item may not be returned, even if their customer profile\ncontains matching detail values.\n\nUse the [get customer profile](./#api-api-v1-customer-profile-customerid-get)\nAPI to retrieve customer details and entitlements.\n\n**Permissions required:** JSM or CSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Set customer detail", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/:customerId/details", "query": [ { "key": "fieldName", "value": "{{fieldName}}", "disabled": false, "description": "The name of the customer detail field to set the value of." } ], "variable": [] }, "method": "PUT", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "To understand which `customerId` values are supported, see [Supported customer IDs](/cloud/customer-service-management/customer-ids).\n**Permissions required:** JSM or CSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Get customer entitlements", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/:customerId/entitlement", "query": [ { "key": "product", "value": "{{product}}", "disabled": true, "description": "A product ID to optionally filter the entitlements to just entitlements of that product." } ], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns a list of the customer's entitlements, including entitlements inherited by any organizations the customer is in, along with their details.\nTo understand which `customerId` values are supported, see [Supported customer IDs](/cloud/customer-service-management/customer-ids).\n**Permissions required:** JSM or CSM agent access.\n" }, "response": [] }, { "name": "Create customer entitlement", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/:customerId/entitlement", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "To understand which `customerId` values are supported, see [Supported customer IDs](/cloud/customer-service-management/customer-ids).\n**Permissions required:** JSM or CSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Create customer account", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Creates a customer account.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Get customer account", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/account/:customerId", "query": [], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns a Customer Account's account information.\nThis endpoint supports only Customer Accounts in this site's customer directory. Atlassian Accounts are not supported because this resource is part of the Customer Account lifecycle API. Use the customer or customer profile APIs to retrieve the customer context for an eligible Atlassian Account.\n**Permissions required:** JSM or CSM agent access.\n" }, "response": [] }, { "name": "Update customer account", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/account/:customerId", "query": [], "variable": [] }, "method": "PUT", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Updates a customer account's display name.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Delete customer account", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/account/:customerId", "query": [], "variable": [] }, "method": "DELETE", "header": [], "description": "Deletes a customer. You cannot restore a customer account once it has been deleted.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n" }, "response": [] }, { "name": "Get customer profile", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/profile/:customerId", "query": [ { "key": "expand", "value": "{{expand}}", "disabled": true, "description": "Use `accessibleCustomerExperiences` to include the Customer Experiences accessible to the customer. This expansion requires a Customer Service Management user." } ], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns a customer's profile, including their custom details, any organizations the customer is in, and any customer entitlements.\nThe customer can be a Customer Account in this site's customer directory or an active Atlassian Account with the CSM customer role that is not a CSM agent or Jira site admin.\nTo understand which `customerId` values are supported, see [Supported customer IDs](/cloud/customer-service-management/customer-ids).\n**Permissions required:** JSM or CSM agent access. The `accessibleCustomerExperiences` expansion requires CSM agent access.\n" }, "response": [] }, { "name": "Create customer profile", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/profile", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Creates a customer's profile, including their custom details and associating them with the specified organizations and products.\n**Permissions required:** The caller must be a Jira administrator. Adding details or product entitlements also requires JSM or CSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Fetch multiple customer profiles", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/profile/fetch", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns a maximum of 25 customer profiles. This includes detail fields and any organizations the customer is in.\nA customer can be a Customer Account in this site's customer directory or an active Atlassian Account with the CSM customer role that is not a CSM agent or Jira site admin.\nAny requested account that cannot be found or is not an eligible customer will be omitted from the results.\nTo understand which `customerId` values are supported, see [Supported customer IDs](/cloud/customer-service-management/customer-ids).\n**Permissions required:** JSM or CSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] } ] }, { "name": "Customer bulk operations", "description": "This resource represents bulk operations for customers. Use this to perform bulk operations on customer accounts, profiles, and detail fields and values.", "item": [ { "name": "Bulk create customer detail field definitions", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/details/definitions/bulk", "query": [], "variable": [] }, "method": "POST", "header": [ { "key": "Idempotency-Key", "value": "{{Idempotency-Key}}", "disabled": false }, { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Create up to 50 customer detail-field definitions in a single async task. You can create up to 50 detail fields. Each detail field name in the request must be unique — both within the request itself (case-insensitive, trimmed) and against the names of detail fields that already exist on the customer entity. If any name is already in use, the entire request is rejected with `400 Bad Request` and no fields are created. This API does not modify or replace existing definitions.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Bulk manage customers' detail field values", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/details/bulk", "query": [], "variable": [] }, "method": "POST", "header": [ { "key": "Idempotency-Key", "value": "{{Idempotency-Key}}", "disabled": false }, { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Bulk manage customer detail field values for multiple customers. Supports UPDATE, PATCH, and DELETE operations across multiple customers and detail fields. A customer can be a Customer Account in this site's customer directory or an active Atlassian Account with the CSM customer role that is not a CSM agent or Jira site admin. A request can include up to 1000 detail-field operations total, counted across all customers in the request.\nTo understand which `customerId` values are supported, see [Supported customer IDs](/cloud/customer-service-management/customer-ids).\n**Permissions required:** JSM or CSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Bulk manage customer accounts", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/bulk", "query": [], "variable": [] }, "method": "POST", "header": [ { "key": "Idempotency-Key", "value": "{{Idempotency-Key}}", "disabled": false }, { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Bulk manage multiple customer accounts. This allows up to 50 customer accounts in a single request.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Bulk manage multiple customer profiles", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/customer/profile/bulk", "query": [], "variable": [] }, "method": "POST", "header": [ { "key": "Idempotency-Key", "value": "{{Idempotency-Key}}", "disabled": false }, { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Bulk manage multiple customer profiles with detail fields and organization associations.\nAllows creating, updating or upserting up to 100 customer profiles in a single request.\n**Eligible customers:** Updates can target a Customer Account in this site's customer directory or an active Atlassian Account with the CSM customer role that is not a CSM agent or Jira site admin.\n**Customer identification:** To identify Customer Accounts, provide either `email` or `customerId`. Eligible Atlassian Accounts must be identified by `customerId`. When using UPSERT, providing only `customerId` will not create a customer if it doesn't exist. The `email` field must be provided to create a new Customer Account.\n**Customer Account lifecycle:** CREATE operations and UPSERT operations that create an account create Customer Accounts only. Atlassian Account display names cannot be updated through this API; eligible Atlassian Accounts can have details, organization associations, and product associations updated.\nTo understand which `customerId` values are supported, see [Supported customer IDs](/cloud/customer-service-management/customer-ids).\n**Permissions required:** The caller must be a Jira administrator with JSM or CSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] } ] }, { "name": "Product", "description": "This resource represents products.", "item": [ { "name": "Get products", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/product", "query": [ { "key": "limit", "value": "{{limit}}", "disabled": true, "description": "The number of products to fetch. Defaults to 100 if not specified or value given is less than 1 or greater than 100." }, { "key": "cursor", "value": "{{cursor}}", "disabled": true, "description": "The starting point for the page of results to return. Use the value of `nextPageCursor` in one request to get the next page." } ], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "**Permissions required:** The caller must be a Jira administrator or have CSM or JSM agent access.\n" }, "response": [] }, { "name": "Create product", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/product", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "**Permissions required:** The caller must be a Jira administrator or have CSM or JSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Get product", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/product/:productId", "query": [], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "**Permissions required:** The caller must be a Jira administrator or have CSM or JSM agent access.\n" }, "response": [] }, { "name": "Rename product", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/product/:productId", "query": [], "variable": [] }, "method": "PUT", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "**Permissions required:** The caller must be a Jira administrator or have CSM or JSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Delete product", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/product/:productId", "query": [], "variable": [] }, "method": "DELETE", "header": [], "description": "Deletes a product and all entitlements associated with it. You cannot restore a detail field once it has been deleted.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n" }, "response": [] } ] }, { "name": "Entitlement", "description": "This resource represents entitlements, including their details. Use this to manage entitlement detail fields and values.", "item": [ { "name": "Get entitlement detail fields", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/entitlement/details", "query": [], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns all entitlement detail fields, including their configuration. You can use the [get entitlement](./#api-api-v1-entitlement-entitlementid-get)\nAPI to get details for a particular entitlement.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n" }, "response": [] }, { "name": "Create entitlement detail field", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/entitlement/details", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Creates an entitlement detail field. You can create up to 50 detail fields. \n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Edit entitlement detail field", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/entitlement/details/:fieldName", "query": [], "variable": [] }, "method": "PUT", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Renames an entitlement detail field and/or changes the available options for SELECT or MULTISELECT fields.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Delete entitlement detail field", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/entitlement/details/:fieldName", "query": [], "variable": [] }, "method": "DELETE", "header": [], "description": "Deletes an entitlement detail field and all values stored for it for all entitlements. You cannot restore a detail field once it has been deleted.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n" }, "response": [] }, { "name": "Get entitlement", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/entitlement/:entitlementId", "query": [], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns an entitlement, including its details. You can get entitlements for a customer using the [get customer entitlements](../api-group-customer/#api-api-v1-customer-customerid-get) API,\nand get entitlements for an organization using the [get organization entitlements](../api-group-organization/#api-api-v1-organization-organizationid-get) API.\n**Permissions required:** CSM or JSM agent access, or the caller must be the entitled customer or a member of the entitled organization.\n" }, "response": [] }, { "name": "Delete entitlement", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/entitlement/:entitlementId", "query": [], "variable": [] }, "method": "DELETE", "header": [], "description": "Deletes the specified entitlement along with its detail fields. You cannot restore an entitlement once it has been deleted.\n**Permissions required:** Administer Jira [global permission](https://support.atlassian.com/jira-cloud-administration/docs/manage-global-permissions/).\n" }, "response": [] }, { "name": "Set entitlement detail", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/entitlement/:entitlementId/details", "query": [ { "key": "fieldName", "value": "{{fieldName}}", "disabled": false, "description": "The name of the entitlement detail field to set the value of." } ], "variable": [] }, "method": "PUT", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "**Permissions required:** CSM or JSM agent access.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Get entitlements", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/entitlements", "query": [ { "key": "entityType", "value": "{{entityType}}", "disabled": false, "description": "The entity type to return entitlements for." }, { "key": "entityId", "value": "{{entityId}}", "disabled": false, "description": "The unique identifier for the entity." }, { "key": "start", "value": "{{start}}", "disabled": true, "description": "The zero-based index of the first entitlement to return. Defaults to 0 if not specified." }, { "key": "limit", "value": "{{limit}}", "disabled": true, "description": "The number of entitlements to fetch. Max is 25 and defaults to 25 if not specified." }, { "key": "productId", "value": "{{productId}}", "disabled": true, "description": "A product ID to optionally filter the entitlements to just entitlements of that product." } ], "variable": [] }, "method": "GET", "header": [ { "key": "X-ExperimentalApi", "value": "{{X-ExperimentalApi}}", "disabled": false }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns a paginated list of the customer or organization's entitlements, along with their details. Returns a max of 50 results.\nWhen the entity is a customer, it can be a Customer Account in this site's customer directory or an active Atlassian Account with the CSM customer role that is not a CSM agent or Jira site admin.\nTo understand which `customerId` values are supported, see [Supported customer IDs](/cloud/customer-service-management/customer-ids).\n**Permissions required:** CSM or JSM agent access.\n" }, "response": [] } ] }, { "name": "CSM Request", "description": "This resource represents CSM requests. Use this to create requests from external systems via the intake channel.", "item": [ { "name": "Create CSM request from external intake channel", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/request/form/external", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Creates a CSM request from an external source. This endpoint allows external systems to submit requests programmatically to your customer experience project.\n\n**Authentication**: This endpoint supports all authentication types including OAuth 2.0 (2LO), API token, and session authentication. Note that scopes only apply to OAuth and API token authentication.\n\n**Reporter Email Behavior**:\n- When using 2LO authentication without specifying an email, the request is created on behalf of the caller.\n- When using 2LO authentication with an email, the specified user becomes the reporter.\n- For API token and session authentication, only agents can specify a reporter email. Non-agents will receive a 403 Forbidden error if they attempt to set this field.\n\n**Metadata**: You can optionally include a metadata object to provide additional context about the request. The metadata object must only contain primitive values (string, int and boolean). Nested objects or arrays are not supported and will result in a 400 Bad Request error.\n\n**Permissions required:**\n- OAuth and API token authentication: `write:csm-request:jira-service-management` scope\n- Session authentication: authenticated user\n- Non-2LO calls: the caller must be able to view the Customer Experience. Setting a reporter email also requires the caller to be a CSM agent for its project.\n", "body": { "mode": "raw", "raw": "{\n \"helpCenterId\": \"f17913e0-58f9-4be7-b6e6-a10ca70ccb55\",\n \"origin\": \"amazon-voice\",\n \"summary\": \"Unable to access application\",\n \"description\": \"I am unable to login to the application. The error message says 'Invalid credentials'.\"\n}" } }, "response": [] }, { "name": "Update issue with a comment", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/request/form/helpcenter/:helpCenterId/issue/:issueIdOrKey/comment", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Adds a comment to an existing issue in your customer experience project. This endpoint allows external systems to programmatically add comments with configurable visibility.\n\n**Authentication**: This endpoint supports all authentication types including OAuth 2.0 (2LO), API token, and session authentication. Note that scopes only apply to OAuth and API token authentication.\n\n**Permissions required:**\n- OAuth and API token authentication: `write:csm-request:jira-service-management` scope\n- Session authentication: authenticated user\n- The caller must be able to view the Customer Experience.\n- Non-2LO calls: the caller must be able to view the work item and have `ADD_COMMENTS` permission for it.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] } ] }, { "name": "Task", "description": "This resource represents tasks. Use this to manage viewing the status of tasks.", "item": [ { "name": "Get task status", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/tasks/:taskId", "query": [], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns the status of a given task, including a list of any failures on completion.\n**Permissions required:** The caller must be a Jira administrator or have CSM or JSM agent access.\n" }, "response": [] } ] }, { "name": "Customer experience", "description": "This resource represents customer experiences, also known as help centers. Use this to manage customer experiences, including support sites.", "item": [ { "name": "Get organizations with access to a Customer Experience", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/helpcenter/:helpCenterId/access/organization", "query": [ { "key": "startAt", "value": "{{startAt}}", "disabled": true, "description": "The zero-based index of the first organization to return." }, { "key": "limit", "value": "{{limit}}", "disabled": true, "description": "The maximum number of organizations to return." } ], "variable": [] }, "method": "GET", "header": [ { "key": "X-ExperimentalApi", "value": "{{X-ExperimentalApi}}", "disabled": false }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Returns the Customer Service Management organizations that have access to a Customer Experience.\n\nThe Customer Experience must use organization-restricted access.\n\n**Permissions required:** The caller must be able to administer the Customer Experience.\n" }, "response": [] }, { "name": "Grant organizations access to a Customer Experience", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/helpcenter/:helpCenterId/access/organization", "query": [], "variable": [] }, "method": "POST", "header": [ { "key": "X-ExperimentalApi", "value": "{{X-ExperimentalApi}}", "disabled": false }, { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" } ], "description": "Grants up to 5 existing Customer Service Management organizations access to a Customer Experience.\n\nThe Customer Experience must already use organization-restricted access. This operation does not change a public Customer Experience to restricted access.\n\n**Permissions required:** The caller must be able to view the organization and administer the Customer Experience.\n", "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Remove an organization from a Customer Experience", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/helpcenter/:helpCenterId/access/organization/:organizationId", "query": [], "variable": [] }, "method": "DELETE", "header": [ { "key": "X-ExperimentalApi", "value": "{{X-ExperimentalApi}}", "disabled": false } ], "description": "Removes an existing Customer Service Management organization's access to a Customer Experience.\n\nThe Customer Experience must use organization-restricted access. If the organization does not currently have access, no change is made.\n\n**Permissions required:** The caller must be able to view the organization and administer the Customer Experience.\n" }, "response": [] }, { "name": "Raise issue on the help center", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}api/v1/helpcenter/:helpCenterId/issue/:issueIdOrKey/raise", "query": [], "variable": [] }, "method": "POST", "header": [ { "key": "X-ExperimentalApi", "value": "{{X-ExperimentalApi}}", "disabled": false }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "description": "Raises the issue to be visible on the provided help center for the reporter to see.\n\nIf the issue has no submitted form, it attaches and submits the help center's default form.\nThe values submitted in the form will use the values of _Summary_ and _Description_ on the provided issue.\n\nIf a form is already attached to the issue, this operation returns `409 Conflict`.\n\n**Permissions required:** The caller must be a CSM agent for the work item's project, be able to view the help center, and have `EDIT_ISSUES` permission for the work item.\n" }, "response": [] } ] } ], "variable": [ { "key": "protocol", "name": "Protocol", "description": "The HTTP Protocol that should be used for this REST API.", "type": "string", "value": "https" }, { "key": "host", "name": "Host", "description": "The HTTP host that should be used for this REST API.", "type": "string", "value": "api.atlassian.com" }, { "key": "basePath", "name": "Base Path", "description": "The path, after the host, of the base of the REST API.", "type": "string", "value": "jsm/csm/cloudid/%7BcloudId%7D/" } ] }