Contacts

Create contact

Creates a new contact for a user.

post/api/{cloudId}/v1/users/contacts

Request

  • Base URL
    https://api.atlassian.com/jsm/ops
  • URL
    https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/users/contacts
  • Auth
    • HTTP basic
    • or OAuth 2
      Authorization code: https://auth.stg.atlassian.com/authorize
      Token URL: https://auth.stg.atlassian.com/oauth/token scopes: read:ops-config:jira-service-management, write:ops-config:jira-service-management

Request body

method'email' | 'sms' | 'voice' required

The method of the contact.

tostring required

The contact address.

Example request

{
  "method": "email",
  "to": "test@atlassian.com"
}

Response

Returned if the request is successful.

messagestring

Changes

No recorded changes to this operation across all 5 revisions of this API.