Body Parameters
The email address of the user to create
Response
The created user and their secrets
curl -X POST 'https://api.picaos.com/internal/v3/users/create-or-get' \
-H 'x-pica-secret: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"email": "test@example.com"
}'
{
"id": "526907ff-932e-4222-81ff-83f8adefad05",
"email": "test@example.com",
"throughput": 100,
"secrets": {
"live": "<USER_LIVE_KEY>",
"sandbox": "<USER_SANDBOX_KEY>"
}
}