Register a push device
Registers the device’s Expo push token for the member, in their company, so push notifications reach it. Registering a token the member already registered returns the same device with 200, marks it active again and updates any details sent; it never creates a duplicate. The response never repeats the token. Another member registering the same token is unaffected: each member’s registration is their own. Requires a writable member credential.
curl --request POST \
--url https://api.fluid.app/api/member/v2026-10/notifications/devices \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"push_token": "ExponentPushToken[xTn3kQ8vLm2Pz0aBcDeF]",
"device_type": "ios",
"device_uid": "casey-iphone-14",
"bundle_id": "com.fluid.fluid-crm"
}
'import requests
url = "https://api.fluid.app/api/member/v2026-10/notifications/devices"
payload = {
"push_token": "ExponentPushToken[xTn3kQ8vLm2Pz0aBcDeF]",
"device_type": "ios",
"device_uid": "casey-iphone-14",
"bundle_id": "com.fluid.fluid-crm"
}
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({
push_token: 'ExponentPushToken[xTn3kQ8vLm2Pz0aBcDeF]',
device_type: 'ios',
device_uid: 'casey-iphone-14',
bundle_id: 'com.fluid.fluid-crm'
})
};
fetch('https://api.fluid.app/api/member/v2026-10/notifications/devices', 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.fluid.app/api/member/v2026-10/notifications/devices",
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([
'push_token' => 'ExponentPushToken[xTn3kQ8vLm2Pz0aBcDeF]',
'device_type' => 'ios',
'device_uid' => 'casey-iphone-14',
'bundle_id' => 'com.fluid.fluid-crm'
]),
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.fluid.app/api/member/v2026-10/notifications/devices"
payload := strings.NewReader("{\n \"push_token\": \"ExponentPushToken[xTn3kQ8vLm2Pz0aBcDeF]\",\n \"device_type\": \"ios\",\n \"device_uid\": \"casey-iphone-14\",\n \"bundle_id\": \"com.fluid.fluid-crm\"\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.fluid.app/api/member/v2026-10/notifications/devices")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"push_token\": \"ExponentPushToken[xTn3kQ8vLm2Pz0aBcDeF]\",\n \"device_type\": \"ios\",\n \"device_uid\": \"casey-iphone-14\",\n \"bundle_id\": \"com.fluid.fluid-crm\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/member/v2026-10/notifications/devices")
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 \"push_token\": \"ExponentPushToken[xTn3kQ8vLm2Pz0aBcDeF]\",\n \"device_type\": \"ios\",\n \"device_uid\": \"casey-iphone-14\",\n \"bundle_id\": \"com.fluid.fluid-crm\"\n}"
response = http.request(request)
puts response.read_body{
"status": 200,
"data": {
"id": "0192f4f0-7a8b-7c9d-8e0f-1a2b3c4d5e6f",
"device_type": "ios",
"device_uid": "casey-iphone-14",
"bundle_id": "com.fluid.fluid-crm",
"project_id": "6b1d3f2e-9c47-4a58-b0e1-2f3a4b5c6d7e",
"active": true,
"refreshed_at": "2026-10-01T15:08:21.512088Z",
"created_at": "2026-08-14T10:02:33.000000Z"
},
"meta": {
"request_uuid": "0192f4c8-5b6c-7d74-a3e8-0f1a2b3c4d5e",
"timestamp": "2026-10-01T15:08:21Z"
}
}{
"status": 201,
"data": {
"id": "0192f4f0-7a8b-7c9d-8e0f-1a2b3c4d5e6f",
"device_type": "ios",
"device_uid": "casey-iphone-14",
"bundle_id": "com.fluid.fluid-crm",
"project_id": "6b1d3f2e-9c47-4a58-b0e1-2f3a4b5c6d7e",
"active": true,
"refreshed_at": "2026-10-01T15:08:21.512088Z",
"created_at": "2026-08-14T10:02:33.000000Z"
},
"meta": {
"request_uuid": "0192f4c8-5b6c-7d74-a3e8-0f1a2b3c4d5e",
"timestamp": "2026-10-01T15:08:21Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}Authorizations
A member credential in the Authorization: Bearer header: a member
session JWT, a portal JWT whose login is linked to a membership in
that company, or a member token. The credential alone
identifies the member and company.
Body
A push token to register, with what the app knows about the device.
The device's Expo push token. Any non-blank string, as the legacy registration accepts.
\S32255255255Response
The member had already registered this token; it is refreshed and active.
A device registered for push notifications. The push token is never returned, whole or in part: anyone holding it can send pushes to the device. Recognise the device by id, which registration returns, and by its own device_uid. A member sees only their own devices.
Show child attributes
Show child attributes
Envelope metadata present on every response.
Show child attributes
Show child attributes
curl --request POST \
--url https://api.fluid.app/api/member/v2026-10/notifications/devices \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"push_token": "ExponentPushToken[xTn3kQ8vLm2Pz0aBcDeF]",
"device_type": "ios",
"device_uid": "casey-iphone-14",
"bundle_id": "com.fluid.fluid-crm"
}
'import requests
url = "https://api.fluid.app/api/member/v2026-10/notifications/devices"
payload = {
"push_token": "ExponentPushToken[xTn3kQ8vLm2Pz0aBcDeF]",
"device_type": "ios",
"device_uid": "casey-iphone-14",
"bundle_id": "com.fluid.fluid-crm"
}
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({
push_token: 'ExponentPushToken[xTn3kQ8vLm2Pz0aBcDeF]',
device_type: 'ios',
device_uid: 'casey-iphone-14',
bundle_id: 'com.fluid.fluid-crm'
})
};
fetch('https://api.fluid.app/api/member/v2026-10/notifications/devices', 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.fluid.app/api/member/v2026-10/notifications/devices",
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([
'push_token' => 'ExponentPushToken[xTn3kQ8vLm2Pz0aBcDeF]',
'device_type' => 'ios',
'device_uid' => 'casey-iphone-14',
'bundle_id' => 'com.fluid.fluid-crm'
]),
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.fluid.app/api/member/v2026-10/notifications/devices"
payload := strings.NewReader("{\n \"push_token\": \"ExponentPushToken[xTn3kQ8vLm2Pz0aBcDeF]\",\n \"device_type\": \"ios\",\n \"device_uid\": \"casey-iphone-14\",\n \"bundle_id\": \"com.fluid.fluid-crm\"\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.fluid.app/api/member/v2026-10/notifications/devices")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"push_token\": \"ExponentPushToken[xTn3kQ8vLm2Pz0aBcDeF]\",\n \"device_type\": \"ios\",\n \"device_uid\": \"casey-iphone-14\",\n \"bundle_id\": \"com.fluid.fluid-crm\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fluid.app/api/member/v2026-10/notifications/devices")
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 \"push_token\": \"ExponentPushToken[xTn3kQ8vLm2Pz0aBcDeF]\",\n \"device_type\": \"ios\",\n \"device_uid\": \"casey-iphone-14\",\n \"bundle_id\": \"com.fluid.fluid-crm\"\n}"
response = http.request(request)
puts response.read_body{
"status": 200,
"data": {
"id": "0192f4f0-7a8b-7c9d-8e0f-1a2b3c4d5e6f",
"device_type": "ios",
"device_uid": "casey-iphone-14",
"bundle_id": "com.fluid.fluid-crm",
"project_id": "6b1d3f2e-9c47-4a58-b0e1-2f3a4b5c6d7e",
"active": true,
"refreshed_at": "2026-10-01T15:08:21.512088Z",
"created_at": "2026-08-14T10:02:33.000000Z"
},
"meta": {
"request_uuid": "0192f4c8-5b6c-7d74-a3e8-0f1a2b3c4d5e",
"timestamp": "2026-10-01T15:08:21Z"
}
}{
"status": 201,
"data": {
"id": "0192f4f0-7a8b-7c9d-8e0f-1a2b3c4d5e6f",
"device_type": "ios",
"device_uid": "casey-iphone-14",
"bundle_id": "com.fluid.fluid-crm",
"project_id": "6b1d3f2e-9c47-4a58-b0e1-2f3a4b5c6d7e",
"active": true,
"refreshed_at": "2026-10-01T15:08:21.512088Z",
"created_at": "2026-08-14T10:02:33.000000Z"
},
"meta": {
"request_uuid": "0192f4c8-5b6c-7d74-a3e8-0f1a2b3c4d5e",
"timestamp": "2026-10-01T15:08:21Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"status": 123,
"error": {
"message": "<string>",
"details": {}
},
"meta": {
"request_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"timestamp": "2023-11-07T05:31:56Z"
}
}