Skip to content

Register Device

POST
/api/v1/register
curl --request POST \
--url https://example.com/api/v1/register \
--header 'X-API-Key: example'

Register a new device

X-API-Key
required
X-Api-Key
string

Successful Response

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}