---
title: "Register an app or an AI client that signs in with Xovris"
url: https://xovris.ai/docs/api/operations/postoauthregister/
---

# Register an app or an AI client that signs in with Xovris

`POST /v1/oauth/register`

Open to anyone, so no Idempotency-Key is kept: nobody is signed in to keep it for, and replaying one caller's answer to another would hand it over.

No token needed: anyone may call this.

## Request body

### `application/json`

- `grant_types` (any[])
- `response_types` (any[])
- `redirect_uris` (any[])
- `token_endpoint_auth_method` (string)
- `client_name` (string)
- `scope`
- `client_uri` (string)
- `software_id` (string)
- `software_version` (string)

Example:

```json
{
  "grant_types": [
    null
  ],
  "response_types": [
    null
  ],
  "redirect_uris": [
    null
  ],
  "token_endpoint_auth_method": "string",
  "client_name": "string",
  "scope": null,
  "client_uri": "string",
  "software_id": "string",
  "software_version": "string"
}
```

## Answers

- `201`: Done: something new was made, and the answer is it. (application/json: object | T4b97ecdbd093)
- `400`: Refused, as OAuth 2.0 says (RFC 6749, RFC 7591, RFC 8628). (application/json: OAuthError)
- `401`: Refused, as OAuth 2.0 says (RFC 6749, RFC 7591, RFC 8628). (application/json: OAuthError)
- `404`: Nothing with that id here, or it belongs to another workspace. Nothing was changed. (application/json: Problem)
- `default`: Refused or failed: an OAuth 2.0 error from the standard's own checks, otherwise the Problem with what to do next. (application/json: Problem | OAuthError; application/problem+json: Problem)

## A call

The address is https://api.xovris.ai/v1/oauth/register - put your own value in place of each part in braces.

```sh
curl --request POST \
  --url 'https://api.xovris.ai/v1/oauth/register' \
  --header 'Content-Type: application/json' \
  --data '{"grant_types":[null],"response_types":[null],"redirect_uris":[null],"token_endpoint_auth_method":"string","client_name":"string","scope":null,"client_uri":"string","software_id":"string","software_version":"string"}'
```
