Create Application

POST {{baseUrl}}/api/v1/app?get_if_exists=false

Create a new application.

Request Params

KeyDatatypeRequiredDescription
get_if_existsbooleanGet an existing application, or create a new one if doesn't exist. It's two separate functions in the libs.

Request Body

{"name"=>"<string>", "rateLimit"=>"<uint16>", "uid"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
idempotency-keystringThe request's idempotency key
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;createdAt&quot;:&quot;1974-10-17T23:30:19.000Z&quot;,&quot;id&quot;:&quot;app_1srOrx2ZWZBpBUvZwXKQmoEYga2&quot;,&quot;metadata&quot;:{&quot;veniam2&quot;:&quot;laborum elit ea Lorem&quot;},&quot;name&quot;:&quot;My first application&quot;,&quot;updatedAt&quot;:&quot;2019-02-15T23:01:19.656Z&quot;,&quot;uid&quot;:&quot;unique-app-identifier&quot;,&quot;rateLimit&quot;:84623706}