POST
/
v1
/
applications
Create an Application
curl --request POST \
  --url http://127.0.0.1:4001/v1/applications \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "Midaz Used By Application X",
  "name": "midaz"
}'
{
"clientId": "00000000-0000-0000-0000-000000000000",
"clientSecret": "00000000-0000-0000-0000-000000000000",
"createdAt": "2021-09-01T00:00:00Z",
"description": "Midaz Used By Application X",
"id": "00000000-0000-0000-0000-000000000000",
"name": "Midaz"
}

Body

application/json

Information used to create a new application.

description
string
required

A clear identifier that helps you quickly recognize who’s using the application.

name
enum<string>
required

The name of Lerian's application you’re granting access to.

Available options:
midaz,
plugin-fees,
plugin-crm,
plugin-smart-templates

Response

Indicates that the resource was successfully created and the operation was completed as expected.

Information about the Application.

clientId
string

Unique identifier of the client.

clientSecret
string

Secret key linked to the clientId, used for secure client authentication.

createdAt
string<date-time>

Timestamp marking when the application was created.

description
string

A clear identifier that helps you quickly recognize who’s using the application.

id
string

Unique identifier of the application.

name
enum<string>

The name of Lerian's application you’re granting access to.

Available options:
midaz,
plugin-fees,
plugin-crm,
plugin-template-engine