curl --request POST \
--url http://127.0.0.1:9550/v2/initial_registration \
--header 'Content-Type: application/json' \
--data '{
"body": {
"encrypted": {
"content": "<string>"
}
},
"encryption": "DiffieHellmanChaChaPoly1305",
"external_metadata": {
"intra_sender": "<string>",
"other": "<string>",
"recipient": "<string>",
"scheduled_time": "<string>",
"sender": "<string>",
"signature": "<string>"
},
"version": "V1_0"
}'
{
"api_v2_key": "<string>",
"encryption_public_key": "<string>",
"identity_public_key": "<string>",
"message": "<string>",
"node_name": "<string>"
}
curl --request POST \
--url http://127.0.0.1:9550/v2/initial_registration \
--header 'Content-Type: application/json' \
--data '{
"body": {
"encrypted": {
"content": "<string>"
}
},
"encryption": "DiffieHellmanChaChaPoly1305",
"external_metadata": {
"intra_sender": "<string>",
"other": "<string>",
"recipient": "<string>",
"scheduled_time": "<string>",
"sender": "<string>",
"signature": "<string>"
},
"version": "V1_0"
}'
{
"api_v2_key": "<string>",
"encryption_public_key": "<string>",
"identity_public_key": "<string>",
"message": "<string>",
"node_name": "<string>"
}
Successfully used registration code
The response is of type object
.
Was this page helpful?