Skip to main content
POST
/
people
Create a person
curl --request POST \
  --url https://api.clearpolicy.app/api/v1/people \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "jsmith@example.com",
  "phone": "<string>"
}
'
import requests

url = "https://api.clearpolicy.app/api/v1/people"

payload = {
"name": "<string>",
"email": "jsmith@example.com",
"phone": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', email: 'jsmith@example.com', phone: '<string>'})
};

fetch('https://api.clearpolicy.app/api/v1/people', 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.clearpolicy.app/api/v1/people",
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([
'name' => '<string>',
'email' => 'jsmith@example.com',
'phone' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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.clearpolicy.app/api/v1/people"

payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\"\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("Authorization", "Bearer <token>")
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.clearpolicy.app/api/v1/people")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.clearpolicy.app/api/v1/people")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"email\": \"jsmith@example.com\",\n \"phone\": \"<string>\"\n}"

response = http.request(request)
puts response.read_body
{
  "id": "<string>",
  "organization_id": "<string>",
  "name": "<string>",
  "email": "jsmith@example.com",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "phone": "<string>",
  "source_id": "<string>",
  "archived_at": "2023-11-07T05:31:56Z"
}
{
"error": "<string>"
}
{
"message": "<string>",
"payment_url": "<string>"
}
{
"message": "<string>",
"errors": {}
}
{
"message": "Too Many Attempts."
}

Authorizations

Authorization
string
header
required

Bearer token created in ClearPolicy API settings with the api:use scope.

Body

application/json
name
string
required

The full name of the person.

Maximum string length: 255
email
string<email>
required

The email address. Must be unique within your organization.

Maximum string length: 255
phone
string

Phone number in international format (e.g. +12025550147).

Response

The created person.

id
string
required

The ULID of the person.

organization_id
string
required

The ULID of the organization.

name
string
required

The full name of the person.

email
string<email>
required

The email address of the person.

source
enum<string>
required

How the person was created.

Available options:
oauth,
web,
system,
planning_center
created_at
string<date-time>
required

When the person was created.

updated_at
string<date-time>
required

When the person was last updated.

phone
string | null

The phone number in international format, or null.

source_id
string | null

An external identifier from the originating system, or null.

archived_at
string<date-time> | null

When the person was archived, or null if active.

Last modified on June 26, 2026