The Customer Service Management (CSM) APIs allow you to create requests from contact-centre interactions, make existing Jira work items visible in a Customer Experience, and enrich requests with transcripts, agent notes, and follow-up detail.
Customer service agents work primarily in their external system (for example, a telephony platform, IVR, voice bot, CRM, or contact-centre suite) and the following APIs are designed for integration scenarios where requests need to be escalated to CSM for further follow up.
Request intake APIs provide synchronous operations for:
These operations are synchronous, so there is no task to poll. Creating a request returns the new issue identifiers. Raising an existing work item returns the URL for the request in the support site.
The external intake endpoint uses the default form configured for the Customer Experience. Client-supplied form selection is not part of this integration model.
| Starting point | API to use |
|---|---|
| You need to create a new request from an external interaction. | POST /api/v1/request/form/external |
| You already have a Jira work item and want its reporter to see it in a Customer Experience. | POST /api/v1/helpcenter/{helpCenterId}/issue/{issueIdOrKey}/raise |
Creates a request in CSM from an external interaction, using the default form configured for the Customer Experience. Optionally associates the end customer with the request through their email address, and records the channel the interaction arrived on.
Use Case: Open a case automatically when a call, IVR selection, or bot session needs tracking and follow-up in CSM.
Form used: Default form for the Customer Experience
Returns: 200 OK with the created issue identifiers
Adds a comment to a request that has already been created. Use this API to attach content that arrived too late for the original creation call, and to control whether that content is visible to the customer.
Use Case: Append a call transcript, agent wrap-up notes, or a post-call analysis summary to a case after the interaction ends.
Visibility: Internal by default, or customer-visible when explicitly set
Returns: 200 OK with the created comment
Makes an existing Jira work item visible to its reporter in the selected Customer Experience. It attaches and submits the Customer Experience's default form using the work item's Summary and Description. The work item's existing reporter is used; this operation does not accept reporterEmail.
Use case: Your integration already creates work items in Jira, and you want customers to see those work items in your CSM support site.
Prerequisites:
EDIT_ISSUES permission for the work item, and be able to view the Customer Experience.409 Conflict.write:csm-request:jira-service-management scope.X-ExperimentalApi: opt-in on the request because this API is experimental.Returns: 200 OK with supportSiteRequestUrl, a link to the work item in the Customer Experience's support site.
All request intake calls use the following base URL, with the Cloud ID of the target site:
1 2https://api.atlassian.com/jsm/csm/cloudid/{cloudId}
Third-party integrations must authenticate with an Atlassian service account using OAuth 2.0 client credentials (2LO). This is the supported method. Do not build against user session authentication or a personal account's credentials.
Create an Atlassian service account for the integration. The service account must have the Customer Service Management User role, and its credentials must:
write:csm-request:jira-service-management scope associated with themExchange the client credentials for a bearer token, then send that token on every request. There is no audience or scope parameter in this exchange; scopes come from the service account configuration.
| Identifier | Where it is used | Description |
|---|---|---|
cloudId | Base URL | Identifies the target Atlassian site. |
helpCenterId | Create request body, raise path, and comment path | Identifies the Customer Experience the request belongs to. |
id / key | Comment path | Returned when the request is created. Store one of these against your source-system record. |
issueIdOrKey | Raise path | The existing Jira work item's numeric ID or current key, such as 10021 or CSM-1. |
When creating a new request with POST /api/v1/request/form/external, these roles are separate:
reporterEmail, when provided. CSM creates or retrieves the customer accountWhen raising an existing Jira work item, the API uses the work item's existing reporter rather than creating or associating a customer through reporterEmail.
When creating a new request, use intakeChannel to classify where an interaction came from. Send VOICE for telephony and contact-centre integrations. If omitted, the value defaults to EXTERNAL for backward compatibility.
Accepted values are EMAIL, AI_AGENT, SUPPORT_SITE, EXTERNAL, EMBED, VOICE, SMS, SDK, and MESSAGING. The sub-channels EMBED_CHAT, SUPPORT_SITE_CHAT, and WHATSAPP are also accepted.
Exchange the service account's client credentials for a bearer token:
1 2 3 4 5 6 7 8curl -X POST https://auth.atlassian.com/oauth/token \ -H 'Content-Type: application/json' \ -d '{ "grant_type": "client_credentials", "client_id": "YOUR_CLIENT_ID", "client_secret": "YOUR_CLIENT_SECRET" }'
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18curl -X POST https://api.atlassian.com/jsm/csm/cloudid/YOUR_CLOUD_ID/api/v1/request/form/external \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '{ "helpCenterId": "YOUR_CUSTOMER_EXPERIENCE_ID", "origin": "Salesforce Service Cloud", "summary": "Customer requested help with account access", "description": "Customer contacted the support line after failing multi-factor authentication. Agent verified identity and opened a case for follow-up.", "reporterEmail": "customer@example.com", "intakeChannel": "VOICE", "metadata": { "agentId": "agent-314", "contactId": "contact-8291", "queue": "priority-support" } }'
Response:
1 2 3 4 5 6 7{ "id": "10021", "key": "CSM-1", "helpCenterId": "YOUR_CUSTOMER_EXPERIENCE_ID", "link": "https://example.atlassian.net/helpcenter/12345/user/requests/CSM-1" }
Use the key returned in step 2. The comment body is Atlassian Document Format (ADF). Comments are internal unless public is set to true.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23curl -X POST https://api.atlassian.com/jsm/csm/cloudid/YOUR_CLOUD_ID/api/v1/request/form/helpcenter/YOUR_CUSTOMER_EXPERIENCE_ID/issue/YOUR_ISSUE_KEY/comment \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ -H "Accept: application/json" \ -d '{ "public": false, "body": { "type": "doc", "version": 1, "content": [ { "type": "paragraph", "content": [ { "type": "text", "text": "Call transcript summary: customer could not access the portal after password reset. Identity verified. Escalated to account administration." } ] } ] } }'
Move the work item to a CSM project if it is not already in one. Then use its ID or current key and the ID of the Customer Experience where its reporter should see it. Use the access token obtained in step 1 of the basic usage example. This request has no body.
1 2 3 4 5curl -X POST https://api.atlassian.com/jsm/csm/cloudid/YOUR_CLOUD_ID/api/v1/helpcenter/YOUR_CUSTOMER_EXPERIENCE_ID/issue/YOUR_ISSUE_KEY/raise \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Accept: application/json" \ -H "X-ExperimentalApi: opt-in"
Response:
1 2 3 4{ "supportSiteRequestUrl": "https://example.atlassian.net/helpcenter/acme-support/user/requests/CSM-1" }
Store supportSiteRequestUrl with the existing issue key in your external system so you can link the reporter to the request.
Open a case when an interaction needs tracking beyond the call itself.
intakeChannel set to VOICEKeep the creation call small and add detail once the interaction completes.
Hand off an automated session that could not resolve the customer's problem.
reporterEmail so the case is attached to the customerCreate CSM cases from interactions that begin in your CRM.
summary, description, and flat metadata valuesorigin value so CSM traffic from this system is identifiableFor new requests created with the external intake API:
summary and reserve long transcript content for commentsmetadata flat, minimal, and operationally usefulorigin value for each external systemintakeChannel explicitly rather than relying on the default400 and 403 as configuration or data problems, not transient faults5xx responses carefully, with exponential backoffx-trace-id response header on every non-2xx response and log it with your own correlation ID409 Conflict, stop retrying and check the work item in the Customer Experience's support site. After a timeout, the earlier call may already have submitted the form; a conflict does not confirm that the Customer Experience association completed401 by re-authenticatingoriginbarista.form.processing.validation.errorSolution: No default form is configured for the Customer Experience. This is a configuration issue rather than a temporary fault, so the request will keep failing until a default form is in place. Confirm the default form, then retry. Match on this error key to handle the case specifically rather than treating it as a transient error.
Solution:
write:csm-request:jira-service-management scopeEDIT_ISSUES permission for the work item, and can view the Customer ExperienceSolution: Check the Customer Experience ID and issue ID or key. Confirm that the work item's existing values satisfy the default form's submission validation.
Solution: Confirm that the work item and Customer Experience exist and that a default form is configured for the Customer Experience.
Solution: The work item already has a submitted form. Do not retry the raise call: it will continue to return 409 Conflict while the submitted form exists. If an earlier call timed out, it may have submitted the form before the timeout, but this does not confirm that the Customer Experience association completed.
Check the work item in the Customer Experience's support site. Request URLs use the path /helpcenter/{slug}/user/requests/{issueKey} on that support site. Use the Customer Experience's slug and the work item's current key. A repeat raise call does not return supportSiteRequestUrl for an existing submitted form. If the work item is not visible, contact Atlassian Support with the x-trace-id from the failed call.
Solution: Validate reporterEmail before sending. Invalid email values cause the request to be rejected. If the customer's email is unavailable, omit the field; the request is still created without a customer reporter.
Solution: Only primitive JSON values are supported in metadata. Flatten nested objects and arrays into individual keys before sending.
Solution: A retry of the external intake creation call after a timeout can create a second request, because it has no idempotency key. Record a "created" flag and the returned issue key against the source-system record, and check it before retrying.
Solution: For new requests created with the external intake API, the customer is attached through reporterEmail only. The service account is always the creator, and this is expected behaviour. Supply reporterEmail if the case should be associated with the end customer. For existing work items raised with the raise API, check the work item's existing reporter.
For support with request intake APIs:
x-trace-id from the failing response and a sample payloadRate this page: