Server
Jira Service Management / Reference / REST API
POST

Create customer

Creates a customer that is not associated with a service project.

The customer's username is their email address. They can set a password by clicking "Forgotten your password" onthe portal login screen, or a Jira administrator can set one in User Management. By default, the customer canemail requests to public service projects. If they have a password, they can also raise requests in customer portals that allowpublic signup. To raise requests in closed service projects, the customer must be added to a service projectusing Add customers.

This operation does not cause invitation email to be sent to the newly created customer.

Jira administrator global permission is required to create a customer.

Request

Request bodyapplication/json

The customer to create.

email

string

fullName

string

Responses

Return the newly created customer.

application/json

UserDTO
POST/servicedeskapi/customer
1 2 3 4 5 6 7 8 curl --request POST \ --url 'http://{baseurl}/rest/servicedeskapi/customer' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "email": "<string>", "fullName": "<string>" }'
201Response
1 2 3 4 5 6 7 8 9 10 11 12 13 { "name": "<string>", "key": "<string>", "emailAddress": "<string>", "displayName": "<string>", "active": true, "timeZone": "<string>", "_links": { "jiraRest": "<string>", "avatarUrls": {}, "self": "<string>" } }

Rate this page: