Create an OAuth client
Changed onCreates a new OAuth client for a service account in the specified organization. Set tokenEndpointAuthMethod to private_key_jwt and supply publicKeys to authenticate using a signed JWT. Private Key JWT must be enabled for your organization. The response contains clientId and, when available, the supplied keyId; clientSecret is null for private_key_jwt clients.
An active admin session with org management permissions is supported. API access requires OAuth client creation to be enabled for your organization.
Scopes
OAuth 2.0 scopes required: write:service-accounts-tokens:admin
Request
- Base URLhttps://api.atlassian.com/admin/api-access/v1
- URLhttps://api.atlassian.com/admin/api-access/v1/orgs/{orgId}/oauth-clients
- Authnone declared
Path parameters
Your organization is identified by a Unique ID. You get your organization ID and organization API key simultaneously.
Request body
Example request
{
"tokenEndpointAuthMethod": "private_key_jwt",
"publicKeys": [
{
"value": "https://auth.example.com/.well-known/jwks.json",
"kid": "client-key-2026-01"
}
]
}Response
Returned if the OAuth client is successfully created.
Example response
{
"clientId": "oauth-client-id",
"clientSecret": null,
"keyId": "client-key-2026-01"
}Changes
- breaking
added the new required request property
- breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking