Skip to content

Instantly share code, notes, and snippets.

@boomtrain-support
Created September 1, 2015 19:12
Show Gist options
  • Save boomtrain-support/e3fd079296a47508b73c to your computer and use it in GitHub Desktop.
Save boomtrain-support/e3fd079296a47508b73c to your computer and use it in GitHub Desktop.
PUT /person - Create a new User using cURL
curl -u 'user:password'
-H 'x-app-id: abc123'
-X PUT
-H 'Content-Type: application/json'
-d '{
"bsin":"{Leave blank to create a new BSIN}",
"email":"{email}",
"app_member_id":"{Your Unique ID for the User}",
"firstName":"{First Name}",
"lastName":"{Last Name}",
"attributes":[
{
"op":"replace",
"name":"{Attribute 1}",
"value":"{Value}"
},
{
"op":"replace",
"name":"{Attribute 2}",
"value":"{value}"
},
...
]
}'
'https://api.boomtrain.com/persons'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment