---
title: "Endpoint for getting client credentials to user"
method: GET
path: "/oauth2/v1/auth/clientcredentials"
tags: ["NaC Authorization Server"]
---

# Endpoint for getting client credentials to user

`GET /oauth2/v1/auth/clientcredentials`

Getting client credentials for user. If it exists that is returned, otherwise new created.

## Headers

- `x-rapidapi-host` string, required

## Response `200`

- object
  - `client_id` string, required — The unique client_id string as issued by the authorization server.
  - `client_secret` string, required — The client_secret corresponding to the client_id.

---

[API](https://skmtc.dev/nokia/apis/network-as-code.md) · [All operations](https://skmtc.dev/nokia/apis/network-as-code/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nokia/network-as-code/revisions/fdd5f5a56b88/schema)
