Email client rosters
Needs: Roster, Read-write
Email clients their roster for a period, like Email roster on the roster page: each client gets their shifts at their primary contact and roster email addresses.
Note: The emails are queued, one per client. Needs an active Imploy subscription.
curl -X POST "https://app.imploy.com.au/api/integrations/v1/rosters/email" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{
"client_ids": [
5,
9
],
"from": "2026-12-01",
"to": "2026-12-14"
}'
import requests
import json
url = "https://app.imploy.com.au/api/integrations/v1/rosters/email"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN"
}
data = {
"client_ids": [
5,
9
],
"from": "2026-12-01",
"to": "2026-12-14"
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
const response = await fetch("https://app.imploy.com.au/api/integrations/v1/rosters/email", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN"
},
body: JSON.stringify({
"client_ids": [
5,
9
],
"from": "2026-12-01",
"to": "2026-12-14"
})
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
"bytes"
"encoding/json"
)
func main() {
data := []byte(`{
"client_ids": [
5,
9
],
"from": "2026-12-01",
"to": "2026-12-14"
}`)
req, err := http.NewRequest("POST", "https://app.imploy.com.au/api/integrations/v1/rosters/email", bytes.NewBuffer(data))
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://app.imploy.com.au/api/integrations/v1/rosters/email')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN'
request.body = '{
"client_ids": [
5,
9
],
"from": "2026-12-01",
"to": "2026-12-14"
}'
response = http.request(request)
puts response.body
{
"queued": 2,
"client_ids": [
5,
9
],
"from": "2026-12-01",
"to": "2026-12-14",
"roster": "client",
"note": "Each client is emailed at their primary contact email and roster email addresses."
}
{
"message": "Invalid or expired access token."
}
{
"message": "Access token does not permit this action."
}
{
"message": "Emailing rosters needs an active Imploy subscription.",
"error": "Emailing rosters needs an active Imploy subscription."
}
{
"message": "Too many requests."
}
/rosters/email
Target server for requests. Edit to use your own host.
An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.
imp_at_. Send it as Authorization: Bearer imp_at_XXXX.The media type of the request body
Clients to email (up to 100).
First day of the roster (YYYY-MM-DD).
Last day (YYYY-MM-DD), at most 63 days after from.
Send the clients' site roster instead of their client roster.
Request Preview
Response
Response will appear here after sending the request
Authentication
Bearer token. An organisation access token that starts with imp_at_. Send it as Authorization: Bearer imp_at_XXXX.
Body
Clients to email (up to 100).
First day of the roster (YYYY-MM-DD).
Last day (YYYY-MM-DD), at most 63 days after from.
Send the clients' site roster instead of their client roster.
Responses
OK