Skip to main content
POST
/
user
/
signup-fb
Sign up new user with Facebook token. Agency will be automatically created in the background
curl --request POST \
  --url https://api.boosterberg.com-beta.com/v1/user/signup-fb \
  --header 'Content-Type: application/json' \
  --data '
{
  "access-token": "<string>",
  "preset_id": 1,
  "email": "jsmith@example.com"
}
'
{
  "fbid": 123,
  "email": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "phone_number": "<string>",
  "agency_id": 123,
  "agency_name": "<string>",
  "credit_balance": "500.00"
}

Body

application/json
access-token
string
required
preset_id
integer
Example:

1

email
string<email>

Override email (if different from Facebook)

Response

200 - application/json

Returns User object

fbid
integer
email
string
first_name
string
last_name
string
phone_number
string
agency_id
integer
agency_name
string
credit_balance
number<float>
Example:

"500.00"