Create User
curl --request POST \
--url https://api.birdeye.com/resources/v1/user/signup/v2 \
--header 'Content-Type: application/json' \
--data '
{
"firstName": "Rhonda",
"lastName": "Spears",
"userEmailId": "rhonda.spears@example.com",
"phone": "408-xxx-xxxx",
"userRole": "owner",
"sendInvite": true
}
'import requests
url = "https://api.birdeye.com/resources/v1/user/signup/v2"
payload = {
"firstName": "Rhonda",
"lastName": "Spears",
"userEmailId": "rhonda.spears@example.com",
"phone": "408-xxx-xxxx",
"userRole": "owner",
"sendInvite": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
firstName: 'Rhonda',
lastName: 'Spears',
userEmailId: 'rhonda.spears@example.com',
phone: '408-xxx-xxxx',
userRole: 'owner',
sendInvite: true
})
};
fetch('https://api.birdeye.com/resources/v1/user/signup/v2', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.birdeye.com/resources/v1/user/signup/v2",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'firstName' => 'Rhonda',
'lastName' => 'Spears',
'userEmailId' => 'rhonda.spears@example.com',
'phone' => '408-xxx-xxxx',
'userRole' => 'owner',
'sendInvite' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.birdeye.com/resources/v1/user/signup/v2"
payload := strings.NewReader("{\n \"firstName\": \"Rhonda\",\n \"lastName\": \"Spears\",\n \"userEmailId\": \"rhonda.spears@example.com\",\n \"phone\": \"408-xxx-xxxx\",\n \"userRole\": \"owner\",\n \"sendInvite\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.birdeye.com/resources/v1/user/signup/v2")
.header("Content-Type", "application/json")
.body("{\n \"firstName\": \"Rhonda\",\n \"lastName\": \"Spears\",\n \"userEmailId\": \"rhonda.spears@example.com\",\n \"phone\": \"408-xxx-xxxx\",\n \"userRole\": \"owner\",\n \"sendInvite\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.birdeye.com/resources/v1/user/signup/v2")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"firstName\": \"Rhonda\",\n \"lastName\": \"Spears\",\n \"userEmailId\": \"rhonda.spears@example.com\",\n \"phone\": \"408-xxx-xxxx\",\n \"userRole\": \"owner\",\n \"sendInvite\": true\n}"
response = http.request(request)
puts response.read_body{
"code": 1059,
"message": "Last name cannot be more than 50 characters"
}{
"code": 1033,
"message": "You are not authorized to perform this action"
}{
"code": 1175,
"message": "No business found with the given id"
}{
"code": 1160,
"message": "User is already associated with business."
}{
"code": 89,
"message": "Rate limit exceeded"
}User
Create User
POST
/
v1
/
user
/
signup
/
v2
Create User
curl --request POST \
--url https://api.birdeye.com/resources/v1/user/signup/v2 \
--header 'Content-Type: application/json' \
--data '
{
"firstName": "Rhonda",
"lastName": "Spears",
"userEmailId": "rhonda.spears@example.com",
"phone": "408-xxx-xxxx",
"userRole": "owner",
"sendInvite": true
}
'import requests
url = "https://api.birdeye.com/resources/v1/user/signup/v2"
payload = {
"firstName": "Rhonda",
"lastName": "Spears",
"userEmailId": "rhonda.spears@example.com",
"phone": "408-xxx-xxxx",
"userRole": "owner",
"sendInvite": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
firstName: 'Rhonda',
lastName: 'Spears',
userEmailId: 'rhonda.spears@example.com',
phone: '408-xxx-xxxx',
userRole: 'owner',
sendInvite: true
})
};
fetch('https://api.birdeye.com/resources/v1/user/signup/v2', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.birdeye.com/resources/v1/user/signup/v2",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'firstName' => 'Rhonda',
'lastName' => 'Spears',
'userEmailId' => 'rhonda.spears@example.com',
'phone' => '408-xxx-xxxx',
'userRole' => 'owner',
'sendInvite' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.birdeye.com/resources/v1/user/signup/v2"
payload := strings.NewReader("{\n \"firstName\": \"Rhonda\",\n \"lastName\": \"Spears\",\n \"userEmailId\": \"rhonda.spears@example.com\",\n \"phone\": \"408-xxx-xxxx\",\n \"userRole\": \"owner\",\n \"sendInvite\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.birdeye.com/resources/v1/user/signup/v2")
.header("Content-Type", "application/json")
.body("{\n \"firstName\": \"Rhonda\",\n \"lastName\": \"Spears\",\n \"userEmailId\": \"rhonda.spears@example.com\",\n \"phone\": \"408-xxx-xxxx\",\n \"userRole\": \"owner\",\n \"sendInvite\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.birdeye.com/resources/v1/user/signup/v2")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"firstName\": \"Rhonda\",\n \"lastName\": \"Spears\",\n \"userEmailId\": \"rhonda.spears@example.com\",\n \"phone\": \"408-xxx-xxxx\",\n \"userRole\": \"owner\",\n \"sendInvite\": true\n}"
response = http.request(request)
puts response.read_body{
"code": 1059,
"message": "Last name cannot be more than 50 characters"
}{
"code": 1033,
"message": "You are not authorized to perform this action"
}{
"code": 1175,
"message": "No business found with the given id"
}{
"code": 1160,
"message": "User is already associated with business."
}{
"code": 89,
"message": "Rate limit exceeded"
}Headers
e.g. application/json
e.g. [Required] Partner specific API key provided by Birdeye for data exchange.
e.g. [Required] User associated businessNumber
Body
application/json
Email Id of the user that’s being added to this business.
User role. Valid values are "owner","admin". Default is "owner".
First name of the user.
Last name of the user.
456-7890 (string) - Mobile number of the user.
Whether to send invite email to the user. Default is true.
Response
OK

