API
About the API and the caller.
GET/api/v1
About this API
Names the API and its version and links the documentation, the OpenAPI document and the MCP server. No sign-in.
No sign-in
Answers
| Status | Meaning | data |
| 200 | About the API | ApiIndex |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1
GET/api/v1/me
Who am I
The account the token acts on, its plan, and the permissions this token holds. Any valid token may call it.
Token needed
Answers
| Status | Meaning | data |
| 200 | The caller | Me |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/me \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/openapi.json
This OpenAPI document
The OpenAPI 3.1 description of every endpoint, built from the code on each request. Use it to generate a client. No sign-in.
No sign-in
Answers
| Status | Meaning | data |
| 200 | The OpenAPI document | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/openapi.json
Plan
Your plan and billing state, read only.
GET/api/v1/account/plan
Your plan and billing state
Read only. Includes a plan change waiting to happen (pending_change) and the Free plan's limits.
Token needed
plan.read
Answers
| Status | Meaning | data |
| 200 | OK | Plan |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/account/plan \
-H "Authorization: Bearer $TOKEN"
Business
About your business (trade, place, size) and your advertising tag IDs (paid plans).
GET/api/v1/advertising-tags
Your Meta, Google and TikTok tag IDs
Token needed
business.read
Answers
| Status | Meaning | data |
| 200 | OK | AdvertisingTags |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/advertising-tags \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/advertising-tags
Change your tag IDs (paid plans)
Token needed
business.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
meta | string or null | |
google | string or null | |
tiktok | string or null | |
Answers
| Status | Meaning | data |
| 200 | OK | AdvertisingTags |
| 403 | missing_scope, or plan_required: this needs a paid plan (error.details.plan). | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/advertising-tags \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/business
About your business
Token needed
business.read
Answers
| Status | Meaning | data |
| 200 | OK | BusinessDetails |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/business \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/business
Change the details about your business
Token needed
business.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
industry | string or null | |
city | string or null | |
state | string or null | |
country | string or null | |
reach | string or null | |
size | string or null | |
years | string or null | |
customers | string or null | |
Answers
| Status | Meaning | data |
| 200 | OK | BusinessDetails |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/business \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
Affiliate links
Affiliate links with click and conversion counts.
GET/api/v1/affiliate-links
Your affiliate links
Token needed
affiliate.read
Parameters
| Name | In | Type | About |
active | query | boolean | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of AffiliateLink |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/affiliate-links \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/affiliate-links
Add a link; a short link is made
Token needed
affiliate.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
name (required) | string | |
affiliate_url (required) | string (uri) | |
short_slug | string | |
network | string: "Amazon", "ShareASale", "Skim", "Impact", "Direct", "Custom" | |
commission_percent | number | |
is_active | boolean | |
expires_at | string or null (date-time) | |
utm_source | string | |
utm_medium | string | |
utm_campaign | string | |
notes | string | |
Answers
| Status | Meaning | data |
| 201 | OK | AffiliateLink |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/affiliate-links \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/affiliate-links/{link}
One link
Token needed
affiliate.read
Parameters
| Name | In | Type | About |
link (required) | path | string | The id. |
Answers
| Status | Meaning | data |
| 200 | OK | AffiliateLink |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/affiliate-links/{link} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/affiliate-links/{link}
Change a link; is_active false pauses it
Token needed
affiliate.write
Parameters
| Name | In | Type | About |
link (required) | path | string | The id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
name | string | |
affiliate_url | string | |
is_active | boolean | |
commission_percent | number or null | |
notes | string or null | |
Answers
| Status | Meaning | data |
| 200 | OK | AffiliateLink |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/affiliate-links/{link} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/affiliate-links/{link}
Delete a link for good
Token needed
affiliate.write
Parameters
| Name | In | Type | About |
link (required) | path | string | The id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 200 | Deleted | object |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/affiliate-links/{link} \
-H "Authorization: Bearer $TOKEN"
Blog
Posts on your profile blog and the comments on them.
GET/api/v1/blog/posts
List blog posts
Token needed
blog.read
Parameters
| Name | In | Type | About |
status | query | string: "draft", "scheduled", "published", "archived" | Only this status. |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of BlogPost |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/blog/posts \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/blog/posts
Write a blog draft
Token needed
blog.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
title | string | |
slug | string or null | |
excerpt | string or null | |
body_markdown | string | |
hero_image_url | string or null | |
category | string or null | |
tags | list of string | |
seo_title | string or null | |
seo_description | string or null | |
seo_image_url | string or null | |
comments_enabled | boolean | |
scheduled_for | string or null (date-time) | |
Answers
| Status | Meaning | data |
| 201 | Draft saved | BlogPost |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/blog/posts \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/blog/posts/{post}
One blog post
Token needed
blog.read
Parameters
| Name | In | Type | About |
post (required) | path | string | The post id. |
Answers
| Status | Meaning | data |
| 200 | OK | BlogPost |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/blog/posts/{post} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/blog/posts/{post}
Change a blog post
Token needed
blog.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
post (required) | path | string | The post id. |
Body (JSON)
| Field | Type | About |
title | string | |
slug | string or null | |
excerpt | string or null | |
body_markdown | string | |
hero_image_url | string or null | |
category | string or null | |
tags | list of string | |
seo_title | string or null | |
seo_description | string or null | |
seo_image_url | string or null | |
comments_enabled | boolean | |
scheduled_for | string or null (date-time) | |
Answers
| Status | Meaning | data |
| 200 | OK | BlogPost |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/blog/posts/{post} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/blog/posts/{post}
Archive a blog post
Token needed
blog.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
post (required) | path | string | The post id. |
Answers
| Status | Meaning | data |
| 200 | Archived; publishing it again brings it back | BlogPost |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/blog/posts/{post} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/blog/posts/{post}/{action}
Publish or unpublish
Token needed
blog.write
Parameters
| Name | In | Type | About |
action (required) | path | string: "publish", "unpublish" | |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
post (required) | path | string | The post id. |
Answers
| Status | Meaning | data |
| 200 | OK | BlogPost |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/blog/posts/{post}/{action} \
-H "Authorization: Bearer $TOKEN"
Bookings
Event types, open times and bookings. Booking runs the same code as the public booking page.
GET/api/v1/bookings
Your bookings, soonest first
Token needed
bookings.read
Parameters
| Name | In | Type | About |
status | query | string: "pending", "confirmed", "cancelled" | |
from | query | string (date) | |
to | query | string (date) | |
event_type_id | query | string | |
q | query | string | Part of a guest name or email. |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Booking |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/bookings \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/bookings
Book a guest in, or move a booking (move_booking_id)
Token needed
bookings.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key never acts twice. A `reference` in the body does the same. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
event_type_id (required) | string | |
booking_date (required) | string (date) | |
start_time (required) | string | |
guest_name (required) | string | |
guest_email (required) | string (email) | |
guest_phone | string | |
notes | string | |
guest_timezone | string | |
answers | list of string | |
repeat | string: "weekly", "biweekly", "monthly" | |
repeat_count | integer | |
reward_code | string | |
move_booking_id | string | |
reference | string | |
Answers
| Status | Meaning | data |
| 201 | Booked (or held for payment: checkout_url) | Booking |
| 404 | not_bookable / not_found. | |
| 409 | slot_taken; reward_not_usable; not_movable; payments_not_ready; idempotency_key_reused. | |
| 422 | time_not_offered; reward_not_usable; validation_failed. | |
| 503 | payment_unavailable: nothing was booked. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/bookings \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/bookings/event-types
Your event types
Token needed
bookings.read
Answers
| Status | Meaning | data |
| 200 | OK | list of EventType |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/bookings/event-types \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/bookings/event-types/{eventType}/open-times
Open start times per day, in your time zone
Token needed
bookings.read
Parameters
| Name | In | Type | About |
eventType (required) | path | string | The event type id. |
from | query | string (date) | |
to | query | string (date) | |
Answers
| Status | Meaning | data |
| 200 | OK | OpenTimes |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 409 | not_bookable: the event type is switched off. | |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/bookings/event-types/{eventType}/open-times \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/bookings/{booking}
One booking in full
Token needed
bookings.read
Parameters
| Name | In | Type | About |
booking (required) | path | string | The id. |
Answers
| Status | Meaning | data |
| 200 | OK | Booking |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/bookings/{booking} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/bookings/{booking}/cancel
Cancel a booking; the guest is emailed. Paid bookings show refund_due and are refunded on the screen.
Token needed
bookings.write
Parameters
| Name | In | Type | About |
booking (required) | path | string | The id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
series | boolean | |
Answers
| Status | Meaning | data |
| 200 | OK | Booking |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 409 | already_cancelled. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/bookings/{booking}/cancel \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
Broadcasts
Email to your contacts. Only opted-in, not-unsubscribed contacts receive it, always with an unsubscribe link. Sending needs broadcasts.send ("Email your contacts"). Free plan: one broadcast a month and 50 contacts.
GET/api/v1/broadcasts
List broadcasts
meta.sends_left_this_month is null on a paid plan.
Token needed
broadcasts.read
Parameters
| Name | In | Type | About |
status | query | string: "draft", "scheduled", "sending", "sent", "failed" | Only this status. |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Broadcast |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/broadcasts \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/broadcasts
Write a broadcast draft
Token needed
broadcasts.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
subject | string | |
body_markdown | string | |
audience | object | |
audience.sources | list of string | |
audience.tags | list of string | |
audience.since | string or null (date) | |
audience.segment_id | string or null | A saved segment, worked out when the broadcast sends. |
Answers
| Status | Meaning | data |
| 201 | Draft saved | Broadcast |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/broadcasts \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/broadcasts/{broadcast}
One broadcast, with how many it would reach now
Token needed
broadcasts.read
Parameters
| Name | In | Type | About |
broadcast (required) | path | string | The broadcast id. |
Answers
| Status | Meaning | data |
| 200 | OK | Broadcast |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/broadcasts/{broadcast} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/broadcasts/{broadcast}
Change a draft
Token needed
broadcasts.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
broadcast (required) | path | string | The broadcast id. |
Body (JSON)
| Field | Type | About |
subject | string | |
body_markdown | string | |
audience | object | |
audience.sources | list of string | |
audience.tags | list of string | |
audience.since | string or null (date) | |
audience.segment_id | string or null | A saved segment, worked out when the broadcast sends. |
Answers
| Status | Meaning | data |
| 200 | OK | Broadcast |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | not_editable: it has been sent or is sending. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/broadcasts/{broadcast} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/broadcasts/{broadcast}
Delete a draft
Token needed
broadcasts.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
broadcast (required) | path | string | The broadcast id. |
Answers
| Status | Meaning | data |
| 200 | Done | object |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | not_deletable: sent broadcasts are kept. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/broadcasts/{broadcast} \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/broadcasts/{broadcast}/recipients
Who received it and what they did (personal data)
Needs broadcasts.read and contacts.read.
Token needed
broadcasts.readcontacts.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
broadcast (required) | path | string | The broadcast id. |
Answers
| Status | Meaning | data |
| 200 | One page | list of BroadcastRecipient |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/broadcasts/{broadcast}/recipients \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/broadcasts/{broadcast}/results
How a broadcast did
Token needed
broadcasts.read
Parameters
| Name | In | Type | About |
broadcast (required) | path | string | The broadcast id. |
Answers
| Status | Meaning | data |
| 200 | OK | BroadcastResults |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/broadcasts/{broadcast}/results \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/broadcasts/{broadcast}/schedule
Schedule a broadcast to email your contacts later
Needs broadcasts.send. The Free plan's one broadcast a month counts the month it is scheduled for.
Token needed
broadcasts.send
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
broadcast (required) | path | string | The broadcast id. |
Body (JSON)
| Field | Type | About |
send_at (required) | string (date-time) | |
Answers
| Status | Meaning | data |
| 200 | OK | Broadcast |
| 402 | limit_reached: a Free plan limit is used up; error.details names the limit and the plan that lifts it. | |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | already_sent | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/broadcasts/{broadcast}/schedule \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/broadcasts/{broadcast}/send
Email your contacts now
Emails every opted-in, not-unsubscribed contact in the audience, each with an unsubscribe link. A broadcast is sent at most once: a retry, with or without Idempotency-Key, never emails anyone twice. Pass expected_recipients to make sure the number the owner agreed to is still right.
Token needed
broadcasts.send
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
broadcast (required) | path | string | The broadcast id. |
Body (JSON)
| Field | Type | About |
expected_recipients | integer | |
Answers
| Status | Meaning | data |
| 202 | Sending | object |
| 402 | limit_reached: a Free plan limit is used up; error.details names the limit and the plan that lifts it. | |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | already_sent: it was sent or is sending, and nobody is emailed twice; or recipient_count_changed: the audience no longer matches expected_recipients. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/broadcasts/{broadcast}/send \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/broadcasts/{broadcast}/test
Send a test copy to your own address
Goes only to the account's own email address. Contacts receive nothing.
Token needed
broadcasts.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
broadcast (required) | path | string | The broadcast id. |
Answers
| Status | Meaning | data |
| 200 | Sent | object |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/broadcasts/{broadcast}/test \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/broadcasts/{broadcast}/unschedule
Take a broadcast off the schedule
Token needed
broadcasts.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
broadcast (required) | path | string | The broadcast id. |
Answers
| Status | Meaning | data |
| 200 | OK | Broadcast |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | already_sent | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/broadcasts/{broadcast}/unschedule \
-H "Authorization: Bearer $TOKEN"
Classes
Group classes, sessions, rosters and check-in.
GET/api/v1/classes
Your weekly classes
Token needed
classes.read
Answers
| Status | Meaning | data |
| 200 | OK | list of FitnessClass |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/classes \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/classes/bookings/{booking}/check-in
Check in (or checked_in false to clear)
Token needed
classes.write
Parameters
| Name | In | Type | About |
booking (required) | path | string | The class booking id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
checked_in | boolean | |
Answers
| Status | Meaning | data |
| 200 | OK | ClassBooking |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 409 | booking_cancelled. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/classes/bookings/{booking}/check-in \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/classes/sessions
Dated sessions from today (or from)
Token needed
classes.read
Parameters
| Name | In | Type | About |
from | query | string (date) | |
to | query | string (date) | |
class_id | query | string | |
status | query | string | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of ClassSession |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/classes/sessions \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/classes/sessions/{session}
One session with its roster
Token needed
classes.read
Parameters
| Name | In | Type | About |
session (required) | path | string | The id. |
Answers
| Status | Meaning | data |
| 200 | OK | ClassSession |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/classes/sessions/{session} \
-H "Authorization: Bearer $TOKEN"
Everyone who shared their details with you, whether they agreed to be emailed, and where they came from. Personal data: contacts.read; changes: contacts.write; the whole list at once: contacts.export.
GET/api/v1/contacts
List and search contacts
Token needed
contacts.read
Parameters
| Name | In | Type | About |
q | query | string | Part of a name, email or phone. |
tag | query | string | Tags, comma separated; all must match. |
source | query | string | shop, event, restaurant, class, listing, wedding, profile, manual or multiple. |
subscribed | query | boolean | true: can be emailed. false: the rest. |
since | query | string (date) | Active on or after. |
sort | query | string: "-last_interaction", "last_interaction", "created", "-created", "email" | Order (default -last_interaction). |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of AudienceContact |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/contacts \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/contacts
Add a contact
Not subscribed to email unless consent.agreed is true with consent.method saying how the person agreed; that is stored on the contact. A contact who unsubscribed, bounced or was opted out elsewhere is never subscribed through the API (409 consent_locked).
Token needed
contacts.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
email (required) | string (email) | |
name | string | |
phone | string | |
note | string | |
tags | list of string | |
consent | object | |
consent.agreed | boolean | True only if the person agreed to be emailed by you. |
consent.method | string | How they agreed, in plain words. Required when agreed is true. |
consent.at | string (date-time) | When they agreed, if not now. |
Answers
| Status | Meaning | data |
| 201 | Added | AudienceContact |
| 200 | Merged into the existing contact with that email | AudienceContact |
| 402 | limit_reached: a Free plan limit is used up; error.details names the limit and the plan that lifts it. | |
| 409 | contact_erased: this person was erased; only a new recorded agreement brings them back. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/contacts \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/contacts/export
Download every contact
Bulk personal data: needs its own permission, contacts.export.
Token needed
contacts.export
Parameters
| Name | In | Type | About |
format | query | string: "csv", "json" | File format. |
Answers
| Status | Meaning | data |
| 200 | CSV (default) or JSON. In the CSV, a cell that starts with = + - @ is prefixed with ' so a spreadsheet never runs it. | list of AudienceContact |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/contacts/export \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/contacts/import
Import up to 1000 contacts
One consent statement covers every row. Without it nobody is subscribed. Rows past the Free plan limit and erased people are skipped and listed.
Token needed
contacts.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
contacts (required) | list of object | |
tags | list of string | |
consent | object | |
consent.agreed | boolean | True only if the person agreed to be emailed by you. |
consent.method | string | How they agreed, in plain words. Required when agreed is true. |
consent.at | string (date-time) | When they agreed, if not now. |
Answers
| Status | Meaning | data |
| 200 | What happened to each row | object |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/contacts/import \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/contacts/summary
Contact totals, sources, tags and the Free plan limit
Token needed
contacts.read
Answers
| Status | Meaning | data |
| 200 | OK | AudienceContactSummary |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/contacts/summary \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/contacts/{contact}
One contact, with the broadcasts you sent them
Token needed
contacts.read
Parameters
| Name | In | Type | About |
contact (required) | path | string | The contact id. |
Answers
| Status | Meaning | data |
| 200 | OK | AudienceContactDetail |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/contacts/{contact} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/contacts/{contact}
Correct a contact, change tags, unsubscribe
subscribed: false unsubscribes. subscribed: true needs consent and only works for a contact added through the API or an import who has never been emailed or unsubscribed.
Token needed
contacts.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
contact (required) | path | string | The contact id. |
Body (JSON)
| Field | Type | About |
name | string or null | |
phone | string or null | |
note | string or null | |
city | string or null | |
state | string or null | |
tags | list of string | |
subscribed | boolean | |
consent | object | |
consent.agreed | boolean | True only if the person agreed to be emailed by you. |
consent.method | string | How they agreed, in plain words. Required when agreed is true. |
consent.at | string (date-time) | When they agreed, if not now. |
Answers
| Status | Meaning | data |
| 200 | OK | AudienceContact |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | consent_locked: this person cannot be subscribed through the API. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/contacts/{contact} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/contacts/{contact}
Erase a contact for good
Deletes the contact, blanks their address on past broadcast records, and keeps a one-way fingerprint so rebuilding the list from orders or bookings never brings them back.
Token needed
contacts.write
Parameters
| Name | In | Type | About |
contact (required) | path | string | The contact id. |
Answers
| Status | Meaning | data |
| 200 | Erased | object |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/contacts/{contact} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/contacts/{contact}/tags
Add or remove tags
Token needed
contacts.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
contact (required) | path | string | The contact id. |
Body (JSON)
| Field | Type | About |
add | list of string | |
remove | list of string | |
Answers
| Status | Meaning | data |
| 200 | OK | AudienceContact |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/contacts/{contact}/tags \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/contacts/{contact}/unsubscribe
Unsubscribe a contact
Token needed
contacts.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
contact (required) | path | string | The contact id. |
Answers
| Status | Meaning | data |
| 200 | OK | AudienceContact |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/contacts/{contact}/unsubscribe \
-H "Authorization: Bearer $TOKEN"
Courses
Courses and enrollments.
GET/api/v1/courses
Your courses with enrollment counts
Token needed
courses.read
Answers
| Status | Meaning | data |
| 200 | OK | list of Course |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/courses \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/courses/{course}
A course's modules (with release rules), lessons and quiz summaries. Quiz answers are never returned.
Token needed
courses.read
Parameters
| Name | In | Type | About |
course (required) | path | string | The id. |
Answers
| Status | Meaning | data |
| 200 | OK | CourseStructure |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/courses/{course} \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/courses/{course}/enrollments
Who is enrolled, with progress
Token needed
courses.read
Parameters
| Name | In | Type | About |
course (required) | path | string | The id. |
status | query | string: "enrolled", "pending", "refunded", "completed" | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Enrollment |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/courses/{course}/enrollments \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/courses/{course}/enrollments/{enrollment}
One learner's progress: lessons done, locks, quiz attempts and certificate
Token needed
courses.read
Parameters
| Name | In | Type | About |
course (required) | path | string | The id. |
enrollment (required) | path | string | The enrollment id. |
Answers
| Status | Meaning | data |
| 200 | OK | CourseProgress |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/courses/{course}/enrollments/{enrollment} \
-H "Authorization: Bearer $TOKEN"
Downloads
Downloadable files.
GET/api/v1/downloads
Files with download counts
Token needed
downloads.read
Answers
| Status | Meaning | data |
| 200 | OK | list of DownloadFile |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/downloads \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/downloads/{file}
Publish or hide a file
Token needed
downloads.write
Parameters
| Name | In | Type | About |
file (required) | path | string | The id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
published (required) | boolean | |
Answers
| Status | Meaning | data |
| 200 | OK | DownloadFile |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/downloads/{file} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
Email signature
Your animated email signature. The server keeps the design and details and gives the HTML to paste into a mail app; the animated picture itself is drawn in your browser on /dashboard/signature/email, so after a change picture.needs_redraw is true until you press "Create my signature" there.
GET/api/v1/email-signature
Your email signature
Token needed
signatures.read
Answers
| Status | Meaning | data |
| 200 | OK | EmailSignature |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/email-signature \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/email-signature
Change the design or details
Send only what changes. If your company has set a locked design, design fields are ignored (listed under ignored) and only your details change.
Token needed
signatures.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
style | string | |
layout | string or null | |
theme | string: "light", "dark" | |
shape | string | |
illustration | string or null | |
size | integer: 560, 840, 1120 | |
booking | boolean | |
icons | list of string | |
colors | object | |
colors.accent | string or null | |
colors.pop | string or null | |
colors.ink | string or null | |
colors.bg | string or null | |
name | string | |
title | string or null | |
company | string or null | |
email | string or null | |
phone | string or null | |
Answers
| Status | Meaning | data |
| 200 | OK | EmailSignature |
| 422 | validation_failed | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/email-signature \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/email-signature/options
Every style, layout, shape, icon and size you can choose
Token needed
signatures.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/email-signature/options \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/email-signature/team
The company design and who on the team has made their signature
Needs signatures.read and team.read.
Token needed
signatures.readteam.read
Answers
| Status | Meaning | data |
| 200 | OK | CompanySignature |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/email-signature/team \
-H "Authorization: Bearer $TOKEN"
PUT/api/v1/email-signature/team
Make your current design the company design
Needs signatures.write and team.write. Every member gets it with their own name, photo and QR code. flexible: true lets members change it.
Token needed
signatures.writeteam.write
Body (JSON)
| Field | Type | About |
flexible | boolean | |
Answers
| Status | Meaning | data |
| 200 | OK | CompanySignature |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PUT https://ideal.bio/api/v1/email-signature/team \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/email-signature/team
Remove the company design
Members keep the signature they have and can change it freely.
Token needed
signatures.writeteam.write
Answers
| Status | Meaning | data |
| 200 | OK | CompanySignature |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/email-signature/team \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/email-signature/team/reminders
Email members who have not made their signature yet
Token needed
signatures.writeteam.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 200 | Sent | object |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/email-signature/team/reminders \
-H "Authorization: Bearer $TOKEN"
Leads
People you met: profile exchanges, event lead capture, scanned cards, people noted offline, and enquiries from your forms.
GET/api/v1/enquiries
Enquiries sent through your profile forms
Token needed
contacts.read
Parameters
| Name | In | Type | About |
status | query | string | new, read, ... |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Enquiry |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/enquiries \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/lead-events
Events you captured leads at
Token needed
contacts.read
Answers
| Status | Meaning | data |
| 200 | All events | list of LeadEvent |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/lead-events \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/leads
People you met, newest first
Token needed
contacts.read
Parameters
| Name | In | Type | About |
event_id | query | string | Only leads from this event. |
via | query | string: "tap", "qr", "link", "scan", "event", "offline" | How they were met. |
since | query | string (date) | Met on or after. |
due | query | boolean | Only follow-up reminders that are due and not done. |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Lead |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/leads \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/leads/{lead}
One lead
Token needed
contacts.read
Parameters
| Name | In | Type | About |
lead (required) | path | string | The lead id. |
Answers
| Status | Meaning | data |
| 200 | OK | Lead |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/leads/{lead} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/leads/{lead}/followed-up
Mark a lead as followed up
Token needed
contacts.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
lead (required) | path | string | The lead id. |
Answers
| Status | Meaning | data |
| 200 | OK | Lead |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/leads/{lead}/followed-up \
-H "Authorization: Bearer $TOKEN"
Events
Ideal Events: ticketed and RSVP events, orders, attendees, door check-in, promo codes, waitlist and results. Refunds need refunds.write; check-in needs events-door.write.
GET/api/v1/events
Your events
Token needed
events.read
Parameters
| Name | In | Type | About |
when | query | string: "upcoming", "past", "all" | |
Answers
| Status | Meaning | data |
| 200 | OK | list of EventSummary |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/events \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/events
Create an event (draft unless status is on-sale)
Token needed
events.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
title (required) | string | |
starts_at (required) | string (date-time) | |
ends_at | string (date-time) | |
timezone | string | |
type | string: "rsvp", "paid" | |
format | string: "in_person", "online", "hybrid" | |
status | string: "draft", "on-sale" | |
venue_name | string | |
venue_address | string | |
city | string | |
capacity | integer | |
refund_policy | string: "none", "1d", "7d", "30d", "any" | |
Answers
| Status | Meaning | data |
| 201 | Created | Event |
| 422 | validation_failed | |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/events \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/events/{event}
One event with its ticket types
Token needed
events.read
Parameters
| Name | In | Type | About |
event (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | Event |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/events/{event} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/events/{event}
Change an event (cancelling is done on the dashboard, where it refunds everyone)
Token needed
events.write
Parameters
| Name | In | Type | About |
event (required) | path | string | |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
title | string | |
status | string | |
Answers
| Status | Meaning | data |
| 200 | OK | Event |
| 422 | validation_failed, use_cancel | |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/events/{event} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/events/{event}/attendees
Every ticket with holder, status, check-in and answers
Token needed
events.read
Parameters
| Name | In | Type | About |
event (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | list of Ticket |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/events/{event}/attendees \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/events/{event}/check-in
Check a guest in by ticket code, ticket link or Ideal.Bio profile link; client_id makes retries safe
Token needed
events-door.write
Parameters
| Name | In | Type | About |
event (required) | path | string | |
Body (JSON)
| Field | Type | About |
code (required) | string | |
client_id | string | |
device | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/events/{event}/check-in \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/events/{event}/orders
Completed orders, newest first (paged)
Token needed
events.read
Parameters
| Name | In | Type | About |
event (required) | path | string | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | list of EventOrder |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/events/{event}/orders \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/events/{event}/orders/{order}
One order
Token needed
events.read
Parameters
| Name | In | Type | About |
event (required) | path | string | |
order (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | EventOrder |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/events/{event}/orders/{order} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/events/{event}/orders/{order}/refund
Refund all, an amount, or chosen tickets. Goes back to the buyer's card; the platform fee is returned in proportion. Webhook-confirmed: refund_pending_cents until Stripe reports it.
Token needed
refunds.write
Parameters
| Name | In | Type | About |
event (required) | path | string | |
order (required) | path | string | |
Idempotency-Key | header | string | |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
amount_cents | integer | |
ticket_ids | list of integer | |
Answers
| Status | Meaning | data |
| 200 | OK | EventOrder |
| 409 | not_refundable, amount_too_high | |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/events/{event}/orders/{order}/refund \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/events/{event}/promo-codes
Promo codes
Token needed
events.read
Parameters
| Name | In | Type | About |
event (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/events/{event}/promo-codes \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/events/{event}/promo-codes
Add a promo code (percent 1-100, or amount in cents)
Token needed
events.write
Parameters
| Name | In | Type | About |
event (required) | path | string | |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
code (required) | string | |
kind (required) | string: "percent", "amount" | |
value (required) | integer | |
max_uses | integer | |
starts_at | string | |
ends_at | string | |
Answers
| Status | Meaning | data |
| 201 | OK | object |
| 409 | conflict | |
| 422 | validation_failed | |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/events/{event}/promo-codes \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/events/{event}/report
Results from stored data
Token needed
events.read
Parameters
| Name | In | Type | About |
event (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/events/{event}/report \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/events/{event}/ticket-types
Ticket types
Token needed
events.read
Parameters
| Name | In | Type | About |
event (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | list of TicketType |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/events/{event}/ticket-types \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/events/{event}/ticket-types
Add a ticket type
Token needed
events.write
Parameters
| Name | In | Type | About |
event (required) | path | string | |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
name (required) | string | |
kind | string: "paid", "free", "pwyw", "donation" | |
price_cents | integer | |
min_price_cents | integer | |
currency | string | |
capacity (required) | integer | |
admits | integer | |
addon | boolean | |
hidden | boolean | |
access_code | string | |
sales_start_at | string | |
sales_end_at | string | |
Answers
| Status | Meaning | data |
| 201 | Created | TicketType |
| 422 | validation_failed | |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/events/{event}/ticket-types \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/events/{event}/waitlist
People waiting, in order
Token needed
events.read
Parameters
| Name | In | Type | About |
event (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in. | |
| 403 | missing_scope, or plan_limit (Free plan: one paid event, three ticket types; seating sections do not count). | |
| 404 | not_found: not your event or order. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/events/{event}/waitlist \
-H "Authorization: Bearer $TOKEN"
Official accounts
The owner's real accounts, proofs, and the public lost-or-moved alert.
GET/api/v1/feed/accounts
The owner's official accounts, proofs and alerts
Token needed
accounts.read
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of OfficialAccount |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/feed/accounts \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/feed/accounts
Add an official account
Token needed
accounts.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key never posts or sends twice. Without a key, the same content from the same caller within a few minutes is also treated as a retry. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
network (required) | string | |
handle (required) | string | |
status | string | |
note | string | |
Answers
| Status | Meaning | data |
| 201 | Added | OfficialAccount |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/feed/accounts \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/feed/accounts/history
Changes to the official accounts, newest first
Token needed
accounts.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/feed/accounts/history \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/feed/accounts/lost
HIGH IMPACT, public: mark an account lost or moved; optional profile banner and email to watchers
Token needed
accounts.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key never posts or sends twice. Without a key, the same content from the same caller within a few minutes is also treated as a retry. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
account_id | integer | |
old_network | string | |
old_handle | string | |
status (required) | string: "lost", "moved" | |
reason | string: "hacked", "suspended", "deleted", "locked_out", "other" | |
since | string (date) | |
new_network | string | |
new_handle | string | |
note | string | |
banner | boolean | |
banner_days | integer | |
notify | boolean | |
Answers
| Status | Meaning | data |
| 201 | Published | OfficialAccount |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/feed/accounts/lost \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
PATCH/api/v1/feed/accounts/{id}
Change status, note or order
Token needed
accounts.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Body (JSON)
| Field | Type | About |
status | string | |
note | string | |
sort | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | OfficialAccount |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/feed/accounts/{id} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/feed/accounts/{id}
Remove an account from the list
Token needed
accounts.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 204 | Done. No content. | |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/feed/accounts/{id} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/feed/accounts/{id}/verify
Check the link-back code in the account's public bio
Token needed
accounts.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | OfficialAccount |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/feed/accounts/{id}/verify \
-H "Authorization: Bearer $TOKEN"
Profile feed
The owner's posts from every network, shown on their profile.
GET/api/v1/feed/backup
Everything Ideal.Bio has stored of the owner's posts
Token needed
feed.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/feed/backup \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/feed/items
Posts in the profile feed, pinned first
Token needed
feed.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
network | query | string | |
origin | query | string: "own", "sent", "feed", "pinned" | |
hidden | query | boolean | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of FeedItem |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/feed/items \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/feed/items/{id}/{action}
hide, show, pin or unpin a post on the profile
Token needed
feed.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
action (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | FeedItem |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/feed/items/{id}/{action} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/feed/pins
Pin a post from another network by its address
Token needed
feed.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key never posts or sends twice. Without a key, the same content from the same caller within a few minutes is also treated as a retry. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
url (required) | string | |
Answers
| Status | Meaning | data |
| 201 | Pinned | FeedItem |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/feed/pins \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/feed/refresh
Check every source for new posts now
Token needed
feed.write
Answers
| Status | Meaning | data |
| 202 | Queued | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/feed/refresh \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/feed/settings
How the profile feed shows
Token needed
feed.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/feed/settings \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/feed/settings
Change how the profile feed shows
Token needed
feed.write
Body (JSON)
| Field | Type | About |
layout | string: "list", "grid", "masonry" | |
per_page | integer | |
show_on_profile | boolean | |
include_own_posts | boolean | |
include_sent_posts | boolean | |
hide_after_loss | boolean | |
show_accounts_block | boolean | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/feed/settings \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/feed/sources
Sources that feed the profile
Token needed
feed.read
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of FeedSource |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/feed/sources \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/feed/sources
Add a source by network and handle; its recent posts are brought in
Token needed
feed.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key never posts or sends twice. Without a key, the same content from the same caller within a few minutes is also treated as a retry. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
network (required) | string | |
handle (required) | string | |
Answers
| Status | Meaning | data |
| 201 | Added | FeedSource |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/feed/sources \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
PATCH/api/v1/feed/sources/{id}
Switch a source on or off
Token needed
feed.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Body (JSON)
| Field | Type | About |
enabled (required) | boolean | |
Answers
| Status | Meaning | data |
| 200 | OK | FeedSource |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/feed/sources/{id} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/feed/sources/{id}
Remove a source and its posts (pinned posts stay)
Token needed
feed.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 204 | Done. No content. | |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/feed/sources/{id} \
-H "Authorization: Bearer $TOKEN"
Gift cards
Gift cards sold, balances and redeeming.
GET/api/v1/gift-cards
Gift cards sold
Token needed
gift-cards.read
Parameters
| Name | In | Type | About |
state | query | string: "usable", "used_up", "revoked", "expired" | |
q | query | string | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of GiftCard |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/gift-cards \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/gift-cards/redeem
Take an amount off a card
Token needed
gift-cards.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key never acts twice. A `reference` in the body does the same. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
code (required) | string | |
amount_cents (required) | integer | |
note | string | |
reference | string | |
Answers
| Status | Meaning | data |
| 201 | Taken | object |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 409 | card_not_usable; insufficient_balance (error.details.balance_cents). | |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/gift-cards/redeem \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/gift-cards/summary
Sold, outstanding and redeemed totals
Token needed
gift-cards.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/gift-cards/summary \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/gift-cards/{card}
One card with its redemptions
Token needed
gift-cards.read
Parameters
| Name | In | Type | About |
card (required) | path | string | The card id or its code. |
Answers
| Status | Meaning | data |
| 200 | OK | GiftCard |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/gift-cards/{card} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/gift-cards/{card}/restore
Switch a card back on
Token needed
gift-cards.write
Parameters
| Name | In | Type | About |
card (required) | path | string | The card id or its code. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 200 | OK | GiftCard |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/gift-cards/{card}/restore \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/gift-cards/{card}/revoke
Switch a card off
Token needed
gift-cards.write
Parameters
| Name | In | Type | About |
card (required) | path | string | The card id or its code. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 200 | OK | GiftCard |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/gift-cards/{card}/revoke \
-H "Authorization: Bearer $TOKEN"
Insights
Counts of anonymous signals: views, link taps, poll votes, business figures. No visitor identities exist. Free: 7d, 30d, this_month, last_month.
GET/api/v1/insights
Views, taps and business figures for a period
Token needed
insights.read
Parameters
| Name | In | Type | About |
range | query | string: "7d", "30d", "this_month", "last_month", "90d", "qtd", "ytd", "all" | The period. 90d, qtd, ytd and all need a paid plan. |
sections | query | boolean | Include the business sections. |
Answers
| Status | Meaning | data |
| 200 | OK | Insights |
| 403 | missing_scope, or plan_required: this needs a paid plan (error.details.plan). | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/insights \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/polls
Your polls and their votes
Token needed
insights.read
Answers
| Status | Meaning | data |
| 200 | All polls | list of PollResult |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/polls \
-H "Authorization: Bearer $TOKEN"
Listings
Property listings, inquiries and tours.
GET/api/v1/listings
Your listings (archived left out unless status is given)
Token needed
listings.read
Parameters
| Name | In | Type | About |
status | query | string | |
Answers
| Status | Meaning | data |
| 200 | OK | list of Listing |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/listings \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/listings/inquiries/{inquiry}
Mark an inquiry
Token needed
listings.write
Parameters
| Name | In | Type | About |
inquiry (required) | path | string | The id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
status (required) | string: "new", "responded", "closed" | |
notes | string or null | |
Answers
| Status | Meaning | data |
| 200 | OK | Inquiry |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/listings/inquiries/{inquiry} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/listings/tours/{tour}/cancel
Cancel a tour; the requester is emailed
Token needed
listings.write
Parameters
| Name | In | Type | About |
tour (required) | path | string | The id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 200 | OK | Tour |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 409 | tour_closed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/listings/tours/{tour}/cancel \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/listings/tours/{tour}/confirm
Confirm a tour; the requester is emailed
Token needed
listings.write
Parameters
| Name | In | Type | About |
tour (required) | path | string | The id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 200 | OK | Tour |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 409 | tour_closed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/listings/tours/{tour}/confirm \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/listings/{listing}/inquiries
Inquiries on a listing
Token needed
listings.read
Parameters
| Name | In | Type | About |
listing (required) | path | string | The listing id or slug. |
status | query | string: "new", "responded", "closed" | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Inquiry |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/listings/{listing}/inquiries \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/listings/{listing}/tours
Tour requests on a listing
Token needed
listings.read
Parameters
| Name | In | Type | About |
listing (required) | path | string | The listing id or slug. |
status | query | string | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Tour |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/listings/{listing}/tours \
-H "Authorization: Bearer $TOKEN"
Live
Go Live: streams, destinations and chat.
GET/api/v1/live/destinations
Where streams can go (stream keys are never returned)
Token needed
live.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/live/destinations \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/live/streams
The owner's streams
Token needed
live.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
status | query | string | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of LiveStream |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/live/streams \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/live/streams
Set up (or schedule) a stream
Token needed
live.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key never posts or sends twice. Without a key, the same content from the same caller within a few minutes is also treated as a retry. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
title (required) | string | |
description | string | |
scheduled_for | string (date-time) | |
visibility | string: "public", "unlisted", "private" | |
mode | string: "relay", "announce" | |
external_watch_url | string | |
cta | object | |
destinations | list of integer | |
destination_on | list of integer | |
Answers
| Status | Meaning | data |
| 201 | Created | LiveStream |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/live/streams \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/live/streams/{id}
One stream with its checklist or summary
Token needed
live.read
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | LiveStream |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/live/streams/{id} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/live/streams/{id}
Change a stream that has not ended
Token needed
live.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Body (JSON)
| Field | Type | About |
title | string | |
description | string | |
scheduled_for | string | |
Answers
| Status | Meaning | data |
| 200 | OK | LiveStream |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/live/streams/{id} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/live/streams/{id}
Delete a stream that is not live
Token needed
live.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 204 | Done. No content. | |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/live/streams/{id} \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/live/streams/{id}/chat
Chat messages after an id
Token needed
live.read
Parameters
| Name | In | Type | About |
id (required) | path | string | |
since | query | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/live/streams/{id}/chat \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/live/streams/{id}/chat
Post in the chat as the host
Token needed
live.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Body (JSON)
| Field | Type | About |
text (required) | string | |
Answers
| Status | Meaning | data |
| 201 | Posted | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/live/streams/{id}/chat \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
PUT/api/v1/live/streams/{id}/chat/{message}/hidden
Hide a chat message
Token needed
live.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
message (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PUT https://ideal.bio/api/v1/live/streams/{id}/chat/{message}/hidden \
-H "Authorization: Bearer $TOKEN"
DELETE/api/v1/live/streams/{id}/chat/{message}/hidden
Show a hidden chat message again
Token needed
live.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
message (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/live/streams/{id}/chat/{message}/hidden \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/live/streams/{id}/destinations/{target}
Switch one destination on or off (mid-stream only where the relay supports it)
Token needed
live.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
target (required) | path | string | |
Body (JSON)
| Field | Type | About |
enabled (required) | boolean | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/live/streams/{id}/destinations/{target} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/live/streams/{id}/end
End the stream
Token needed
live.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | LiveStream |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/live/streams/{id}/end \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/live/streams/{id}/start
Start: relay mode prepares the ingest point; announce mode marks the profile live. 409 not_live without a relay
Token needed
live.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | LiveStream |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 402 | limit_reached: the Free plan's monthly limit (posts, or live minutes) is used up. | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/live/streams/{id}/start \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/live/streams/{id}/status
Live state: encoder, watchers, each destination, health
Token needed
live.read
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/live/streams/{id}/status \
-H "Authorization: Bearer $TOKEN"
Loyalty staff and plan
Till staff and the owner's Ideal Loyalty plan (read only).
GET/api/v1/loyalty/plan
Your Ideal Loyalty plan: tier, limits, usage
Token needed
loyalty.read
Answers
| Status | Meaning | data |
| 200 | OK | LoyaltyPlan |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/plan \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/loyalty/staff
Till staff
Token needed
loyalty.read
Answers
| Status | Meaning | data |
| 200 | OK | list of Staff |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/staff \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/loyalty/staff
Invite a till staff member (emails a one-time sign-in link)
Token needed
loyalty.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
email | string | |
name | string or null | |
permissions | object | |
permissions.earn | boolean | |
permissions.redeem | boolean | |
permissions.charge | boolean | |
permissions.topup | boolean | |
permissions.customers | boolean | |
location_ids | list of string | |
daily_cap | integer or null | |
max_topup_cents | integer or null | |
Answers
| Status | Meaning | data |
| 201 | Invited | Staff |
| 401 | Not signed in: no token, or the token is not valid. | |
| 402 | plan_required: the owner's Ideal Loyalty plan does not include this; error.details.tier_needed names the lowest tier that does. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 409 | The card refuses it now. Codes: amount_over_limit, balance_limit_reached, card_frozen, card_inactive, card_paused, coupon_already_used, customer_erased, daily_cap_reached, insufficient_balance, invalid_amount, membership_inactive, no_reward_ready, no_visits_left, not_found, not_undoable, owner_only, program_inactive, refused, reward_is_booking, staff_daily_cap_reached, staff_not_permitted, too_soon, undo_window_passed, validation_failed, would_go_below_zero, wrong_card_type, wrong_location; also idempotency in_progress, already_member, customer_erased. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/staff \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
PATCH/api/v1/loyalty/staff/{staff}
Change permissions, locations or caps
Token needed
loyalty.write
Parameters
| Name | In | Type | About |
staff (required) | path | string | The staff member id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
email | string | |
name | string or null | |
permissions | object | |
permissions.earn | boolean | |
permissions.redeem | boolean | |
permissions.charge | boolean | |
permissions.topup | boolean | |
permissions.customers | boolean | |
location_ids | list of string | |
daily_cap | integer or null | |
max_topup_cents | integer or null | |
Answers
| Status | Meaning | data |
| 200 | OK | Staff |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/loyalty/staff/{staff} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/loyalty/staff/{staff}
Remove; their past actions stay on record
Token needed
loyalty.write
Parameters
| Name | In | Type | About |
staff (required) | path | string | The staff member id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 204 | Removed. No body. | |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/loyalty/staff/{staff} \
-H "Authorization: Bearer $TOKEN"
Loyalty cards
Your loyalty cards (stamp, points, tier, prepaid, membership, multipass, coupon), promotions and locations.
GET/api/v1/loyalty/programs
Your loyalty cards
Token needed
loyalty.read
Answers
| Status | Meaning | data |
| 200 | OK | list of LoyaltyProgram |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/programs \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/loyalty/programs
Create a loyalty card
Token needed
loyalty.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
type (required) | string: "stamp", "points", "tier", "prepaid", "membership", "multipass", "coupon" | |
name | string | |
reward_label | string or null | |
stamps_per_reward | integer | |
points_per_visit | integer | |
points_per_unit | integer | |
reward_points | integer | |
tiers | list of object | |
currency | string: "USD", "EUR", "GBP", "CAD", "AUD" | |
membership_tier_id | string | |
multipass_visits | integer | |
price_cents | integer | |
coupon_text | string or null | |
Answers
| Status | Meaning | data |
| 201 | Created | LoyaltyProgram |
| 401 | Not signed in: no token, or the token is not valid. | |
| 402 | plan_required: the owner's Ideal Loyalty plan does not include this; error.details.tier_needed names the lowest tier that does. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/programs \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/loyalty/programs/{program}
One loyalty card
Token needed
loyalty.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Answers
| Status | Meaning | data |
| 200 | OK | LoyaltyProgram |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/programs/{program} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/loyalty/programs/{program}
Change a loyalty card; only what is sent changes
Token needed
loyalty.write
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
object
Answers
| Status | Meaning | data |
| 200 | OK | LoyaltyProgram |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/loyalty/programs/{program} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/loyalty/programs/{program}/locations
Locations of a card
Token needed
loyalty.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Answers
| Status | Meaning | data |
| 200 | OK | list of LoyaltyLocation |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/programs/{program}/locations \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/loyalty/programs/{program}/locations
Add a location (counts against the plan's locations)
Token needed
loyalty.write
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
name (required) | string | |
address | string or null | |
lat | number or null | |
lng | number or null | |
Answers
| Status | Meaning | data |
| 201 | Created | LoyaltyLocation |
| 401 | Not signed in: no token, or the token is not valid. | |
| 402 | plan_required: the owner's Ideal Loyalty plan does not include this; error.details.tier_needed names the lowest tier that does. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/programs/{program}/locations \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/loyalty/programs/{program}/locations/{location}
Remove a location; past results keep its visits
Token needed
loyalty.write
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
location (required) | path | string | The location id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 204 | Removed. No body. | |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/loyalty/programs/{program}/locations/{location} \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/loyalty/programs/{program}/promotions
Promotions on a card
Token needed
loyalty.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Answers
| Status | Meaning | data |
| 200 | OK | list of Promotion |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/programs/{program}/promotions \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/loyalty/programs/{program}/promotions
Schedule a promotion
Token needed
loyalty.write
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
name (required) | string | |
multiplier | integer | |
bonus | integer | |
offer_text | string or null | |
weekdays | list of integer | |
starts_at (required) | string (date-time) | |
ends_at (required) | string (date-time) | |
Answers
| Status | Meaning | data |
| 201 | Created | Promotion |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/programs/{program}/promotions \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/loyalty/programs/{program}/promotions/{promotion}
Remove a promotion
Token needed
loyalty.write
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
promotion (required) | path | string | The promotion id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 204 | Removed. No body. | |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/loyalty/programs/{program}/promotions/{promotion} \
-H "Authorization: Bearer $TOKEN"
Loyalty customers
Customers of a card. Personal data: separate permissions to read, change and erase.
GET/api/v1/loyalty/programs/{program}/customers
Search a card's customers
Token needed
loyalty-customers.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
page | query | integer | |
per_page | query | integer | |
q | query | string | Name, email, phone or card code. |
segment | query | string: "regulars", "new", "drifting", "lapsed", "big_spenders", "birthday", "opted_in" | |
Answers
| Status | Meaning | data |
| 200 | One page | list of CustomerRow |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/programs/{program}/customers \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/loyalty/programs/{program}/customers
Add a customer by hand (no consent to offers is assumed)
Token needed
loyalty-customers.write
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
name (required) | string | |
email | string or null | |
phone | string or null | |
birthday | string or null (date) | |
Answers
| Status | Meaning | data |
| 201 | Created | Customer |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | The card refuses it now. Codes: amount_over_limit, balance_limit_reached, card_frozen, card_inactive, card_paused, coupon_already_used, customer_erased, daily_cap_reached, insufficient_balance, invalid_amount, membership_inactive, no_reward_ready, no_visits_left, not_found, not_undoable, owner_only, program_inactive, refused, reward_is_booking, staff_daily_cap_reached, staff_not_permitted, too_soon, undo_window_passed, validation_failed, would_go_below_zero, wrong_card_type, wrong_location; also idempotency in_progress, already_member, customer_erased. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/programs/{program}/customers \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/loyalty/programs/{program}/customers.csv
Every customer as CSV
Token needed
loyalty-customers.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Answers
| Status | Meaning | data |
| 200 | CSV | |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/programs/{program}/customers.csv \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/loyalty/programs/{program}/customers/{customer}
A customer's profile, card and recent activity
Token needed
loyalty-customers.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
customer (required) | path | string | The customer id. |
Answers
| Status | Meaning | data |
| 200 | OK | Customer |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/programs/{program}/customers/{customer} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/loyalty/programs/{program}/customers/{customer}
Correct details; consent to offers can be withdrawn, never given
Token needed
loyalty-customers.write
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
customer (required) | path | string | The customer id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
name | string or null | |
email | string or null | |
phone | string or null | |
birthday | string or null | |
notes | string or null | |
agreed_to_offers | boolean | |
Answers
| Status | Meaning | data |
| 200 | OK | Customer |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | The card refuses it now. Codes: amount_over_limit, balance_limit_reached, card_frozen, card_inactive, card_paused, coupon_already_used, customer_erased, daily_cap_reached, insufficient_balance, invalid_amount, membership_inactive, no_reward_ready, no_visits_left, not_found, not_undoable, owner_only, program_inactive, refused, reward_is_booking, staff_daily_cap_reached, staff_not_permitted, too_soon, undo_window_passed, validation_failed, would_go_below_zero, wrong_card_type, wrong_location; also idempotency in_progress, already_member, customer_erased. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/loyalty/programs/{program}/customers/{customer} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/loyalty/programs/{program}/customers/{customer}
Erase a customer for good
Personal details are deleted, the card stops working and the email is kept only as a hash so an import cannot add it back. Anonymous totals stay. Cannot be undone.
Token needed
loyalty-customers.erase
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
customer (required) | path | string | The customer id. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/loyalty/programs/{program}/customers/{customer} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/loyalty/programs/{program}/customers/{customer}/adjustments
Correct a card's stamps, points, balance or visits, with a reason
Token needed
loyalty-customers.write
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
customer (required) | path | string | The customer id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
field (required) | string: "stamps", "points", "balance", "visits_remaining" | |
delta (required) | integer | Signed. Cents for balance. |
reason (required) | string | |
Answers
| Status | Meaning | data |
| 201 | OK | object |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | The card refuses it now. Codes: amount_over_limit, balance_limit_reached, card_frozen, card_inactive, card_paused, coupon_already_used, customer_erased, daily_cap_reached, insufficient_balance, invalid_amount, membership_inactive, no_reward_ready, no_visits_left, not_found, not_undoable, owner_only, program_inactive, refused, reward_is_booking, staff_daily_cap_reached, staff_not_permitted, too_soon, undo_window_passed, validation_failed, would_go_below_zero, wrong_card_type, wrong_location; also idempotency in_progress, already_member, customer_erased. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/programs/{program}/customers/{customer}/adjustments \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/loyalty/programs/{program}/customers/{customer}/export
Everything held about one customer, for a data request
Token needed
loyalty-customers.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
customer (required) | path | string | The customer id. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/programs/{program}/customers/{customer}/export \
-H "Authorization: Bearer $TOKEN"
Loyalty results
Results, customer groups, rewards waiting and referrals, counted from real activity only.
GET/api/v1/loyalty/programs/{program}/referrals
Referral settings and what they produced
Token needed
loyalty.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
days | query | integer: 7, 30, 90, 365 | Basic results (Starter) cover 7 or 30 days. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/programs/{program}/referrals \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/loyalty/programs/{program}/results
Results for one card
Token needed
loyalty.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
days | query | integer: 7, 30, 90, 365 | Basic results (Starter) cover 7 or 30 days. |
location_id | query | string | Advanced results only. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/programs/{program}/results \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/loyalty/programs/{program}/rewards
Rewards waiting on one card
Token needed
loyalty.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of RewardWaiting |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/programs/{program}/rewards \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/loyalty/programs/{program}/segments
Customer groups and how many are in each
Token needed
loyalty.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Answers
| Status | Meaning | data |
| 200 | OK | list of Segment |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/programs/{program}/segments \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/loyalty/results
Results across every card, one customer counted once
Token needed
loyalty.read
Parameters
| Name | In | Type | About |
days | query | integer: 7, 30, 90, 365 | Basic results (Starter) cover 7 or 30 days. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/results \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/loyalty/rewards
Rewards unlocked and not collected, oldest first
customer_name is included only when the token also holds loyalty-customers.read.
Token needed
loyalty.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of RewardWaiting |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/loyalty/rewards \
-H "Authorization: Bearer $TOKEN"
Till
For a point-of-sale system: look up a card by code or barcode, add value, take value, hand over rewards, undo. Every rule the till enforces applies.
POST/api/v1/loyalty/till/charge
Take payment from a prepaid balance (customers' money; never below zero)
Token needed
loyalty-money.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key returns the first answer (success or refusal) and changes nothing. Same key with a different request: 422 idempotency_key_reused. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
code | string | The typed card code (ABCD-EFGH) or the scanned barcode value (IBL1.…). Resolves only among your own cards. |
card_token | string | From a lookup; valid 15 minutes. Send this or code. |
reference | string | Your id for this action, e.g. the receipt number. The same reference twice changes nothing. |
staff_id | string | Act as this till staff member: their permissions, daily cap and locations apply. |
location_id | string | |
amount_cents (required) | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | TillResult |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | The card refuses it now. Codes: amount_over_limit, balance_limit_reached, card_frozen, card_inactive, card_paused, coupon_already_used, customer_erased, daily_cap_reached, insufficient_balance, invalid_amount, membership_inactive, no_reward_ready, no_visits_left, not_found, not_undoable, owner_only, program_inactive, refused, reward_is_booking, staff_daily_cap_reached, staff_not_permitted, too_soon, undo_window_passed, validation_failed, would_go_below_zero, wrong_card_type, wrong_location; also idempotency in_progress, already_member, customer_erased. | |
| 410 | card_token_expired: look the card up again. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 429 | Too many requests. Lookups are limited to 40 a minute. | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/till/charge \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/loyalty/till/coupon
Use a welcome coupon; the card becomes a stamp card
Token needed
loyalty-till.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key returns the first answer (success or refusal) and changes nothing. Same key with a different request: 422 idempotency_key_reused. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
code | string | The typed card code (ABCD-EFGH) or the scanned barcode value (IBL1.…). Resolves only among your own cards. |
card_token | string | From a lookup; valid 15 minutes. Send this or code. |
reference | string | Your id for this action, e.g. the receipt number. The same reference twice changes nothing. |
staff_id | string | Act as this till staff member: their permissions, daily cap and locations apply. |
location_id | string | |
Answers
| Status | Meaning | data |
| 200 | OK | TillResult |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | The card refuses it now. Codes: amount_over_limit, balance_limit_reached, card_frozen, card_inactive, card_paused, coupon_already_used, customer_erased, daily_cap_reached, insufficient_balance, invalid_amount, membership_inactive, no_reward_ready, no_visits_left, not_found, not_undoable, owner_only, program_inactive, refused, reward_is_booking, staff_daily_cap_reached, staff_not_permitted, too_soon, undo_window_passed, validation_failed, would_go_below_zero, wrong_card_type, wrong_location; also idempotency in_progress, already_member, customer_erased. | |
| 410 | card_token_expired: look the card up again. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 429 | Too many requests. Lookups are limited to 40 a minute. | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/till/coupon \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/loyalty/till/earn
Add a visit: a stamp, points (with spend) or spend toward a tier
Token needed
loyalty-till.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key returns the first answer (success or refusal) and changes nothing. Same key with a different request: 422 idempotency_key_reused. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
code | string | The typed card code (ABCD-EFGH) or the scanned barcode value (IBL1.…). Resolves only among your own cards. |
card_token | string | From a lookup; valid 15 minutes. Send this or code. |
reference | string | Your id for this action, e.g. the receipt number. The same reference twice changes nothing. |
staff_id | string | Act as this till staff member: their permissions, daily cap and locations apply. |
location_id | string | |
spend_cents | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | TillResult |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | The card refuses it now. Codes: amount_over_limit, balance_limit_reached, card_frozen, card_inactive, card_paused, coupon_already_used, customer_erased, daily_cap_reached, insufficient_balance, invalid_amount, membership_inactive, no_reward_ready, no_visits_left, not_found, not_undoable, owner_only, program_inactive, refused, reward_is_booking, staff_daily_cap_reached, staff_not_permitted, too_soon, undo_window_passed, validation_failed, would_go_below_zero, wrong_card_type, wrong_location; also idempotency in_progress, already_member, customer_erased. | |
| 410 | card_token_expired: look the card up again. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 429 | Too many requests. Lookups are limited to 40 a minute. | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/till/earn \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/loyalty/till/lookup
Look up a card by typed code or scanned barcode
Also allowed with loyalty-money.write. Returns a card_token for the next call and only the customer's first name unless the token holds loyalty-customers.read. With loyalty-till.write, a scan in the customer's birthday month gives the birthday credit once a year, as at the till.
Token needed
Body (JSON)
| Field | Type | About |
code (required) | string | |
Answers
| Status | Meaning | data |
| 200 | OK | TillCard |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | The card refuses it now. Codes: amount_over_limit, balance_limit_reached, card_frozen, card_inactive, card_paused, coupon_already_used, customer_erased, daily_cap_reached, insufficient_balance, invalid_amount, membership_inactive, no_reward_ready, no_visits_left, not_found, not_undoable, owner_only, program_inactive, refused, reward_is_booking, staff_daily_cap_reached, staff_not_permitted, too_soon, undo_window_passed, validation_failed, would_go_below_zero, wrong_card_type, wrong_location; also idempotency in_progress, already_member, customer_erased. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 429 | Too many requests. Lookups are limited to 40 a minute. | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/till/lookup \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/loyalty/till/membership-check
Check in a member; an active membership counts as a visit
Token needed
loyalty-till.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key returns the first answer (success or refusal) and changes nothing. Same key with a different request: 422 idempotency_key_reused. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
code | string | The typed card code (ABCD-EFGH) or the scanned barcode value (IBL1.…). Resolves only among your own cards. |
card_token | string | From a lookup; valid 15 minutes. Send this or code. |
reference | string | Your id for this action, e.g. the receipt number. The same reference twice changes nothing. |
staff_id | string | Act as this till staff member: their permissions, daily cap and locations apply. |
location_id | string | |
Answers
| Status | Meaning | data |
| 200 | OK | TillResult |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | The card refuses it now. Codes: amount_over_limit, balance_limit_reached, card_frozen, card_inactive, card_paused, coupon_already_used, customer_erased, daily_cap_reached, insufficient_balance, invalid_amount, membership_inactive, no_reward_ready, no_visits_left, not_found, not_undoable, owner_only, program_inactive, refused, reward_is_booking, staff_daily_cap_reached, staff_not_permitted, too_soon, undo_window_passed, validation_failed, would_go_below_zero, wrong_card_type, wrong_location; also idempotency in_progress, already_member, customer_erased. | |
| 410 | card_token_expired: look the card up again. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 429 | Too many requests. Lookups are limited to 40 a minute. | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/till/membership-check \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/loyalty/till/pass-visit
Use one visit from a paid multipass (customers' money)
Token needed
loyalty-money.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key returns the first answer (success or refusal) and changes nothing. Same key with a different request: 422 idempotency_key_reused. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
code | string | The typed card code (ABCD-EFGH) or the scanned barcode value (IBL1.…). Resolves only among your own cards. |
card_token | string | From a lookup; valid 15 minutes. Send this or code. |
reference | string | Your id for this action, e.g. the receipt number. The same reference twice changes nothing. |
staff_id | string | Act as this till staff member: their permissions, daily cap and locations apply. |
location_id | string | |
Answers
| Status | Meaning | data |
| 200 | OK | TillResult |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | The card refuses it now. Codes: amount_over_limit, balance_limit_reached, card_frozen, card_inactive, card_paused, coupon_already_used, customer_erased, daily_cap_reached, insufficient_balance, invalid_amount, membership_inactive, no_reward_ready, no_visits_left, not_found, not_undoable, owner_only, program_inactive, refused, reward_is_booking, staff_daily_cap_reached, staff_not_permitted, too_soon, undo_window_passed, validation_failed, would_go_below_zero, wrong_card_type, wrong_location; also idempotency in_progress, already_member, customer_erased. | |
| 410 | card_token_expired: look the card up again. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 429 | Too many requests. Lookups are limited to 40 a minute. | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/till/pass-visit \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/loyalty/till/redeem
Hand over a waiting reward (oldest unless reward_id)
Token needed
loyalty-money.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key returns the first answer (success or refusal) and changes nothing. Same key with a different request: 422 idempotency_key_reused. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
code | string | The typed card code (ABCD-EFGH) or the scanned barcode value (IBL1.…). Resolves only among your own cards. |
card_token | string | From a lookup; valid 15 minutes. Send this or code. |
reference | string | Your id for this action, e.g. the receipt number. The same reference twice changes nothing. |
staff_id | string | Act as this till staff member: their permissions, daily cap and locations apply. |
location_id | string | |
reward_id | string | |
Answers
| Status | Meaning | data |
| 200 | OK | TillResult |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | The card refuses it now. Codes: amount_over_limit, balance_limit_reached, card_frozen, card_inactive, card_paused, coupon_already_used, customer_erased, daily_cap_reached, insufficient_balance, invalid_amount, membership_inactive, no_reward_ready, no_visits_left, not_found, not_undoable, owner_only, program_inactive, refused, reward_is_booking, staff_daily_cap_reached, staff_not_permitted, too_soon, undo_window_passed, validation_failed, would_go_below_zero, wrong_card_type, wrong_location; also idempotency in_progress, already_member, customer_erased. | |
| 410 | card_token_expired: look the card up again. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 429 | Too many requests. Lookups are limited to 40 a minute. | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/till/redeem \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/loyalty/till/top-up
Top up a prepaid balance paid in store (customers' money)
Token needed
loyalty-money.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key returns the first answer (success or refusal) and changes nothing. Same key with a different request: 422 idempotency_key_reused. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
code | string | The typed card code (ABCD-EFGH) or the scanned barcode value (IBL1.…). Resolves only among your own cards. |
card_token | string | From a lookup; valid 15 minutes. Send this or code. |
reference | string | Your id for this action, e.g. the receipt number. The same reference twice changes nothing. |
staff_id | string | Act as this till staff member: their permissions, daily cap and locations apply. |
location_id | string | |
amount_cents (required) | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | TillResult |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | The card refuses it now. Codes: amount_over_limit, balance_limit_reached, card_frozen, card_inactive, card_paused, coupon_already_used, customer_erased, daily_cap_reached, insufficient_balance, invalid_amount, membership_inactive, no_reward_ready, no_visits_left, not_found, not_undoable, owner_only, program_inactive, refused, reward_is_booking, staff_daily_cap_reached, staff_not_permitted, too_soon, undo_window_passed, validation_failed, would_go_below_zero, wrong_card_type, wrong_location; also idempotency in_progress, already_member, customer_erased. | |
| 410 | card_token_expired: look the card up again. | |
| 422 | validation_failed (error.details.fields), wrong_card_type, amount_over_limit, invalid_amount, idempotency_key_reused, consent_required. | |
| 429 | Too many requests. Lookups are limited to 40 a minute. | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/till/top-up \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/loyalty/till/undo
Undo an action inside the card's undo window, by the same person
Undoing a charge, top-up, pass visit or reward also needs loyalty-money.write.
Token needed
loyalty-till.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key returns the first answer (success or refusal) and changes nothing. Same key with a different request: 422 idempotency_key_reused. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
action_id (required) | string | |
staff_id | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope (error.scope names it); limit_reached (plan allowance used up); staff_not_permitted; wrong_location. | |
| 404 | not_found or card_not_found: nothing with that id or code on this account. Another owner's ids answer the same way. | |
| 409 | The card refuses it now. Codes: amount_over_limit, balance_limit_reached, card_frozen, card_inactive, card_paused, coupon_already_used, customer_erased, daily_cap_reached, insufficient_balance, invalid_amount, membership_inactive, no_reward_ready, no_visits_left, not_found, not_undoable, owner_only, program_inactive, refused, reward_is_booking, staff_daily_cap_reached, staff_not_permitted, too_soon, undo_window_passed, validation_failed, would_go_below_zero, wrong_card_type, wrong_location; also idempotency in_progress, already_member, customer_erased. | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/loyalty/till/undo \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
Memberships
Membership tiers and members (owner side).
GET/api/v1/memberships/members
Members, active first
Token needed
memberships.read
Parameters
| Name | In | Type | About |
status | query | string: "active", "canceled", "refunded" | |
tier_id | query | string | |
q | query | string | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Member |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/memberships/members \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/memberships/members/{member}
One member
Token needed
memberships.read
Parameters
| Name | In | Type | About |
member (required) | path | string | The id. |
Answers
| Status | Meaning | data |
| 200 | OK | Member |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/memberships/members/{member} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/memberships/members/{member}/cancel
Cancel at the end of the paid period
Token needed
memberships.write
Parameters
| Name | In | Type | About |
member (required) | path | string | The id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 200 | OK | Member |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 409 | not_active; already_cancelling. | |
| 502 | upstream_failed: nothing changed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/memberships/members/{member}/cancel \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/memberships/tiers
Tiers with active member counts
Token needed
memberships.read
Answers
| Status | Meaning | data |
| 200 | OK | list of MembershipTier |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/memberships/tiers \
-H "Authorization: Bearer $TOKEN"
Network
Ideal.Bio's own social network: posts, feeds, follows, reactions, reports, notifications and privacy. Visibility, audiences, reply settings, blocks, mutes, rate limits and spam checks apply exactly as on screen.
GET/api/v1/network/drafts
The owner's drafts and scheduled posts on Ideal.Bio (posts.read or posts.draft)
Token needed
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/drafts \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/feed/explore
Explore: public posts from the last week, ranked by replies, reposts and likes over age
Token needed
posts.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
topic | query | string | |
city | query | string | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/feed/explore \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/feed/home
Home feed: posts and reposts from people the owner follows, newest first
Token needed
posts.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
show | query | string: "met" | Only people the owner met in person. |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/feed/home \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/feed/topics/{tag}
Posts with a topic
Token needed
posts.read
Parameters
| Name | In | Type | About |
tag (required) | path | string | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/feed/topics/{tag} \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/follow-requests
People asking to follow the owner
Token needed
follows.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of NetworkMember |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/follow-requests \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/network/follow-requests/{username}
Accept or decline a follow request
Token needed
follows.write
Parameters
| Name | In | Type | About |
username (required) | path | string | |
Body (JSON)
| Field | Type | About |
answer (required) | string: "accept", "decline" | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/network/follow-requests/{username} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/network/followers/{username}
Remove a follower (they are not told)
Token needed
follows.write
Parameters
| Name | In | Type | About |
username (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/network/followers/{username} \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/members/{username}
A member: name, picture, counts if their lists are visible, follow state
Token needed
posts.read
Parameters
| Name | In | Type | About |
username (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | NetworkMember |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/members/{username} \
-H "Authorization: Bearer $TOKEN"
PUT/api/v1/network/members/{username}/follow
Follow (a private account turns it into a request)
Token needed
follows.write
Parameters
| Name | In | Type | About |
username (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PUT https://ideal.bio/api/v1/network/members/{username}/follow \
-H "Authorization: Bearer $TOKEN"
DELETE/api/v1/network/members/{username}/follow
Unfollow
Token needed
follows.write
Parameters
| Name | In | Type | About |
username (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/network/members/{username}/follow \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/members/{username}/posts
A member's posts, replies or media
Token needed
posts.read
Parameters
| Name | In | Type | About |
username (required) | path | string | |
page | query | integer | |
per_page | query | integer | |
tab | query | string: "posts", "replies", "media" | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/members/{username}/posts \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/network/members/{username}/report
Report a member
Token needed
safety.write
Parameters
| Name | In | Type | About |
username (required) | path | string | |
Body (JSON)
| Field | Type | About |
reason (required) | string | |
details | string | |
Answers
| Status | Meaning | data |
| 201 | Reported | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/network/members/{username}/report \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/network/members/{username}/{list}
followers, following or mutual: only when the member's privacy allows (403 private_list)
Token needed
follows.read
Parameters
| Name | In | Type | About |
username (required) | path | string | |
list (required) | path | string | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of NetworkMember |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/members/{username}/{list} \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/moderation
The owner's posts held by moderators and the state of each appeal
Token needed
safety.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/moderation \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/notifications
Notifications, newest first (reading does not mark them read)
Token needed
notifications.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
unread | query | boolean | |
type | query | string | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of Notification |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/notifications \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/notifications/preferences
Which notifications the owner gets, in the app, by email and by push
Token needed
notifications.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/notifications/preferences \
-H "Authorization: Bearer $TOKEN"
PUT/api/v1/network/notifications/preferences
Change notification choices (types left out keep their setting)
Token needed
notifications.write
Body (JSON)
| Field | Type | About |
preferences (required) | object | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PUT https://ideal.bio/api/v1/network/notifications/preferences \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/network/notifications/read
Mark notifications read: all, some types, or up to an id
Token needed
notifications.write
Body (JSON)
| Field | Type | About |
types | list of string | |
up_to_id | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/network/notifications/read \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/network/posts
Post, reply, quote, schedule, or save a draft on Ideal.Bio
Token needed
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key never posts or sends twice. Without a key, the same content from the same caller within a few minutes is also treated as a retry. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
text | string | |
media | list of object | Up to 20 photos and videos, mixed, in this order. They show as one carousel; every slide takes the first item's shape. |
long_read | object | |
long_read.title | string | |
long_read.text | string | Plain text; a blank line separates paragraphs. Does not count toward the 3,000 characters of text. |
blog_post_id | integer | Attach one of the member's own published blog posts instead of a long read (shown as a blog card). Ignored when long_read.text is given. |
audience | string: "everyone", "followers", "met", "mentioned", "members" | members: only people with an active membership in one of member_tier_ids (plus the owner and their team) see the post; everyone else gets a locked card. |
member_tier_ids | list of integer | With audience members: the owner's own active membership tier ids. A members-only post is never sent to outside networks. |
reply_policy | string: "everyone", "following", "mentioned" | |
reply_to_id | string | |
quote_of_id | string | |
sensitive | boolean | |
poll | object | |
poll.question | string | |
poll.options | list of string | |
poll.days | integer | |
attach | object | |
attach.type | string: "booking", "product", "event", "listing", "tips" | |
attach.id | integer | |
scheduled_for | string (date-time) | |
language | string | |
draft | boolean | Save as a draft. Needs posts.draft or posts.write; anything else needs posts.write. |
Answers
| Status | Meaning | data |
| 201 | Created | NetworkPost |
| 200 | A retry: the post made the first time (meta.replayed true) | NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 402 | limit_reached: the Free plan's monthly limit (posts, or live minutes) is used up. | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/network/posts \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/network/posts/{id}
One post, if the caller may see it (the author also sees their drafts)
Token needed
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/posts/{id} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/network/posts/{id}
Edit the words of the owner's post (earlier wording is kept as history)
Token needed
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Body (JSON)
| Field | Type | About |
text (required) | string | |
Answers
| Status | Meaning | data |
| 200 | OK | NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/network/posts/{id} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/network/posts/{id}
Delete the owner's post
Token needed
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 204 | Done. No content. | |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/network/posts/{id} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/network/posts/{id}/appeal
Appeal a hold on the owner's post (one appeal per post)
Token needed
safety.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Body (JSON)
| Field | Type | About |
text (required) | string | |
Answers
| Status | Meaning | data |
| 201 | Appeal sent | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/network/posts/{id}/appeal \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
PUT/api/v1/network/posts/{id}/hidden
Hide a reply under the owner's post
Token needed
posts.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PUT https://ideal.bio/api/v1/network/posts/{id}/hidden \
-H "Authorization: Bearer $TOKEN"
DELETE/api/v1/network/posts/{id}/hidden
Show a hidden reply again
Token needed
posts.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/network/posts/{id}/hidden \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/network/posts/{id}/publish
Publish one of the owner's drafts now (again: no change)
Token needed
posts.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Idempotency-Key | header | string | Retry safely: the same key never posts or sends twice. Without a key, the same content from the same caller within a few minutes is also treated as a retry. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 200 | OK | NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/network/posts/{id}/publish \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/network/posts/{id}/report
Report a post to the staff queue (the author is not told who)
Token needed
safety.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Body (JSON)
| Field | Type | About |
reason (required) | string: "spam", "harassment", "impersonation", "inappropriate", "scam", "other" | |
details | string | |
Answers
| Status | Meaning | data |
| 201 | Reported | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/network/posts/{id}/report \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/network/posts/{id}/submit
Send a draft to the owner for approval (posts.draft is enough); it goes out only once approved
Token needed
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/network/posts/{id}/submit \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/posts/{id}/thread
A post with the chain above it and the replies under it
Token needed
posts.read
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/posts/{id}/thread \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/network/posts/{id}/vote
Vote in a poll
Token needed
reactions.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Body (JSON)
| Field | Type | About |
option (required) | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/network/posts/{id}/vote \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
PUT/api/v1/network/posts/{id}/{kind}
Set a reaction on: like, save, pin (reactions.write), repost (posts.write), mute (notifications.write, mutes the thread)
Token needed
Parameters
| Name | In | Type | About |
id (required) | path | string | |
kind (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PUT https://ideal.bio/api/v1/network/posts/{id}/{kind} \
-H "Authorization: Bearer $TOKEN"
DELETE/api/v1/network/posts/{id}/{kind}
Take a reaction off
Token needed
Parameters
| Name | In | Type | About |
id (required) | path | string | |
kind (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/network/posts/{id}/{kind} \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/privacy
Network privacy settings
Token needed
privacy.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/privacy \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/network/privacy
Change network privacy (turning private off lets everyone waiting in)
Token needed
privacy.write
Body (JSON)
| Field | Type | About |
network_enabled | boolean | |
private | boolean | |
who_can_message | string: "everyone", "following", "connections", "nobody" | |
who_can_comment | string: "everyone", "following", "connections", "nobody" | |
who_sees_lists | string: "everyone", "connections", "nobody" | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/network/privacy \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/network/saved
Posts the owner saved (only they see this)
Token needed
reactions.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/saved \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/search
Search posts (or people with type=people) the owner may see
Token needed
posts.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
q | query | string | |
type | query | string: "posts", "people" | |
city | query | string | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of NetworkPost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/search \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/topics
Topics the owner follows
Token needed
follows.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/topics \
-H "Authorization: Bearer $TOKEN"
PUT/api/v1/network/topics/{tag}
Follow a topic (up to 100)
Token needed
follows.write
Parameters
| Name | In | Type | About |
tag (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PUT https://ideal.bio/api/v1/network/topics/{tag} \
-H "Authorization: Bearer $TOKEN"
DELETE/api/v1/network/topics/{tag}
Stop following a topic
Token needed
follows.write
Parameters
| Name | In | Type | About |
tag (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/network/topics/{tag} \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/{kind}
blocks or mutes: private to the owner
Token needed
safety.read
Parameters
| Name | In | Type | About |
kind (required) | path | string | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of NetworkMember |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/{kind} \
-H "Authorization: Bearer $TOKEN"
PUT/api/v1/network/{kind}/{username}
Block or mute someone (they are not told)
Token needed
safety.write
Parameters
| Name | In | Type | About |
kind (required) | path | string | |
username (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PUT https://ideal.bio/api/v1/network/{kind}/{username} \
-H "Authorization: Bearer $TOKEN"
DELETE/api/v1/network/{kind}/{username}
Unblock or unmute
Token needed
safety.write
Parameters
| Name | In | Type | About |
kind (required) | path | string | |
username (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/network/{kind}/{username} \
-H "Authorization: Bearer $TOKEN"
Messages
Private direct messages. Only the owner's own conversations, with a messages permission.
GET/api/v1/network/messages
PRIVATE: the owner's conversations (inbox, or box=requests)
Token needed
messages.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
box | query | string: "inbox", "requests" | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of Conversation |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/messages \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/network/messages/files/{id}
PRIVATE: a picture from one of the owner's conversations
Token needed
messages.read
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | The picture | |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/messages/files/{id} \
-H "Authorization: Bearer $TOKEN"
DELETE/api/v1/network/messages/items/{id}
Delete one of the owner's own messages, for both people
Token needed
messages.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 204 | Done. No content. | |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/network/messages/items/{id} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/network/messages/items/{id}/report
Report a message (only that message is shared with staff)
Token needed
messages.readsafety.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Body (JSON)
| Field | Type | About |
reason (required) | string | |
Answers
| Status | Meaning | data |
| 201 | Reported | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/network/messages/items/{id}/report \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/network/messages/{username}
PRIVATE: messages with one member, oldest first (does not mark read)
Token needed
messages.read
Parameters
| Name | In | Type | About |
username (required) | path | string | |
limit | query | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/network/messages/{username} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/network/messages/{username}
PRIVATE: send a message (JSON text, or multipart with one photo); lands in their inbox or message requests
Token needed
messages.write
Parameters
| Name | In | Type | About |
username (required) | path | string | |
Idempotency-Key | header | string | Retry safely: the same key never posts or sends twice. Without a key, the same content from the same caller within a few minutes is also treated as a retry. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
text | string | |
alt | string | |
Answers
| Status | Meaning | data |
| 201 | Sent | DirectMessage |
| 200 | A retry: nothing was sent again | DirectMessage |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/network/messages/{username} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/network/messages/{username}/read
Mark a conversation read
Token needed
messages.write
Parameters
| Name | In | Type | About |
username (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/network/messages/{username}/read \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/network/messages/{username}/{action}
accept, decline (they are not told) or hide a conversation
Token needed
messages.write
Parameters
| Name | In | Type | About |
username (required) | path | string | |
action (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/network/messages/{username}/{action} \
-H "Authorization: Bearer $TOKEN"
Pay
Ideal Pay: payments across Ideal.Bio into the owner's own Stripe account (Connect direct charges: Stripe deducts its fee there; refunds and disputes are on that account). Refunds need refunds.write; instant payouts need payouts.write.
GET/api/v1/pay/account
Stripe account status, what Stripe still needs, payout schedule, platform fee, test mode
Token needed
pay.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in. | |
| 403 | missing_scope | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/pay/account \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/pay/balance
Available and pending balance from Stripe
Token needed
pay.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in. | |
| 403 | missing_scope | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/pay/balance \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/pay/charges
Every payment across Ideal.Bio, newest first
Token needed
pay.read
Parameters
| Name | In | Type | About |
source | query | string: "shop", "classes", "reservations", "registry", "tours", "events", "links", "tips" | |
q | query | string | |
from | query | string (date) | |
to | query | string (date) | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | list of Charge |
| 401 | Not signed in. | |
| 403 | missing_scope | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/pay/charges \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/pay/disputes
Disputes with evidence deadlines and guidance
Token needed
pay.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in. | |
| 403 | missing_scope | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/pay/disputes \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/pay/links
Payment links and requests
Token needed
pay.read
Answers
| Status | Meaning | data |
| 200 | OK | list of PaymentLink |
| 401 | Not signed in. | |
| 403 | missing_scope | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/pay/links \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/pay/links
Create a payment link (set or open amount) or a request to one email
Token needed
pay.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
title (required) | string | |
note | string | |
amount_cents | integer | |
min_cents | integer | |
max_cents | integer | |
suggested_cents | list of integer | |
currency | string | |
single_use | boolean | |
expires_at | string (date-time) | |
request_email | string (email) | |
Answers
| Status | Meaning | data |
| 201 | Created | object |
| 422 | validation_failed | |
| 401 | Not signed in. | |
| 403 | missing_scope | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pay/links \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/pay/payouts
Recent payouts to the bank
Token needed
pay.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in. | |
| 403 | missing_scope | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/pay/payouts \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/pay/payouts/instant
What can be paid out instantly now, Stripe's instant payout fee (from balance.instant_available net_available), eligible cards and bank accounts, and the free standard payout schedule
Token needed
pay.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in. | |
| 403 | missing_scope | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/pay/payouts/instant \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/pay/payouts/instant
High impact, moves money: an Instant Payout to the owner's debit card or bank account, for Stripe's fee. Requires an Idempotency-Key header; a retry with the same key never pays twice. Test mode records a test and moves nothing.
Token needed
payouts.write
Parameters
| Name | In | Type | About |
Idempotency-Key (required) | header | string | |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
amount_cents (required) | integer | |
currency (required) | string | |
Answers
| Status | Meaning | data |
| 201 | Created | object |
| 400 | idempotency_key_required | |
| 422 | payout_refused, validation_failed | |
| 401 | Not signed in. | |
| 403 | missing_scope | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pay/payouts/instant \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/pay/refunds
Refund an event order or a payment-link payment (all, or amount_cents). Webhook-confirmed.
Token needed
refunds.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
kind (required) | string: "event_order", "pay_payment" | |
id (required) | string | |
amount_cents | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 404 | not_found | |
| 409 | not_refundable, amount_too_high | |
| 422 | unsupported | |
| 401 | Not signed in. | |
| 403 | missing_scope | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pay/refunds \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POS
The Ideal POS consumes Ideal.Bio here: the shop is the catalog, sales are Bio orders (source pos), card payments are Stripe Terminal direct charges on the owner's connected account with Ideal.Bio's application fee, loyalty is Ideal Loyalty's till, printed QR codes are Ideal Code registry rows. A paired register's token is bound to one location; the owner, agents and gateway callers name the location with X-Pos-Location. The person at the register switches in with a PIN (X-Pos-Staff-Session).
GET/api/v1/pos/catalog
The owner's shop as the register sees it: active items, variants, add-on groups, prices, tax, tips, catalog_version, and stock AT THIS LOCATION: stock is what this location can sell (null when not counted); inventory gives on_hand, committed (held for unpaid sales), available, allow_oversell and elsewhere[] (available at the owner's other locations). stock_location names where this register sells from. catalog_version changes when availability changes.
Token needed
pos.catalog.read
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/pos/catalog \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/pos/loyalty/lookup
Ideal Loyalty: look up a card by typed code or scanned barcode; returns a 15-minute card_token and the actions this register may take
Token needed
pos.loyalty.write
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
Body (JSON)
| Field | Type | About |
code (required) | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 404 | card_not_found | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pos/loyalty/lookup \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/pos/orders
In-person sales at this location, newest first
Token needed
pos.sales.read
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
status | query | string: "pending", "paid", "refunded", "cancelled" | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/pos/orders \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/pos/orders
Ring up a sale. Prices come from the catalog (a different unit_price_cents needs price.override); discounts within the person's role limit; tax from the location. Counted items are held at this location until paid (taken off on hand then; a void releases them); a short item is refused with 409 insufficient_stock (details.items: requested, available) unless its product allows overselling. One client_uuid is one sale, and a refusal is that client_uuid's stored answer: ring a changed sale up with a new client_uuid.
Token needed
pos.sales.write
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
client_uuid (required) | string | |
catalog_version | string | |
lines (required) | list of PosLineIn | |
discount | PosDiscountIn | |
discount.kind (required) | string: "pct", "amount" | |
discount.value (required) | integer | |
discount.reason | string | |
customer | object | |
customer.name | string | |
customer.email | string | |
note | string | |
Answers
| Status | Meaning | data |
| 201 | Created | object |
| 403 | staff_required, staff_not_permitted, discount_over_limit | |
| 409 | insufficient_stock | |
| 422 | item_unavailable, idempotency_key_reused | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pos/orders \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/pos/orders/{order}
One sale with lines, discounts, tax, payments, loyalty and the receipt link
Token needed
pos.sales.read
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
order (required) | path | string | The order id. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 404 | not_found | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/pos/orders/{order} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/pos/orders/{order}/loyalty
attach a card (earned automatically when paid), redeem a reward as a discount before payment, or earn, use a coupon, use a pass visit, check a membership. Engine refusals keep their codes (too_soon, no_reward_ready...).
Token needed
pos.loyalty.write
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
order (required) | path | string | The order id. |
Body (JSON)
| Field | Type | About |
action (required) | string: "attach", "redeem", "earn", "coupon", "pass_visit", "membership_check" | |
card_token | string | |
code | string | |
reward_id | integer | |
discount_cents | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 409 | engine refusal | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pos/orders/{order}/loyalty \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/pos/orders/{order}/payments
Take a payment. card: a Stripe Terminal PaymentIntent on the owner's account (application fee from the platform fee rate, on the pre-tax part; none on tips) handed to reader_id, or returned with client_secret for the SDK (Tap to Pay on iPhone/Android). cash: recorded with change. loyalty_balance: taken from a prepaid Ideal Loyalty balance.
Token needed
pos.payments.write
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
order (required) | path | string | The order id. |
Body (JSON)
| Field | Type | About |
tender (required) | string: "card", "cash", "loyalty_balance" | |
amount_cents (required) | integer | |
tip_cents | integer | |
reader_id | integer | |
cash_tendered_cents | integer | |
card_token | string | |
code | string | |
Answers
| Status | Meaning | data |
| 201 | Created | object |
| 400 | idempotency_key_required | |
| 409 | not_open, stripe_not_connected | |
| 422 | amount_over_due | |
| 502 | stripe_refused, reader_unreachable | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pos/orders/{order}/payments \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/pos/orders/{order}/receipt
The printable receipt: business, location, lines, totals, tenders, footer and the receipt QR (an Ideal Code registry pay_link when Code is connected)
Token needed
pos.sales.read
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
order (required) | path | string | The order id. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/pos/orders/{order}/receipt \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/pos/orders/{order}/receipts
Send the receipt by email or text. The address or number is used once; only its hash is kept.
Token needed
pos.sales.write
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
order (required) | path | string | The order id. |
Body (JSON)
| Field | Type | About |
channel (required) | string: "email", "sms" | |
destination (required) | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 409 | not_paid | |
| 503 | sms_unavailable, email_failed | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pos/orders/{order}/receipts \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/pos/orders/{order}/refunds
Refund by amount or lines, back on the original tenders (card on the owner's Stripe account, then loyalty balance, then cash). Over the person's limit, approval {staff_id, pin} of someone allowed. Ideal.Bio's application fee on a card payment is kept, as with online refunds. restock puts the lines back on hand at the location they were sold from. A full refund undoes the loyalty earn inside its window.
Token needed
pos.refunds.write
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
order (required) | path | string | The order id. |
Body (JSON)
| Field | Type | About |
amount_cents | integer | |
lines | list of object | |
include_tip | boolean | |
restock | boolean | |
reason | string | |
approval | object | |
approval.staff_id | integer | |
approval.pin | string | |
Answers
| Status | Meaning | data |
| 201 | Created | object |
| 400 | idempotency_key_required | |
| 403 | manager_approval_required, approver_not_permitted | |
| 409 | not_paid | |
| 422 | refund_exceeds_payment | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pos/orders/{order}/refunds \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/pos/orders/{order}/void
Void an unpaid sale (sales.void). Releases the stock it held at the location.
Token needed
pos.sales.write
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
order (required) | path | string | The order id. |
Body (JSON)
| Field | Type | About |
reason | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 409 | not_open, has_payments | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pos/orders/{order}/void \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/pos/pair
Swap the one-time 8-character pairing code (made by the owner under Point of sale, 10 minutes, single use) for the register's bearer token, returned once.
No sign-in
Body (JSON)
| Field | Type | About |
code (required) | string | |
Answers
| Status | Meaning | data |
| 201 | Paired | object |
| 422 | pairing_code_invalid | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pos/pair \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/pos/payments/{payment}
A payment, brought up to date from Stripe while it waits for the card
Token needed
pos.sales.read
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
payment (required) | path | string | The payment id. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/pos/payments/{payment} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/pos/payments/{payment}/cancel
Cancel a card payment still waiting for the card (and the reader's action)
Token needed
pos.payments.write
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
payment (required) | path | string | The payment id. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 409 | not_pending | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pos/payments/{payment}/cancel \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/pos/payments/{payment}/simulate
Stub mode only (no Stripe keys): stand in for a tap, or a decline
Token needed
pos.payments.write
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
payment (required) | path | string | The payment id. |
Body (JSON)
| Field | Type | About |
decline | boolean | |
tip_cents | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 409 | not_stub | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pos/payments/{payment}/simulate \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/pos/session
This register, its location, the people who can switch in, card readers, live or stub payments, the counter-stand QR
Token needed
pos.catalog.read
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/pos/session \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/pos/staff/session
Switch a person in with their PIN. Five wrong PINs lock that person for 15 minutes.
Token needed
pos.sales.write
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
Body (JSON)
| Field | Type | About |
staff_id (required) | integer | |
pin (required) | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 422 | pin_wrong | |
| 423 | pin_locked | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pos/staff/session \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/pos/terminal/connection-token
A Stripe Terminal connection token on the owner's connected account, scoped to this location's Terminal Location (made on first use from the location's address)
Token needed
pos.payments.write
Parameters
| Name | In | Type | About |
X-Pos-Location | header | string | The location id. Required unless the token is a paired register (then it must match, or is left out). |
X-Pos-Staff-Session | header | string | From POST /pos/staff/session. A paired register needs one for anything a person does. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 409 | stripe_not_connected | |
| 422 | address_required | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/pos/terminal/connection-token \
-H "Authorization: Bearer $TOKEN"
Posting
The posting suite: one post to many networks, drafts, schedule, queue, approvals and reports. Team workspaces through ?workspace=, within the caller's role.
GET/api/v1/posting/approvals
Posts waiting for approval, sent back, or approved
Token needed
social.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
status | query | string: "pending", "changes", "approved" | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of SuitePost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/posting/approvals \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/posting/calendar
Scheduled and sent posts between two dates
Token needed
social.read
Parameters
| Name | In | Type | About |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
from | query | string (date) | |
to | query | string (date) | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/posting/calendar \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/posting/library
The media library
Token needed
social.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
type | query | string: "image", "video", "gif" | |
q | query | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/posting/library \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/posting/networks
Networks and their state (ready, not_connected, not_live, expired). Never tokens; connect_url starts a browser sign-in
Token needed
social.read
Parameters
| Name | In | Type | About |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of NetworkState |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/posting/networks \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/posting/posts
Posts in the posting suite
Token needed
social.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
status | query | string | |
source | query | string: "posting_suite", "ideal_bio_network" | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of SuitePost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/posting/posts \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/posting/posts
Create a post for one or more networks: draft, publish, schedule or queue
Token needed
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key never posts or sends twice. Without a key, the same content from the same caller within a few minutes is also treated as a retry. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
text | string | |
networks (required) | list of string | Network keys from GET /posting/networks, e.g. linkedin, bluesky, ideal_bio. |
media | list of object | |
overrides | object | Per network: first_comment, extra_hashtags, strip_hashtags, preview_*; reddit.title and subreddit; tiktok.privacy_level (required for TikTok) and its other choices. |
visibility | string: "public", "unlisted" | |
label | string | |
action | string: "draft", "publish", "schedule", "queue" | draft needs posts.draft (or the publishing permission); the others need posts.write for ideal_bio and social.write for other networks, and a role that may publish. |
scheduled_for | string (date-time) | |
workspace | integer | |
Answers
| Status | Meaning | data |
| 201 | Created | SuitePost |
| 200 | A retry: the post made the first time | SuitePost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 402 | limit_reached: the Free plan's monthly limit (posts, or live minutes) is used up. | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/posting/posts \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/posting/posts/preview
How a post counts, folds and fares against each network's rules and connection, without saving
Token needed
Body (JSON)
| Field | Type | About |
text | string | |
networks (required) | list of string | Network keys from GET /posting/networks, e.g. linkedin, bluesky, ideal_bio. |
media | list of object | |
overrides | object | Per network: first_comment, extra_hashtags, strip_hashtags, preview_*; reddit.title and subreddit; tiktok.privacy_level (required for TikTok) and its other choices. |
visibility | string: "public", "unlisted" | |
label | string | |
action | string: "draft", "publish", "schedule", "queue" | draft needs posts.draft (or the publishing permission); the others need posts.write for ideal_bio and social.write for other networks, and a role that may publish. |
scheduled_for | string (date-time) | |
workspace | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/posting/posts/preview \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/posting/posts/{id}
One post with its activity (who wrote, approved and sent it, and through which app)
Token needed
Parameters
| Name | In | Type | About |
id (required) | path | string | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Answers
| Status | Meaning | data |
| 200 | OK | SuitePost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/posting/posts/{id} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/posting/posts/{id}
Change a draft or scheduled post
Token needed
Parameters
| Name | In | Type | About |
id (required) | path | string | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Body (JSON)
| Field | Type | About |
text | string | |
media | list of object | |
overrides | object | |
visibility | string | |
label | string | |
Answers
| Status | Meaning | data |
| 200 | OK | SuitePost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/posting/posts/{id} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/posting/posts/{id}
Delete a post
Token needed
Parameters
| Name | In | Type | About |
id (required) | path | string | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Answers
| Status | Meaning | data |
| 204 | Done. No content. | |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/posting/posts/{id} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/posting/posts/{id}/publish
Send a draft now
Token needed
Parameters
| Name | In | Type | About |
id (required) | path | string | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Idempotency-Key | header | string | Retry safely: the same key never posts or sends twice. Without a key, the same content from the same caller within a few minutes is also treated as a retry. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 200 | OK | SuitePost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/posting/posts/{id}/publish \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/posting/posts/{id}/reschedule
Move a draft or scheduled post to a new time
Token needed
Parameters
| Name | In | Type | About |
id (required) | path | string | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Body (JSON)
| Field | Type | About |
scheduled_for (required) | string (date-time) | |
Answers
| Status | Meaning | data |
| 200 | OK | SuitePost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/posting/posts/{id}/reschedule \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/posting/posts/{id}/review
Approve (needs the publishing permission for its networks) or send back with a note
Token needed
Parameters
| Name | In | Type | About |
id (required) | path | string | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Body (JSON)
| Field | Type | About |
decision (required) | string: "approve", "changes" | |
note | string | |
Answers
| Status | Meaning | data |
| 200 | OK | SuitePost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/posting/posts/{id}/review \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/posting/posts/{id}/submit
Send a draft for approval (posts.draft is enough)
Token needed
Parameters
| Name | In | Type | About |
id (required) | path | string | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Body (JSON)
| Field | Type | About |
after_approval | string: "publish", "schedule", "queue", "hold" | |
Answers
| Status | Meaning | data |
| 200 | OK | SuitePost |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/posting/posts/{id}/submit \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/posting/queue
Queue times, the next free one and what is coming
Token needed
social.read
Parameters
| Name | In | Type | About |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/posting/queue \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/posting/queue/slots
Add queue times (Social plan)
Token needed
social.write
Parameters
| Name | In | Type | About |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Body (JSON)
| Field | Type | About |
weekdays (required) | list of integer | |
time (required) | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/posting/queue/slots \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/posting/queue/slots
Remove a queue time
Token needed
social.write
Parameters
| Name | In | Type | About |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Body (JSON)
| Field | Type | About |
weekday (required) | integer | |
time (required) | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/posting/queue/slots \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/posting/reports
Results for a date range: sent, failed, likes, comments, shares, best posts, campaigns
Token needed
social.read
Parameters
| Name | In | Type | About |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
from | query | string (date) | |
to | query | string (date) | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/posting/reports \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/posting/uploads
Upload a photo or video for a post (multipart field file). Same rules as the composer: JPEG, PNG, WebP, GIF up to 10 MB; MP4, MOV, WebM up to 200 MB and 5 minutes; never SVG. The server's own PHP upload limit can be lower than these and then applies. The response carries width, height (as shown, rotation applied), orientation, duration (seconds, videos) and dims_source: "server" when measured here, "client" when the server has no ffprobe/ffmpeg and used client_width, client_height and client_duration from the request
Token needed
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Retry safely: the same key never posts or sends twice. Without a key, the same content from the same caller within a few minutes is also treated as a retry. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 201 | Uploaded: data.upload_id | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/posting/uploads \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/posting/uploads/{id}
An upload's state (videos are transcoded after upload)
Token needed
Parameters
| Name | In | Type | About |
id (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/posting/uploads/{id} \
-H "Authorization: Bearer $TOKEN"
Inbox
Comments and messages from the owner's other networks, and saved replies.
GET/api/v1/posting/inbox
Comments, mentions, messages and reviews from the owner's networks
Token needed
inbox.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
status | query | string: "open", "done", "all" | |
network | query | string | |
kind | query | string | |
q | query | string | |
Answers
| Status | Meaning | data |
| 200 | One page, newest first | list of InboxMessage |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/posting/inbox \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/posting/inbox/{id}
One inbox message
Token needed
inbox.read
Parameters
| Name | In | Type | About |
id (required) | path | string | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Answers
| Status | Meaning | data |
| 200 | OK | InboxMessage |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/posting/inbox/{id} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/posting/inbox/{id}
Mark an inbox message open or done
Token needed
inbox.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Body (JSON)
| Field | Type | About |
status (required) | string: "open", "done" | |
Answers
| Status | Meaning | data |
| 200 | OK | InboxMessage |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/posting/inbox/{id} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/posting/inbox/{id}/reply
Reply as the owner through the network (Social plan). If the network cannot send replies yet: 409 not_sent, nothing sent
Token needed
inbox.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Idempotency-Key | header | string | Retry safely: the same key never posts or sends twice. Without a key, the same content from the same caller within a few minutes is also treated as a retry. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
text (required) | string | |
Answers
| Status | Meaning | data |
| 201 | Sent | InboxMessage |
| 200 | A retry: not sent again | InboxMessage |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 409 | not_connected, not_live (the network's posting is not switched on, so nothing is posted), awaiting_approval, no_queue_slots, idempotency_key_reused, network_off. | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/posting/inbox/{id}/reply \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/posting/saved-replies
Saved replies
Token needed
inbox.read
Parameters
| Name | In | Type | About |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/posting/saved-replies \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/posting/saved-replies
Add a saved reply
Token needed
inbox.write
Parameters
| Name | In | Type | About |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Body (JSON)
| Field | Type | About |
title (required) | string | |
body (required) | string | |
Answers
| Status | Meaning | data |
| 201 | Created | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 422 | validation_failed; platform_rules (error.details.issues per network); spam_check; not_allowed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/posting/saved-replies \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/posting/saved-replies/{id}
Remove a saved reply
Token needed
inbox.write
Parameters
| Name | In | Type | About |
id (required) | path | string | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Answers
| Status | Meaning | data |
| 204 | Done. No content. | |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 404 | not_found: no such thing on this account, or not visible to the caller (blocks and audiences answer as not found). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/posting/saved-replies/{id} \
-H "Authorization: Bearer $TOKEN"
Listening
Listening topics and mentions (read only).
GET/api/v1/posting/listening/mentions
Mentions found by listening
Token needed
listening.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
topic_id | query | integer | |
status | query | string | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/posting/listening/mentions \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/posting/listening/topics
Listening topics with mention counts
Token needed
listening.read
Parameters
| Name | In | Type | About |
workspace | query | integer | A team id the caller works on. The call then acts on that team's accounts and gets no more than the caller's role allows. Default: the caller's own account. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 403 | missing_scope (error.scope names the permission); plan_required (Social plan); role_forbidden (the caller's team role); not_a_member (workspace). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/posting/listening/topics \
-H "Authorization: Bearer $TOKEN"
Profile
Your profile details, photo, cover, handle and QR code.
GET/api/v1/profile
Your profile details
Token needed
profile.read
Answers
| Status | Meaning | data |
| 200 | OK | Profile |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/profile
Change profile details
Send only what changes; null clears a field. Handle and email are not changed here.
Token needed
profile.write
Body (JSON)
| Field | Type | About |
first_name | string or null | |
last_name | string or null | |
headline | string or null | |
bio | string or null | |
company | string or null | |
job_title | string or null | |
city | string or null | |
state | string or null | |
country | string or null | |
socials | object | facebook, twitter, instagram, linkedin, youtube, tiktok, pinterest, snapchat, whatsapp, telegram, discord, github, website: full addresses. |
Answers
| Status | Meaning | data |
| 200 | OK | Profile |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/profile \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/profile/avatar
Upload a profile photo
jpg or png, up to 2 MB. Replaces the earlier photo.
Token needed
profile.write
Answers
| Status | Meaning | data |
| 200 | OK | UploadedImage |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/avatar \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/profile/cover
Upload a cover image
jpg or png, up to 5 MB. Replaces the earlier cover.
Token needed
profile.write
Answers
| Status | Meaning | data |
| 200 | OK | UploadedImage |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/cover \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/profile/handle
Your handle
Token needed
profile.read
Answers
| Status | Meaning | data |
| 200 | OK | Handle |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/handle \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/profile/handle/availability
Check whether a handle is free
Token needed
profile.read
Parameters
| Name | In | Type | About |
handle (required) | query | string | |
Answers
| Status | Meaning | data |
| 200 | OK | HandleAvailability |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/handle/availability \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/profile/qr
QR code for your profile address (SVG markup in JSON)
Token needed
profile.read
Parameters
| Name | In | Type | About |
size | query | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | QrCode |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/qr \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/profile/qr.svg
QR code for your profile address as an SVG file
Token needed
profile.read
Parameters
| Name | In | Type | About |
size | query | integer | |
Answers
| Status | Meaning | data |
| 200 | SVG image | |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/qr.svg \
-H "Authorization: Bearer $TOKEN"
What a visitor saves to their phone, and who may see each field.
GET/api/v1/profile/contact-card
Your contact card, private fields included
Token needed
contact_card.read
Answers
| Status | Meaning | data |
| 200 | OK | ContactCard |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/contact-card \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/profile/contact-card
Change contact card values and visibility
Token needed
contact_card.write
Body (JSON)
| Field | Type | About |
fields (required) | object | |
Answers
| Status | Meaning | data |
| 200 | OK | ContactCard |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/profile/contact-card \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
Design
Template, dark or light, palette, colours, fonts, background and custom CSS.
GET/api/v1/profile/design
Your design
Token needed
design.read
Answers
| Status | Meaning | data |
| 200 | OK; meta.style_options lists accepted style values | Design |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/design \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/profile/design
Change template, mode, palette, industry or style
Paid palettes need a paid plan (402 plan_required). Style values are checked against meta.style_options; an uploaded background is set through POST /design/background.
Token needed
design.write
Body (JSON)
| Field | Type | About |
template | string | |
mode | string: "dark", "light" | |
palette | string or null | |
industry | string or null | |
style | object | Any of layout, preset, mode, structure, header, font_display, font_body, radius, colors, background. |
Answers
| Status | Meaning | data |
| 200 | OK | Design |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 402 | plan_required: this needs a paid plan; error.details.plan names it. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/profile/design \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/profile/design/background
Upload a background image or video
jpg, png or webp up to 8 MB; mp4 or webm up to 40 MB. Replaces the earlier upload.
Token needed
design.write
Answers
| Status | Meaning | data |
| 200 | OK | Design |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/design/background \
-H "Authorization: Bearer $TOKEN"
DELETE/api/v1/profile/design/background
Remove the background
Token needed
design.write
Answers
| Status | Meaning | data |
| 200 | OK | Design |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/profile/design/background \
-H "Authorization: Bearer $TOKEN"
PUT/api/v1/profile/design/custom-css
Replace your custom CSS
Paid plans. Script, imports and outside addresses are removed. An empty string or null clears it.
Token needed
design.write
Body (JSON)
| Field | Type | About |
custom_css (required) | string or null | |
Answers
| Status | Meaning | data |
| 200 | OK | Design |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 402 | plan_required: this needs a paid plan; error.details.plan names it. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PUT https://ideal.bio/api/v1/profile/design/custom-css \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/profile/design/reset
Colours, fonts and corners back to the starting style
Token needed
design.write
Answers
| Status | Meaning | data |
| 200 | OK | Design |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/design/reset \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/profile/palettes
Colour palettes
Token needed
design.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Palette |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/palettes \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/profile/templates
Templates you can switch to
Token needed
design.read
Parameters
| Name | In | Type | About |
q | query | string | |
vibe | query | string | |
industry | query | string | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Template |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/templates \
-H "Authorization: Bearer $TOKEN"
Domains
Your own web address for the profile. Paid plans.
GET/api/v1/profile/domains
Your connected domains
Token needed
domain.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Domain |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/domains \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/profile/domains
Connect a domain
Token needed
domain.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first result is returned again. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
hostname (required) | string | |
scope | string: "profile", "shop", "classes", "wedding", "events" | |
primary | boolean | |
Answers
| Status | Meaning | data |
| 201 | Created; publish dns_records, then verify | Domain |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 402 | plan_required: this needs a paid plan; error.details.plan names it. | |
| 409 | conflict: the item already exists elsewhere. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/domains \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/profile/domains/{id}
One domain
Token needed
domain.read
Parameters
| Name | In | Type | About |
id (required) | path | string | The domain id. |
Answers
| Status | Meaning | data |
| 200 | OK | Domain |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/domains/{id} \
-H "Authorization: Bearer $TOKEN"
DELETE/api/v1/profile/domains/{id}
Disconnect a domain
Token needed
domain.write
Parameters
| Name | In | Type | About |
id (required) | path | string | The domain id. |
Answers
| Status | Meaning | data |
| 204 | Removed. No body. | |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/profile/domains/{id} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/profile/domains/{id}/primary
Make a domain the primary address
Token needed
domain.write
Parameters
| Name | In | Type | About |
id (required) | path | string | The domain id. |
Answers
| Status | Meaning | data |
| 200 | OK | Domain |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/domains/{id}/primary \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/profile/domains/{id}/verify
Check the DNS records now
Token needed
domain.write
Parameters
| Name | In | Type | About |
id (required) | path | string | The domain id. |
Answers
| Status | Meaning | data |
| 200 | The domain; meta.check says what was found | Domain |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/domains/{id}/verify \
-H "Authorization: Bearer $TOKEN"
Profile settings
Profile mode (what a tap does) and profile extras.
GET/api/v1/profile/mode
Your profile mode
Token needed
profile.read
Answers
| Status | Meaning | data |
| 200 | OK | ProfileMode |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/mode \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/profile/mode
Change your profile mode
A mode whose set-up is missing runs as public until complete; the response field active says which mode is in force.
Token needed
profile.write
Body (JSON)
| Field | Type | About |
mode | string | |
link_url | string or null | |
event_id | string or null | |
stealth | object | |
lead | object | |
rota | list of object | |
Answers
| Status | Meaning | data |
| 200 | OK | ProfileMode |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/profile/mode \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
Links
Your profile links, their order and their taps.
GET/api/v1/profile/links
List your links
Token needed
links.read
Parameters
| Name | In | Type | About |
status | query | string: "active", "inactive" | |
q | query | string | Text in the title or address. |
sort | query | string: "position", "-position", "clicks", "-clicks", "created_at", "-created_at", "title", "-title" | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Link |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/links \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/profile/links
Add a link
Token needed
links.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first result is returned again. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
title (required) | string | |
url (required) | string (uri) | |
icon | string or null | |
type | string or null | |
status | string: "active", "inactive" | |
animation | string or null: "pop", "wobble", "swipe", "buzz", "", null | |
Answers
| Status | Meaning | data |
| 201 | Created | Link |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/links \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/profile/links/reorder
Put your links in a new order
Every id must be one of your links. Links you leave out follow the ones given, in their old order.
Token needed
links.write
Body (JSON)
| Field | Type | About |
order (required) | list of string | Ids, first to last. |
Answers
| Status | Meaning | data |
| 200 | All links in their new order | list of Link |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/links/reorder \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/profile/links/{id}
One link
Token needed
links.read
Parameters
| Name | In | Type | About |
id (required) | path | string | The link id. |
Answers
| Status | Meaning | data |
| 200 | OK | Link |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/links/{id} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/profile/links/{id}
Change a link
Token needed
links.write
Parameters
| Name | In | Type | About |
id (required) | path | string | The link id. |
Body (JSON)
| Field | Type | About |
title | string | |
url | string (uri) | |
icon | string or null | |
type | string or null | |
status | string: "active", "inactive" | |
animation | string or null: "pop", "wobble", "swipe", "buzz", "", null | |
Answers
| Status | Meaning | data |
| 200 | OK | Link |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/profile/links/{id} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/profile/links/{id}
Remove a link
Token needed
links.write
Parameters
| Name | In | Type | About |
id (required) | path | string | The link id. |
Answers
| Status | Meaning | data |
| 204 | Removed. No body. | |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/profile/links/{id} \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/profile/links/{id}/analytics
Taps on one link
Token needed
links.read
Parameters
| Name | In | Type | About |
id (required) | path | string | The link id. |
days | query | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | LinkAnalytics |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/links/{id}/analytics \
-H "Authorization: Bearer $TOKEN"
Music and videos shown on the profile.
GET/api/v1/profile/media/{kind}
List tracks or videos
Token needed
profile.read
Parameters
| Name | In | Type | About |
kind (required) | path | string: "tracks", "videos" | |
hidden | query | boolean | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page; meta.storage shows uploads against the allowance | list of MediaItem |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/media/{kind} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/profile/media/{kind}
Add a track or video by its address
Nothing is downloaded; the profile plays it from where it lives.
Token needed
profile.write
Parameters
| Name | In | Type | About |
kind (required) | path | string: "tracks", "videos" | |
Idempotency-Key | header | string | Send the same key to retry safely; the first result is returned again. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
title (required) | string | |
url (required) | string (uri) | |
platform | string | |
cover | string | |
thumbnail | string | |
hidden | boolean | |
Answers
| Status | Meaning | data |
| 201 | Created | MediaItem |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/media/{kind} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/profile/media/{kind}/reorder
Put tracks or videos in a new order
Token needed
profile.write
Parameters
| Name | In | Type | About |
kind (required) | path | string: "tracks", "videos" | |
Body (JSON)
| Field | Type | About |
order (required) | list of string | Ids, first to last. |
Answers
| Status | Meaning | data |
| 200 | All items in order | list of MediaItem |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/media/{kind}/reorder \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/profile/media/{kind}/upload
Upload a track or video file
Audio up to 30 MB (mp3, m4a, wav, ogg, webm); video up to 100 MB (mp4, mov, webm, m4v). 403 limit_reached when it would pass the storage allowance.
Token needed
profile.write
Parameters
| Name | In | Type | About |
kind (required) | path | string: "tracks", "videos" | |
Idempotency-Key | header | string | Send the same key to retry safely; the first result is returned again. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 201 | Created | MediaItem |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/media/{kind}/upload \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/profile/media/{kind}/{id}
One track or video
Token needed
profile.read
Parameters
| Name | In | Type | About |
kind (required) | path | string: "tracks", "videos" | |
id (required) | path | string | The track or video id. |
Answers
| Status | Meaning | data |
| 200 | OK | MediaItem |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/media/{kind}/{id} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/profile/media/{kind}/{id}
Rename, re-point or hide a track or video
Token needed
profile.write
Parameters
| Name | In | Type | About |
kind (required) | path | string: "tracks", "videos" | |
id (required) | path | string | The track or video id. |
Body (JSON)
| Field | Type | About |
title | string | |
url | string (uri) | |
platform | string or null | |
cover | string or null | |
thumbnail | string or null | |
hidden | boolean | |
Answers
| Status | Meaning | data |
| 200 | OK | MediaItem |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/profile/media/{kind}/{id} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/profile/media/{kind}/{id}
Remove a track or video
Token needed
profile.write
Parameters
| Name | In | Type | About |
kind (required) | path | string: "tracks", "videos" | |
id (required) | path | string | The track or video id. |
Answers
| Status | Meaning | data |
| 204 | Removed. No body. | |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/profile/media/{kind}/{id} \
-H "Authorization: Bearer $TOKEN"
Share offline
The offline contact code and people met in person.
GET/api/v1/profile/offline-card
Your offline contact code
Token needed
offline.read
Answers
| Status | Meaning | data |
| 200 | OK | OfflineCard |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/offline-card \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/profile/offline-card/qr.svg
The offline contact code as an SVG file
Token needed
offline.read
Parameters
| Name | In | Type | About |
size | query | integer | |
Answers
| Status | Meaning | data |
| 200 | SVG image | |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/offline-card/qr.svg \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/profile/offline-card/vcard
The vCard the offline code carries
Token needed
offline.read
Answers
| Status | Meaning | data |
| 200 | vCard 3.0 | |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/offline-card/vcard \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/profile/offline-leads
Add people you met in person to your contacts
Up to 200 at once. A contact with the same email is updated; consent is never switched on for an existing contact.
Token needed
offline.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first result is returned again. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
leads (required) | list of object | |
Answers
| Status | Meaning | data |
| 200 | OK | LeadSync |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/offline-leads \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
Sections
Services, gallery, hours, team, questions and the other page sections.
GET/api/v1/profile/section-types
Kinds of section you can add
Token needed
profile.read
Parameters
| Name | In | Type | About |
available | query | boolean | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of SectionType |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/section-types \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/profile/sections
List your sections in order
Token needed
profile.read
Parameters
| Name | In | Type | About |
type | query | string | |
visible | query | boolean | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Section |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/sections \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/profile/sections
Add a section
Token needed
profile.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first result is returned again. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
type (required) | string | |
payload | object | |
visible | boolean | |
Answers
| Status | Meaning | data |
| 201 | Created | Section |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/sections \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/profile/sections/reorder
Put your sections in a new order
Token needed
profile.write
Body (JSON)
| Field | Type | About |
order (required) | list of string | Ids, first to last. |
Answers
| Status | Meaning | data |
| 200 | All sections in order | list of Section |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/profile/sections/reorder \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/profile/sections/{id}
One section
Token needed
profile.read
Parameters
| Name | In | Type | About |
id (required) | path | string | The section id. |
Answers
| Status | Meaning | data |
| 200 | OK | Section |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/profile/sections/{id} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/profile/sections/{id}
Change a section
payload is replaced whole. overrides merge; a null value removes that override. synced, synced_at and sync_error are refused.
Token needed
profile.write
Parameters
| Name | In | Type | About |
id (required) | path | string | The section id. |
Body (JSON)
| Field | Type | About |
payload | object | |
visible | boolean | |
overrides | object | |
Answers
| Status | Meaning | data |
| 200 | OK | Section |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/profile/sections/{id} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/profile/sections/{id}
Remove a section
Token needed
profile.write
Parameters
| Name | In | Type | About |
id (required) | path | string | The section id. |
Answers
| Status | Meaning | data |
| 204 | Removed. No body. | |
| 401 | Not signed in: no token, or the token is not valid. | |
| 403 | missing_scope: the token lacks the permission named in error.scope; or limit_reached. | |
| 404 | not_found: no such item on this account (items of other accounts are never visible). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/profile/sections/{id} \
-H "Authorization: Bearer $TOKEN"
Public
Public Ideal.Bio data. No sign-in. The same rules as the public pages: suspended accounts, people who left a team and private modes are not shown.
GET/api/v1/public/handles/{handle}
Is a handle free
Whether ideal.bio/{handle} can be claimed, with a stable reason and a plain sentence.
No sign-in
Parameters
| Name | In | Type | About |
handle (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | The answer | HandleCheck |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/public/handles/{handle}
GET/api/v1/public/help
Search help articles
No sign-in
Parameters
| Name | In | Type | About |
q | query | string | Words to look for; empty lists every article. |
limit | query | integer | How many. |
Answers
| Status | Meaning | data |
| 200 | Articles | list of HelpArticle |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/public/help
GET/api/v1/public/pricing
Prices
Plan and Ideal Loyalty prices in cents, from the settings the pricing page uses, and the platform fee on sales.
No sign-in
Answers
| Status | Meaning | data |
| 200 | Prices | object |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/public/pricing
GET/api/v1/public/profiles/{username}
A public profile
The profile at ideal.bio/{username} as data.
No sign-in
Parameters
| Name | In | Type | About |
username (required) | path | string | The handle, as in ideal.bio/handle. |
Answers
| Status | Meaning | data |
| 200 | The profile | PublicProfile |
| 404 | Not found. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/public/profiles/{username}
GET/api/v1/public/profiles/{username}/accounts
Official accounts (Lifeline)
The social accounts a person says are theirs, and any that were lost, moved or impersonate them.
No sign-in
Parameters
| Name | In | Type | About |
username (required) | path | string | The handle, as in ideal.bio/handle. |
Answers
| Status | Meaning | data |
| 200 | The accounts | OfficialAccounts |
| 404 | Not found. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/public/profiles/{username}/accounts
GET/api/v1/public/profiles/{username}/feed
A profile's feed
Posts from every network the person connected, newest first. 404 when they do not show a feed.
No sign-in
Parameters
| Name | In | Type | About |
username (required) | path | string | The handle, as in ideal.bio/handle. |
page | query | integer | Page, from 1. |
network | query | string | One network only. |
type | query | string | One kind of post only. |
Answers
| Status | Meaning | data |
| 200 | The feed | object |
| 404 | Not found. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/public/profiles/{username}/feed
GET/api/v1/public/search
Search the directory
The search behind ideal.bio/discover: people, businesses, services, products, events, classes, listings and restaurants.
No sign-in
Parameters
| Name | In | Type | About |
q | query | string | Words to look for. |
kind | query | string: "all", "people", "businesses", "services", "products", "events", "classes", "listings", "restaurants" | What to search. |
category | query | string | A vertical or industry key. |
near | query | string | A place name, matched as text. |
price | query | string: "free", "paid" | Free or paid only. |
when | query | string: "today", "week", "month" | For events and classes. |
sort | query | string: "relevance", "newest", "price_low", "price_high" | Order. |
page | query | integer | Page, from 1. |
Answers
| Status | Meaning | data |
| 200 | Matches | SearchResults |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/public/search
GET/api/v1/public/templates
Profile designs
No sign-in
Parameters
| Name | In | Type | About |
group | query | string: "services", "health", "food", "creative", "community", "simple", "loud" | One group only. |
Answers
| Status | Meaning | data |
| 200 | The designs | list of object |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/public/templates
Restaurant
Restaurant reservations.
GET/api/v1/restaurant/reservations
Reservations by time
Token needed
restaurant.read
Parameters
| Name | In | Type | About |
date | query | string (date) | |
from | query | string (date) | |
to | query | string (date) | |
status | query | string: "confirmed", "seated", "completed", "no-show", "canceled" | |
q | query | string | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Reservation |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/restaurant/reservations \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/restaurant/reservations/{reservation}
One reservation
Token needed
restaurant.read
Parameters
| Name | In | Type | About |
reservation (required) | path | string | The id. |
Answers
| Status | Meaning | data |
| 200 | OK | Reservation |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/restaurant/reservations/{reservation} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/restaurant/reservations/{reservation}
Move a reservation along (allowed_next)
Token needed
restaurant.write
Parameters
| Name | In | Type | About |
reservation (required) | path | string | The id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
status (required) | string: "confirmed", "seated", "completed", "no-show", "canceled" | |
Answers
| Status | Meaning | data |
| 200 | OK | Reservation |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 409 | invalid_transition (error.details.allowed); deposit_paid: cancel on the screen, it refunds the deposit. | |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/restaurant/reservations/{reservation} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
Reviews
Reviews people left you: reply, approve, show, hide, feature, mark spam. Reviews cannot be written or changed through the API.
GET/api/v1/reviews
List reviews
Token needed
reviews.read
Parameters
| Name | In | Type | About |
status | query | string: "pending", "approved", "spam" | Only this status. |
visible | query | boolean | Shown or hidden. |
featured | query | boolean | Featured or not. |
replied | query | boolean | With or without your reply. |
rating | query | integer | Stars. |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page; meta.summary has the average and counts | list of Review |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/reviews \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/reviews/request-link
The link for leaving you a review
Token needed
reviews.read
Answers
| Status | Meaning | data |
| 200 | Nothing is sent | object |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/reviews/request-link \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/reviews/{review}
One review
Token needed
reviews.read
Parameters
| Name | In | Type | About |
review (required) | path | string | The review id. |
Answers
| Status | Meaning | data |
| 200 | OK | Review |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/reviews/{review} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/reviews/{review}/reply
Reply to a review (public)
null or an empty string removes the reply.
Token needed
reviews.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
review (required) | path | string | The review id. |
Body (JSON)
| Field | Type | About |
reply (required) | string or null | |
Answers
| Status | Meaning | data |
| 200 | OK | Review |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/reviews/{review}/reply \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/reviews/{review}/{action}
Approve, spam, show, hide, feature or unfeature
approve: approved and shown. spam: marked spam and hidden. hide/show: whether it is on your profile.
Token needed
reviews.write
Parameters
| Name | In | Type | About |
action (required) | path | string: "approve", "spam", "show", "hide", "feature", "unfeature" | |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
review (required) | path | string | The review id. |
Answers
| Status | Meaning | data |
| 200 | OK | Review |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | not_approved: only an approved review can be shown. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/reviews/{review}/{action} \
-H "Authorization: Bearer $TOKEN"
Segments
Saved segments: named rule sets (tags, sources, consent, place, purchases, bookings, memberships, event check-ins, email activity) worked out live each time. Counts only. Broadcasts, sequences and text campaigns can be sent to a segment.
GET/api/v1/segments
List saved segments with live counts
Token needed
segments.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of AudienceSegment |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/segments \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/segments
Save a segment
Token needed
segments.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
name | string | |
description | string or null | |
rules | AudienceSegmentRules | |
rules.tags_all | list of string | |
rules.tags_any | list of string | |
rules.verticals | list of string | |
rules.sources | list of string | |
rules.email_consent | boolean | |
rules.sms_consent | boolean | |
rules.city | string | |
rules.state | string | |
rules.purchased | boolean | |
rules.booked | boolean | |
rules.member | boolean | |
rules.member_tier_id | integer | |
rules.attended_event | boolean | |
rules.opened_days | integer | |
rules.clicked_days | integer | |
rules.joined_days | integer | |
rules.since | string (date) | |
Answers
| Status | Meaning | data |
| 201 | Saved | AudienceSegment |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/segments \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/segments/{segment}
One segment, counted now
Token needed
segments.read
Parameters
| Name | In | Type | About |
segment (required) | path | string | The segment id. |
Answers
| Status | Meaning | data |
| 200 | OK | AudienceSegment |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/segments/{segment} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/segments/{segment}
Change a segment
Token needed
segments.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
segment (required) | path | string | The segment id. |
Body (JSON)
| Field | Type | About |
name | string | |
description | string or null | |
rules | AudienceSegmentRules | |
rules.tags_all | list of string | |
rules.tags_any | list of string | |
rules.verticals | list of string | |
rules.sources | list of string | |
rules.email_consent | boolean | |
rules.sms_consent | boolean | |
rules.city | string | |
rules.state | string | |
rules.purchased | boolean | |
rules.booked | boolean | |
rules.member | boolean | |
rules.member_tier_id | integer | |
rules.attended_event | boolean | |
rules.opened_days | integer | |
rules.clicked_days | integer | |
rules.joined_days | integer | |
rules.since | string (date) | |
Answers
| Status | Meaning | data |
| 200 | OK | AudienceSegment |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/segments/{segment} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/segments/{segment}
Remove a segment (contacts are not changed)
Token needed
segments.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
segment (required) | path | string | The segment id. |
Answers
| Status | Meaning | data |
| 200 | Done | object |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/segments/{segment} \
-H "Authorization: Bearer $TOKEN"
Sequences
Email automations: a trigger, an optional segment and timed emails. Each email is sent like a broadcast, only to contacts who agreed to email, with an unsubscribe link. People leave a sequence when they unsubscribe, bounce or are erased, and when it is paused. Paid plans (Pro and above): writes on Free return 403 plan_required. Opens are counted from a tracking picture, so some are not seen.
GET/api/v1/sequences
List email sequences
Token needed
sequences.read
Parameters
| Name | In | Type | About |
status | query | string: "draft", "active", "paused" | Only this status. |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Sequence |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/sequences \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/sequences
Write an email sequence (saved as a draft)
Token needed
sequences.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
name | string | |
trigger | string: "joined", "subscribed_form", "tag_added", "first_purchase", "booking_completed", "joined_tier" | |
trigger_value | string or null | The tag for tag_added; the membership tier id for joined_tier (empty: any tier). |
segment_id | string or null | |
steps | list of SequenceStepWrite | Only when creating. |
Answers
| Status | Meaning | data |
| 201 | Saved | Sequence |
| 403 | missing_scope, or plan_required: this needs a paid plan (error.details.plan). | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/sequences \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/sequences/{sequence}
One sequence with its emails
Token needed
sequences.read
Parameters
| Name | In | Type | About |
sequence (required) | path | string | The sequence id. |
Answers
| Status | Meaning | data |
| 200 | OK | Sequence |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/sequences/{sequence} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/sequences/{sequence}
Change a sequence's name, trigger or segment
Token needed
sequences.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
sequence (required) | path | string | The sequence id. |
Body (JSON)
| Field | Type | About |
name | string | |
trigger | string: "joined", "subscribed_form", "tag_added", "first_purchase", "booking_completed", "joined_tier" | |
trigger_value | string or null | The tag for tag_added; the membership tier id for joined_tier (empty: any tier). |
segment_id | string or null | |
steps | list of SequenceStepWrite | Only when creating. |
Answers
| Status | Meaning | data |
| 200 | OK | Sequence |
| 403 | missing_scope, or plan_required: this needs a paid plan (error.details.plan). | |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/sequences/{sequence} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/sequences/{sequence}
Delete a sequence; nobody in it gets its emails
Token needed
sequences.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
sequence (required) | path | string | The sequence id. |
Answers
| Status | Meaning | data |
| 200 | Done | object |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/sequences/{sequence} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/sequences/{sequence}/activate
Switch a sequence on
High impact: from now on every opted-in contact who triggers it is emailed its emails, without asking again. Needs sequences.write and a paid plan.
Token needed
sequences.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
sequence (required) | path | string | The sequence id. |
Answers
| Status | Meaning | data |
| 200 | OK | Sequence |
| 403 | missing_scope, or plan_required: this needs a paid plan (error.details.plan). | |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/sequences/{sequence}/activate \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/sequences/{sequence}/pause
Pause a sequence; everyone in it is taken out
Token needed
sequences.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
sequence (required) | path | string | The sequence id. |
Answers
| Status | Meaning | data |
| 200 | OK | Sequence |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/sequences/{sequence}/pause \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/sequences/{sequence}/results
What a sequence did
Token needed
sequences.read
Parameters
| Name | In | Type | About |
sequence (required) | path | string | The sequence id. |
Answers
| Status | Meaning | data |
| 200 | OK | SequenceResults |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/sequences/{sequence}/results \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/sequences/{sequence}/steps
Add an email
Token needed
sequences.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
sequence (required) | path | string | The sequence id. |
Body (JSON)
| Field | Type | About |
subject | string | |
body_markdown | string | |
wait | object | |
wait.amount | integer | |
wait.unit | string: "hours", "days" | |
Answers
| Status | Meaning | data |
| 201 | Added | Sequence |
| 403 | missing_scope, or plan_required: this needs a paid plan (error.details.plan). | |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/sequences/{sequence}/steps \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
PATCH/api/v1/sequences/{sequence}/steps/{step}
Change an email or its wait
Token needed
sequences.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
sequence (required) | path | string | The sequence id. |
step (required) | path | string | The step id. |
Body (JSON)
| Field | Type | About |
subject | string | |
body_markdown | string | |
wait | object | |
wait.amount | integer | |
wait.unit | string: "hours", "days" | |
Answers
| Status | Meaning | data |
| 200 | OK | Sequence |
| 403 | missing_scope, or plan_required: this needs a paid plan (error.details.plan). | |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/sequences/{sequence}/steps/{step} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/sequences/{sequence}/steps/{step}
Remove an email
Token needed
sequences.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
sequence (required) | path | string | The sequence id. |
step (required) | path | string | The step id. |
Answers
| Status | Meaning | data |
| 200 | OK | Sequence |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/sequences/{sequence}/steps/{step} \
-H "Authorization: Bearer $TOKEN"
Shop
Products, orders, fulfilment and refunds.
GET/api/v1/shop/orders
Your orders, newest first
Token needed
shop.read
Parameters
| Name | In | Type | About |
status | query | string: "pending", "paid", "shipped", "completed", "cancelled", "refunded" | |
q | query | string | Buyer name or email, or an order number. |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Order |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/shop/orders \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/shop/orders/{order}
One order with items
Token needed
shop.read
Parameters
| Name | In | Type | About |
order (required) | path | string | The id. |
Answers
| Status | Meaning | data |
| 200 | OK | Order |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/shop/orders/{order} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/shop/orders/{order}
Mark paid, shipped, completed or cancelled; save tracking
Token needed
shop.write
Parameters
| Name | In | Type | About |
order (required) | path | string | The id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
status | string: "paid", "shipped", "completed", "cancelled" | |
tracking_carrier | string or null | |
tracking_number | string or null | |
Answers
| Status | Meaning | data |
| 200 | OK | Order |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 409 | order_refunded. | |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/shop/orders/{order} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/shop/orders/{order}/refund
Refund a paid order through Stripe (needs shop-refunds.write)
Token needed
shop-refunds.write
Parameters
| Name | In | Type | About |
order (required) | path | string | The id. |
Idempotency-Key | header | string | Retry safely: the same key never acts twice. A `reference` in the body does the same. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
amount_cents | integer | |
reason | string: "requested_by_customer", "duplicate", "fraudulent" | |
reference | string | |
Answers
| Status | Meaning | data |
| 200 | OK | Order |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 409 | already_refunded; not_paid; no_payment. | |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 502 | refund_refused: Stripe did not accept it; nothing was refunded. | |
| 503 | payments_unavailable: Stripe is not connected; nothing changed. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/shop/orders/{order}/refund \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/shop/products
Your products
Token needed
shop.read
Parameters
| Name | In | Type | About |
status | query | string: "active", "inactive", "draft" | |
q | query | string | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Product |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/shop/products \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/shop/products
Add a simple product (no variants)
Token needed
shop.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
name (required) | string | |
price_cents (required) | integer | |
description | string | |
stock | integer | |
image_url | string | |
status | string: "active", "inactive", "draft" | |
Answers
| Status | Meaning | data |
| 201 | OK | Product |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/shop/products \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/shop/products/{product}
One product with variants (and, for advanced variants, its options and values)
Token needed
shop.read
Parameters
| Name | In | Type | About |
product (required) | path | string | The id. |
Answers
| Status | Meaning | data |
| 200 | OK | Product |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/shop/products/{product} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/shop/products/{product}
Change name, description, price, stock, image or status
Token needed
shop.write
Parameters
| Name | In | Type | About |
product (required) | path | string | The id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
name | string | |
price_cents | integer | |
description | string or null | |
stock | integer or null | |
image_url | string or null | |
status | string: "active", "inactive", "draft" | |
Answers
| Status | Meaning | data |
| 200 | OK | Product |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/shop/products/{product} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
Text messages
Marketing text campaigns to contacts who ticked a separate text-message box (email consent never counts). Each text starts with the owner's name and ends "Txt STOP to opt out"; STOP and HELP replies are handled; texts go only 8am to 9pm in the recipient's time zone. Until the platform's text provider and US A2P 10DLC registration are approved, campaigns run in test mode and no text is sent. Social plan and above. Message costs are billed by the provider.
GET/api/v1/sms/campaigns
List text campaigns
Token needed
sms.read
Parameters
| Name | In | Type | About |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of SmsCampaign |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/sms/campaigns \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/sms/campaigns
Write a text campaign draft
Token needed
sms.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
name | string or null | |
body | string | Your words only: your name is put in front and "Txt STOP to opt out" after. |
segment_id | string or null | |
timezone | string | For recipients whose own time zone is unknown. |
quiet_start | integer | |
quiet_end | integer | |
Answers
| Status | Meaning | data |
| 201 | Saved | SmsCampaign |
| 403 | missing_scope, or plan_required: this needs a paid plan (error.details.plan). | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/sms/campaigns \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/sms/campaigns/{campaign}
One text campaign
Token needed
sms.read
Parameters
| Name | In | Type | About |
campaign (required) | path | string | The campaign id. |
Answers
| Status | Meaning | data |
| 200 | OK | SmsCampaign |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/sms/campaigns/{campaign} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/sms/campaigns/{campaign}
Change a draft
Token needed
sms.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
campaign (required) | path | string | The campaign id. |
Body (JSON)
| Field | Type | About |
name | string or null | |
body | string | Your words only: your name is put in front and "Txt STOP to opt out" after. |
segment_id | string or null | |
timezone | string | For recipients whose own time zone is unknown. |
quiet_start | integer | |
quiet_end | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | SmsCampaign |
| 403 | missing_scope, or plan_required: this needs a paid plan (error.details.plan). | |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | not_editable | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/sms/campaigns/{campaign} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/sms/campaigns/{campaign}
Throw a draft away
Token needed
sms.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
campaign (required) | path | string | The campaign id. |
Answers
| Status | Meaning | data |
| 200 | Done | object |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | not_deletable | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/sms/campaigns/{campaign} \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/sms/campaigns/{campaign}/results
What a text campaign did
Token needed
sms.read
Parameters
| Name | In | Type | About |
campaign (required) | path | string | The campaign id. |
Answers
| Status | Meaning | data |
| 200 | OK | SmsResults |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/sms/campaigns/{campaign}/results \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/sms/campaigns/{campaign}/schedule
Schedule a text campaign
Needs sms.send.
Token needed
sms.send
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
campaign (required) | path | string | The campaign id. |
Body (JSON)
| Field | Type | About |
send_at (required) | string (date-time) | |
Answers
| Status | Meaning | data |
| 200 | OK | SmsCampaign |
| 403 | missing_scope, or plan_required: this needs a paid plan (error.details.plan). | |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | already_sent | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/sms/campaigns/{campaign}/schedule \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/sms/campaigns/{campaign}/send
Text your contacts now
High impact. Needs sms.send. Texts only contacts with a recorded agreement to texts who have not opted out; texts outside 8am to 9pm in their time zone wait for daytime. Sent at most once. In test mode nothing is sent and the campaign is recorded as a test.
Token needed
sms.send
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
campaign (required) | path | string | The campaign id. |
Body (JSON)
| Field | Type | About |
expected_recipients | integer | |
Answers
| Status | Meaning | data |
| 202 | Started | object |
| 403 | missing_scope, or plan_required: this needs a paid plan (error.details.plan). | |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | already_sent, or recipient_count_changed: the audience no longer matches expected_recipients. | |
| 422 | validation_failed: error.details.fields lists each problem. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/sms/campaigns/{campaign}/send \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
POST/api/v1/sms/campaigns/{campaign}/unschedule
Take a text campaign off the schedule
Token needed
sms.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | Send the same key to retry safely; the first answer is returned again and nothing runs twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
campaign (required) | path | string | The campaign id. |
Answers
| Status | Meaning | data |
| 200 | OK | SmsCampaign |
| 404 | not_found: no such item on this account. Items of other accounts are never visible. | |
| 409 | already_sent | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/sms/campaigns/{campaign}/unschedule \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/sms/status
Whether texting is set up, and how many contacts can be texted
Token needed
sms.read
Answers
| Status | Meaning | data |
| 200 | OK | SmsStatus |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/sms/status \
-H "Authorization: Bearer $TOKEN"
Team
Your team: members, invitations, roles and seats. Changes need team.write (high impact). Only the token owner's own team; the owner's own role never changes.
GET/api/v1/team
Your team, seats and the roles a member can have
Token needed
team.read
Answers
| Status | Meaning | data |
| 200 | OK | Team |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/team \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/team/members
Team members and invitations
Token needed
team.read
Parameters
| Name | In | Type | About |
status | query | string: "active", "invited", "left" | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of TeamMember |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/team/members \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/team/members
Invite someone to the team
Emails an invitation; the person joins only by accepting. On the Team plan the invitation takes a seat.
Token needed
team.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
email (required) | string (email) | |
name | string | |
job_title | string | |
department | string | |
role | string: "member", "manager", "admin" | |
Answers
| Status | Meaning | data |
| 201 | Invitation emailed | TeamMember |
| 402 | limit_reached: every paid seat on the Team plan is in use. | |
| 409 | already_on_team | |
| 422 | validation_failed | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/team/members \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/team/members/{member}
One team member
Token needed
team.read
Parameters
| Name | In | Type | About |
member (required) | path | string | The member id. |
Answers
| Status | Meaning | data |
| 200 | OK | TeamMember |
| 404 | not_found: no such member on your team. Members of other teams are never visible. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/team/members/{member} \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/team/members/{member}
Change a member's posting-suite role
Token needed
team.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
member (required) | path | string | The member id. |
Body (JSON)
| Field | Type | About |
workspace_role (required) | string or null: "admin", "publisher", "writer", "approver", "inbox", "analyst", null | |
Answers
| Status | Meaning | data |
| 200 | OK | TeamMember |
| 404 | not_found: no such member on your team. Members of other teams are never visible. | |
| 403 | missing_scope, or plan_required: roles come with the Team plan. | |
| 409 | owner_role_fixed or member_left | |
| 422 | validation_failed | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/team/members/{member} \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
DELETE/api/v1/team/members/{member}
Remove someone from the team
Token needed
team.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
member (required) | path | string | The member id. |
Answers
| Status | Meaning | data |
| 200 | Marked as left; their record stays | object |
| 404 | not_found: no such member on your team. Members of other teams are never visible. | |
| 409 | owner_cannot_leave | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X DELETE https://ideal.bio/api/v1/team/members/{member} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/team/members/{member}/resend
Send an invitation again
Token needed
team.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
member (required) | path | string | The member id. |
Answers
| Status | Meaning | data |
| 200 | OK | TeamMember |
| 404 | not_found: no such member on your team. Members of other teams are never visible. | |
| 409 | not_invited | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/team/members/{member}/resend \
-H "Authorization: Bearer $TOKEN"
Tips
Tips received.
GET/api/v1/tips
Tips received, newest first
Token needed
tips.read
Parameters
| Name | In | Type | About |
status | query | string | |
since | query | string (date) | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of Tip |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/tips \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/tips/summary
Paid tip totals per currency
Token needed
tips.read
Parameters
| Name | In | Type | About |
days | query | integer | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/tips/summary \
-H "Authorization: Bearer $TOKEN"
Wallet
Loyalty cards in Apple and Google Wallet: connection, design, nearby places, messages to customers and what Apple and Google accepted.
GET/api/v1/wallet/programs/{program}/automations
Automatic messages (welcome, win-back, birthday, reward reminder) and the daily limit
Token needed
wallet.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in. | |
| 403 | missing_scope: error.scope names the permission. | |
| 404 | not_found: no such card or message on this account. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/wallet/programs/{program}/automations \
-H "Authorization: Bearer $TOKEN"
PUT/api/v1/wallet/programs/{program}/automations
Switch automatic messages on or off and change their words
Token needed
wallet-messages.write
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
promo_cap | integer | |
automations | object | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in. | |
| 402 | plan_required: error.details.tier_needed names the lowest Ideal Loyalty tier that includes it. | |
| 403 | missing_scope: error.scope names the permission. | |
| 404 | not_found: no such card or message on this account. | |
| 422 | validation_failed; idempotency_key_reused. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PUT https://ideal.bio/api/v1/wallet/programs/{program}/automations \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/wallet/programs/{program}/deliveries
Delivery log: what Apple and Google accepted, or why a customer was skipped
Token needed
wallet.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
page | query | integer | |
per_page | query | integer | |
message_id | query | string | |
state | query | string: "queued", "handed_to_apple", "handed_to_google", "failed", "skipped" | |
Answers
| Status | Meaning | data |
| 200 | One page | list of WalletDelivery |
| 401 | Not signed in. | |
| 403 | missing_scope: error.scope names the permission. | |
| 404 | not_found: no such card or message on this account. | |
| 422 | validation_failed; idempotency_key_reused. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/wallet/programs/{program}/deliveries \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/wallet/programs/{program}/design
The card design
Token needed
wallet.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Answers
| Status | Meaning | data |
| 200 | OK | WalletDesign |
| 401 | Not signed in. | |
| 403 | missing_scope: error.scope names the permission. | |
| 404 | not_found: no such card or message on this account. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/wallet/programs/{program}/design \
-H "Authorization: Bearer $TOKEN"
PATCH/api/v1/wallet/programs/{program}/design
Change the card design; saved cards update without an alert
Token needed
wallet.write
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Body (JSON)
| Field | Type | About |
background_color | string | |
foreground_color | string | |
label_color | string | |
logo_text | string or null | |
headline_label | string or null | |
stamp_strip | boolean | |
back | object | |
back.terms | string or null | |
back.contact | boolean | |
back.profile | boolean | |
back.booking | boolean | |
back.shop | boolean | |
Answers
| Status | Meaning | data |
| 200 | OK | WalletDesign |
| 401 | Not signed in. | |
| 403 | missing_scope: error.scope names the permission. | |
| 404 | not_found: no such card or message on this account. | |
| 422 | validation_failed; idempotency_key_reused. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PATCH https://ideal.bio/api/v1/wallet/programs/{program}/design \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/wallet/programs/{program}/messages
Messages, newest first, with delivery counts by state
Token needed
wallet.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of WalletMessage |
| 401 | Not signed in. | |
| 403 | missing_scope: error.scope names the permission. | |
| 404 | not_found: no such card or message on this account. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/wallet/programs/{program}/messages \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/wallet/programs/{program}/messages
Message customers now, or schedule with send_at
Messaging customers. A message you write is an offer: it reaches only customers who agreed to offers, at most the card's daily limit each (promo_cap). The same words twice update the card without a lock-screen alert. With no wallet connected the answer is 409 not_connected and nothing is queued. Scheduling is part of Growth and Scale.
Token needed
wallet-messages.write
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Idempotency-Key | header | string | Retry safely: the same key never sends twice. |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
body (required) | string | |
audience | Audience | |
audience.type | string: "all", "group", "filter" | |
audience.group | string | A customer group key: regulars, new, drifting, lapsed, big_spenders, birthday, opted_in. |
audience.filter | string: "new", "recent", "lapsed", "reward" | |
audience.days | integer | |
send_at | string or null (date-time) | |
reference | string | |
Answers
| Status | Meaning | data |
| 201 | Sent or scheduled | WalletMessage |
| 401 | Not signed in. | |
| 402 | plan_required: error.details.tier_needed names the lowest Ideal Loyalty tier that includes it. | |
| 403 | missing_scope: error.scope names the permission. | |
| 404 | not_found: no such card or message on this account. | |
| 409 | not_connected (no wallet connected: nothing was sent or queued); not_cancellable; in_progress. | |
| 422 | validation_failed; idempotency_key_reused. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/wallet/programs/{program}/messages \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/wallet/programs/{program}/messages/{message}
One message and its delivery counts
Token needed
wallet.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
message (required) | path | string | |
Answers
| Status | Meaning | data |
| 200 | OK | WalletMessage |
| 401 | Not signed in. | |
| 403 | missing_scope: error.scope names the permission. | |
| 404 | not_found: no such card or message on this account. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/wallet/programs/{program}/messages/{message} \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/wallet/programs/{program}/messages/{message}/cancel
Cancel a scheduled message that has not gone out
Token needed
wallet-messages.write
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
message (required) | path | string | |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Answers
| Status | Meaning | data |
| 200 | OK | WalletMessage |
| 401 | Not signed in. | |
| 403 | missing_scope: error.scope names the permission. | |
| 404 | not_found: no such card or message on this account. | |
| 409 | not_connected (no wallet connected: nothing was sent or queued); not_cancellable; in_progress. | |
| 422 | Something sent is not valid (code validation_failed; details lists each field). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/wallet/programs/{program}/messages/{message}/cancel \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/wallet/programs/{program}/nearby
Places that bring the card up on a customer's phone
Token needed
wallet.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in. | |
| 403 | missing_scope: error.scope names the permission. | |
| 404 | not_found: no such card or message on this account. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/wallet/programs/{program}/nearby \
-H "Authorization: Bearer $TOKEN"
PUT/api/v1/wallet/programs/{program}/nearby
Replace the nearby places (up to 10). Growth and Scale.
Token needed
wallet.write
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
Body (JSON)
| Field | Type | About |
text | string or null | |
places (required) | list of object | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in. | |
| 402 | plan_required: error.details.tier_needed names the lowest Ideal Loyalty tier that includes it. | |
| 403 | missing_scope: error.scope names the permission. | |
| 404 | not_found: no such card or message on this account. | |
| 422 | validation_failed; idempotency_key_reused. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X PUT https://ideal.bio/api/v1/wallet/programs/{program}/nearby \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/wallet/programs/{program}/reach
How many saved cards an audience reaches, and how many of them agreed to offers
Token needed
wallet.read
Parameters
| Name | In | Type | About |
program (required) | path | string | The loyalty card id. |
audience | query | Audience | |
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 401 | Not signed in. | |
| 403 | missing_scope: error.scope names the permission. | |
| 404 | not_found: no such card or message on this account. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/wallet/programs/{program}/reach \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/wallet/status
Whether Apple and Google Wallet are connected, and what is missing
Token needed
wallet.read
Answers
| Status | Meaning | data |
| 200 | OK | WalletStatus |
| 401 | Not signed in. | |
| 403 | missing_scope: error.scope names the permission. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/wallet/status \
-H "Authorization: Bearer $TOKEN"
Wedding
The wedding page, guests and RSVPs.
GET/api/v1/wedding
The wedding page with RSVP counts
Token needed
wedding.read
Answers
| Status | Meaning | data |
| 200 | OK | object |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/wedding \
-H "Authorization: Bearer $TOKEN"
GET/api/v1/wedding/guests
Guests with their RSVP
Token needed
wedding.read
Parameters
| Name | In | Type | About |
replied | query | boolean | |
q | query | string | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of WeddingGuest |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/wedding/guests \
-H "Authorization: Bearer $TOKEN"
POST/api/v1/wedding/guests
Add a guest (free plan: 50)
Token needed
wedding.write
Parameters
| Name | In | Type | About |
Idempotency-Key | header | string | A unique value (a UUID) per operation. Retrying with the same key returns the first answer instead of doing it twice. Kept 24 hours. |
Body (JSON)
| Field | Type | About |
name (required) | string | |
email | string or null | |
max_party_size | integer | |
plus_one_allowed | boolean | |
notes | string or null | |
Answers
| Status | Meaning | data |
| 201 | OK | WeddingGuest |
| 403 | missing_scope; limit_reached (error.details.plan_needed). | |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 422 | validation_failed: error.details.fields names each bad field. | |
| 409 | An Idempotency-Key was reused for a different request, or is still running. | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl -X POST https://ideal.bio/api/v1/wedding/guests \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" -d '{...}'
GET/api/v1/wedding/rsvps
RSVPs, newest first
Token needed
wedding.read
Parameters
| Name | In | Type | About |
attending | query | boolean | |
page | query | integer | |
per_page | query | integer | |
Answers
| Status | Meaning | data |
| 200 | One page | list of WeddingRsvp |
| 404 | not_found: not one of your records (or the area is not set up: not_set_up). | |
| 401 | No valid access token. The WWW-Authenticate header names the protected resource metadata. | |
| 403 | The token lacks a permission (code missing_scope, with details.scope) or the owner's plan does not include this (code plan_required). | |
| 429 | Too many requests (code rate_limited), or the owner's daily cap on an agent's changes was reached (code daily_write_cap). | |
| 500 | Something went wrong on our side. | |
curl https://ideal.bio/api/v1/wedding/rsvps \
-H "Authorization: Bearer $TOKEN"
Data shapes
AdvertisingTags
| Field | Type | About |
tags | object | |
tags.meta | string | |
tags.google | string | |
tags.tiktok | string | |
included_in_plan | boolean | |
formats | object | |
AffiliateLink
| Field | Type | About |
id | string | |
name | string | |
destination_url | string | |
short_url | string or null | |
network | string or null | |
commission_percent | number or null | |
active | boolean | |
clicks | integer | |
conversions | integer | |
revenue_cents | integer | |
last_clicked_at | string or null (date-time) | |
ApiIndex
| Field | Type | About |
name | string | |
version | string | |
docs | string (uri) | |
reference | string (uri) | |
openapi | string (uri) | |
mcp | object | |
mcp.url | string (uri) | |
mcp.account_url | string (uri) | |
mcp.docs | string (uri) | |
authorization | object | |
authorization.protected_resource_metadata | string (uri) | |
authorization.authorization_server | string | |
authorization.access_tokens | string (uri) | |
Audience
| Field | Type | About |
type | string: "all", "group", "filter" | |
group | string | A customer group key: regulars, new, drifting, lapsed, big_spenders, birthday, opted_in. |
filter | string: "new", "recent", "lapsed", "reward" | |
days | integer | |
AudienceContact
| Field | Type | About |
id | string | |
email | string | |
name | string or null | |
phone | string or null | |
note | string or null | |
city | string or null | |
state | string or null | |
tags | list of string | |
source | string | |
sources | list of string | |
subscribed | boolean | Can be emailed: opted in and not unsubscribed. |
subscription_status | string: "subscribed", "not_subscribed", "unsubscribed" | |
unsubscribed_at | string or null (date-time) | |
consent | object | |
consent.recorded | boolean | |
consent.method | string or null | |
consent.at | string or null (date-time) | |
first_interaction_at | string or null (date-time) | |
last_interaction_at | string or null (date-time) | |
interaction_count | integer | |
created_at | string or null (date-time) | |
updated_at | string or null (date-time) | |
AudienceContactCreate
| Field | Type | About |
email (always) | string (email) | |
name | string | |
phone | string | |
note | string | |
tags | list of string | |
consent | object | |
consent.agreed | boolean | True only if the person agreed to be emailed by you. |
consent.method | string | How they agreed, in plain words. Required when agreed is true. |
consent.at | string (date-time) | When they agreed, if not now. |
AudienceContactDetail
any
AudienceContactSummary
| Field | Type | About |
total | integer | |
subscribed | integer | |
unsubscribed | integer | |
new_last_30_days | integer | |
by_source | object | |
tags | list of object | |
limit | integer or null | |
remaining | integer or null | |
AudienceContactUpdate
| Field | Type | About |
name | string or null | |
phone | string or null | |
note | string or null | |
city | string or null | |
state | string or null | |
tags | list of string | |
subscribed | boolean | |
consent | object | |
consent.agreed | boolean | True only if the person agreed to be emailed by you. |
consent.method | string | How they agreed, in plain words. Required when agreed is true. |
consent.at | string (date-time) | When they agreed, if not now. |
AudienceSegment
| Field | Type | About |
id | string | |
name | string | |
description | string or null | |
rules | AudienceSegmentRules | |
rules.tags_all | list of string | |
rules.tags_any | list of string | |
rules.verticals | list of string | |
rules.sources | list of string | |
rules.email_consent | boolean | |
rules.sms_consent | boolean | |
rules.city | string | |
rules.state | string | |
rules.purchased | boolean | |
rules.booked | boolean | |
rules.member | boolean | |
rules.member_tier_id | integer | |
rules.attended_event | boolean | |
rules.opened_days | integer | |
rules.clicked_days | integer | |
rules.joined_days | integer | |
rules.since | string (date) | |
summary | string | |
contacts | integer | |
can_be_emailed | integer | |
created_at | string or null (date-time) | |
updated_at | string or null (date-time) | |
AudienceSegmentRules
| Field | Type | About |
tags_all | list of string | |
tags_any | list of string | |
verticals | list of string | |
sources | list of string | |
email_consent | boolean | |
sms_consent | boolean | |
city | string | |
state | string | |
purchased | boolean | |
booked | boolean | |
member | boolean | |
member_tier_id | integer | |
attended_event | boolean | |
opened_days | integer | |
clicked_days | integer | |
joined_days | integer | |
since | string (date) | |
AudienceSegmentWrite
| Field | Type | About |
name | string | |
description | string or null | |
rules | AudienceSegmentRules | |
rules.tags_all | list of string | |
rules.tags_any | list of string | |
rules.verticals | list of string | |
rules.sources | list of string | |
rules.email_consent | boolean | |
rules.sms_consent | boolean | |
rules.city | string | |
rules.state | string | |
rules.purchased | boolean | |
rules.booked | boolean | |
rules.member | boolean | |
rules.member_tier_id | integer | |
rules.attended_event | boolean | |
rules.opened_days | integer | |
rules.clicked_days | integer | |
rules.joined_days | integer | |
rules.since | string (date) | |
BlogPost
| Field | Type | About |
id | string | |
title | string | |
slug | string | |
excerpt | string or null | |
status | string: "draft", "scheduled", "published", "archived" | |
url | string | |
category | string or null | |
tags | list of string | |
comments_enabled | boolean | |
views | integer | |
published_at | string or null (date-time) | |
scheduled_for | string or null (date-time) | |
body_markdown | string | |
hero_image_url | string or null | |
seo | object | |
seo.title | string or null | |
seo.description | string or null | |
seo.image_url | string or null | |
created_at | string or null (date-time) | |
updated_at | string or null (date-time) | |
BlogPostWrite
| Field | Type | About |
title | string | |
slug | string or null | |
excerpt | string or null | |
body_markdown | string | |
hero_image_url | string or null | |
category | string or null | |
tags | list of string | |
seo_title | string or null | |
seo_description | string or null | |
seo_image_url | string or null | |
comments_enabled | boolean | |
scheduled_for | string or null (date-time) | |
Booking
| Field | Type | About |
id | string | |
event_type_id | string | |
event_type_name | string or null | |
status | string: "pending", "confirmed", "cancelled" | |
starts_at | string or null (date-time) | |
ends_at | string or null (date-time) | |
date | string (date) | |
start_time | string | |
timezone | string or null | |
guest | object | |
guest.name | string or null | |
guest.email | string or null | |
guest.phone | string or null | |
payment | object | |
payment.status | string | |
payment.amount_due | Money | |
payment.paid_at | string or null (date-time) | |
payment.refund_status | string or null | |
source | string | |
checkout_url | string or null | On create: send this to the guest to pay; the time is held meanwhile. |
refund_due | boolean | On cancel: the guest paid and has not been refunded. |
guest_manage_url | string or null | |
Broadcast
| Field | Type | About |
id | string | |
subject | string | |
body_markdown | string | |
audience | object | |
audience.sources | list of string | |
audience.tags | list of string | |
audience.since | string or null (date) | |
audience.segment_id | string or null | A saved segment, worked out when the broadcast sends. |
status | string: "draft", "scheduled", "sending", "sent", "failed" | |
scheduled_at | string or null (date-time) | |
sent_at | string or null (date-time) | |
recipients | integer | |
opened | integer | |
clicked | integer | |
recipients_if_sent_now | integer or null | |
created_at | string or null (date-time) | |
updated_at | string or null (date-time) | |
BroadcastRecipient
| Field | Type | About |
contact_id | string | |
email | string | |
sent_at | string or null (date-time) | |
opened_at | string or null (date-time) | |
clicked_at | string or null (date-time) | |
unsubscribed_at | string or null (date-time) | |
BroadcastResults
| Field | Type | About |
id | string | |
status | string | |
sent_at | string or null (date-time) | |
recipients | integer | |
opened | integer | |
clicked | integer | |
unsubscribed | integer | |
open_rate | number or null | |
click_rate | number or null | |
note | string | |
BroadcastWrite
| Field | Type | About |
subject | string | |
body_markdown | string | |
audience | object | |
audience.sources | list of string | |
audience.tags | list of string | |
audience.since | string or null (date) | |
audience.segment_id | string or null | A saved segment, worked out when the broadcast sends. |
BusinessDetails
| Field | Type | About |
answers | object | |
answered | integer | |
questions | integer | |
choices | object | |
Charge
| Field | Type | About |
id | string | |
source | string | |
what | string | |
reference | string | |
currency | string | |
amount_cents | integer | |
stripe_fee_cents | integer | Stripe processing fee, deducted by Stripe in the owner's own account (direct charges); an estimate until the charge settles |
platform_fee_cents | integer | |
refunded_cents | integer | |
net_cents | integer | |
status | string | |
test | boolean | |
dispute | object | |
refund | object | |
ClassBooking
| Field | Type | About |
id | string | |
session_id | string | |
guest | object | |
guest.name | string or null | |
guest.email | string or null | |
guest.phone | string or null | |
status | string or null | |
payment_status | string or null | |
checked_in | boolean | |
checked_in_at | string or null (date-time) | |
ClassSession
| Field | Type | About |
id | string | |
class_id | string | |
class_name | string or null | |
date | string (date) | |
starts_at | string or null (date-time) | |
status | string or null | |
booked | integer | |
capacity | integer or null | |
bookings | list of ClassBooking | |
CompanySignature
| Field | Type | About |
company_design | object or null | |
company_design.design | object | |
company_design.locked | boolean | |
company_design.set_at | string or null (date-time) | |
members | list of object | |
created | integer | |
total | integer | |
ContactCard
| Field | Type | About |
object | any | |
vcard_url | string | |
fields | list of object | |
Conversation
| Field | Type | About |
id | string | |
with | object | |
with.id (always) | string | |
with.username (always) | string | |
with.name (always) | string | |
with.avatar_url | string or null | |
with.verified | boolean | |
with.profile_url | string | |
with.you_follow | string: "none", "pending", "accepted" | |
status | string: "active", "request_sent", "request_received", "declined" | |
unread | boolean | |
last_message | object or null | |
last_message_at | string or null (date-time) | |
Counters
| Field | Type | About |
type | string | |
currency | string | |
stamps | integer | |
stamps_per_reward | integer | |
points | integer | |
balance_cents | integer | |
visits_remaining | integer | |
spend_cents | integer | |
level | string or null | |
coupon_used | boolean | |
visits | integer | |
Course
| Field | Type | About |
id | string | |
title | string | |
slug | string | |
published | boolean | |
price | Money | |
price.amount_cents (always) | integer | |
price.currency (always) | string | |
modules | integer | |
lessons | integer | |
quizzes | integer | |
certificate | boolean | |
description | string or null | |
enrollments | integer | |
completed | integer | |
completion_rate | integer or null | |
url | string or null | |
CourseProgress
| Field | Type | About |
enrollment_id | string | |
course_id | string | |
name | string or null | |
email | string | |
status | string | |
enrolled_at | string or null (date-time) | |
progress_percent | integer | |
lessons_completed | integer | |
lessons_total | integer | |
complete | boolean | |
completed_at | string or null (date-time) | |
last_activity_at | string or null (date-time) | |
modules | list of object | |
certificate | object or null | |
certificate.code | string | |
certificate.issued_at | string or null (date-time) | |
certificate.revoked | boolean | |
certificate.verify_url | string | |
CourseStructure
| Field | Type | About |
id | string | |
title | string | |
published | boolean | |
certificate | boolean | |
modules | list of object | |
Customer
any
CustomerRow
| Field | Type | About |
id | string | |
program_id | string | |
status | string: "active", "erased", "blocked" | |
name | string or null | |
email | string or null | |
phone | string or null | |
card_code | string or null | |
headline | object | |
headline.label | string | |
headline.value | string | |
visits | integer | |
rewards_waiting | integer | |
agreed_to_offers | boolean | |
joined_at | string or null (date-time) | |
last_visit_at | string or null (date-time) | |
Design
| Field | Type | About |
object | any | |
template | any | |
mode | string or null: "dark", "light", null | |
palette | string or null | |
industry | string or null | |
style | object | |
style_applies | boolean | |
custom_css | string or null | |
custom_css_allowed | boolean | |
preview_url | string | |
DirectMessage
| Field | Type | About |
id | string | |
from_you | boolean | |
text | string | |
pictures | list of object | |
sent_at | string or null (date-time) | |
seen | boolean or null | |
conversation_id | string | |
Domain
| Field | Type | About |
id | string | |
object | any | |
hostname | string | |
kind | string: "apex", "sub" | |
scope | string | |
primary | boolean | |
verified | boolean | |
verified_at | string or null (date-time) | |
ssl_status | string or null | |
last_checked_at | string or null (date-time) | |
last_error | string or null | |
created_at | string or null (date-time) | |
dns_records | list of object | |
DownloadFile
| Field | Type | About |
id | string | |
title | string | |
filename | string or null | |
size_bytes | integer | |
published | boolean | |
price | any | |
downloads | integer | |
unique_downloads | integer | |
EmailSignature
| Field | Type | About |
design | object | |
details | object | |
details.name | string | |
details.title | string | |
details.company | string | |
details.email | string | |
details.phone | string | |
photo_url | string or null | |
logo_url | string or null | |
company_design | object or null | |
company_design.team | string | |
company_design.locked | boolean | |
picture | object | |
picture.drawn | boolean | |
picture.drawn_at | string or null (date-time) | |
picture.gif_url | string or null | |
picture.still_url | string or null | |
picture.bytes | integer or null | |
picture.needs_redraw | boolean | |
picture.redraw_url | string | |
html | string or null | One linked picture and up to two text lines, ready to paste. Null until a picture has been drawn. |
alt_text | string | |
profile_url | string | |
booking_url | string or null | |
shows_free_plan_line | boolean | |
note | string | |
ignored | object | Only on PATCH, when a locked company design kept some fields from changing. |
Enquiry
| Field | Type | About |
id | string | |
name | string or null | |
email | string | |
need | string or null | |
message | string or null | |
source | string | |
status | string | |
created_at | string or null (date-time) | |
Enrollment
| Field | Type | About |
id | string | |
name | string or null | |
email | string or null | |
status | string or null | |
enrolled_at | string or null (date-time) | |
progress_percent | integer | |
completed_at | string or null (date-time) | |
last_activity_at | string or null (date-time) | |
Error
| Field | Type | About |
error (always) | object | |
error.code (always) | string | Stable, snake_case: validation_failed, unauthenticated, missing_scope, plan_required, not_found, rate_limited, daily_write_cap, idempotency_key_reused, idempotency_in_progress, server_error, ... |
error.message (always) | string | One plain sentence that can be shown to a person. |
error.details | object | More about the problem. For validation_failed: each field with its problems. For missing_scope: the scope. |
Event
any
EventOrder
| Field | Type | About |
id | string | |
status | string | |
currency | string | |
subtotal_cents | integer | |
discount_cents | integer | |
buyer_fee_cents | integer | |
total_cents | integer | |
platform_fee_cents | integer | |
refunded_cents | integer | |
refund_pending_cents | integer | |
test | boolean | |
tickets | list of Ticket | |
EventSummary
| Field | Type | About |
id | string | |
title | string | |
slug | string | |
url | string | |
status | string | |
type | string | |
format | string | |
starts_at | string | |
ends_at | string | |
timezone | string | |
capacity | integer | |
EventType
| Field | Type | About |
id | string | |
name | string | |
slug | string or null | |
active | boolean | |
duration_minutes | integer | |
price | any | |
payment_mode | string | |
questions | list of string | |
host_mode | string | |
repeat_max | integer | |
booking_url | string or null | |
FeedItem
| Field | Type | About |
id | string | |
network | string | |
origin | string | |
type | string | |
text | string or null | |
url | string or null | |
media | list of object | |
hidden | boolean | |
pinned | boolean | |
published_at | string or null (date-time) | |
FeedSource
| Field | Type | About |
id | string | |
network | string | |
network_name | string | |
handle | string | |
enabled | boolean | |
posts | integer | |
last_checked_at | string or null (date-time) | |
problem | string or null | |
FitnessClass
| Field | Type | About |
id | string | |
name | string | |
active | boolean | |
day_of_week | integer | |
start_time | string or null | |
duration_minutes | integer | |
capacity | integer | |
price | Money | |
price.amount_cents (always) | integer | |
price.currency (always) | string | |
GiftCard
| Field | Type | About |
id | string | |
code | string | |
state | string: "usable", "used_up", "revoked", "expired" | |
face_value | Money | |
face_value.amount_cents (always) | integer | |
face_value.currency (always) | string | |
balance | Money | |
balance.amount_cents (always) | integer | |
balance.currency (always) | string | |
sender | object | |
sender.name | string or null | |
sender.email | string or null | |
recipient | object | |
recipient.name | string or null | |
recipient.email | string or null | |
sold_at | string or null (date-time) | |
expires_at | string or null (date-time) | |
revoked_at | string or null (date-time) | |
redemptions | list of object | |
Handle
| Field | Type | About |
object | any | |
handle | string | |
url | string | |
changeable_here | boolean | |
HandleAvailability
| Field | Type | About |
object | any | |
handle | string | |
available | boolean | |
reason | string: "too_short", "too_long", "bad_characters", "bad_start", "reserved", "taken", "yours", "available" | |
message | string | |
HandleCheck
| Field | Type | About |
handle (always) | string | |
available (always) | boolean | |
reason (always) | string: "too_short", "too_long", "bad_characters", "bad_start", "reserved", "taken", "available" | |
message (always) | string | |
claim_url | string | |
HelpArticle
| Field | Type | About |
slug | string | |
title | string | |
summary | string | |
category | string | |
plan | string | |
url | string | |
excerpt | string | |
InboxMessage
| Field | Type | About |
id | string | |
network | string | |
kind | string | |
author | object | |
text | string | |
url | string or null | |
status | string | |
reply | object or null | |
received_at | string or null (date-time) | |
Inquiry
| Field | Type | About |
id | string | |
listing_id | string | |
name | string or null | |
email | string or null | |
phone | string or null | |
message | string or null | |
status | string | |
notes | string or null | |
created_at | string or null (date-time) | |
Insights
| Field | Type | About |
range | string | |
from | string or null (date-time) | |
to | string or null (date-time) | |
profile | object | |
profile.views | integer | |
profile.link_taps | integer | |
profile.tap_rate | number or null | |
profile.highlight_taps | integer | |
profile.series | list of object | |
profile.series_unit | string: "day", "month" | |
profile.views_by_device | list of object | |
profile.taps_by_source | list of object | |
profile.top_links | list of object | |
sections | object | |
note | string | |
Lead
| Field | Type | About |
id | string | |
name | string or null | |
email | string or null | |
phone | string or null | |
company | string or null | |
job_title | string or null | |
note | string or null | |
via | string or null | |
event_id | string or null | |
rating | string or null: "hot", "warm", "cold", null | |
agreed_to_follow_up | boolean | |
opted_out_at | string or null (date-time) | |
remind_at | string or null (date-time) | |
follow_up_status | string | |
created_at | string or null (date-time) | |
LeadEvent
| Field | Type | About |
id | string | |
name | string | |
starts_on | string or null | |
ends_on | string or null | |
leads | integer | |
follow_up | object or null | |
created_at | string or null (date-time) | |
LeadSync
| Field | Type | About |
saved | list of string | |
created | integer | |
updated | integer | |
Link
| Field | Type | About |
id | string | |
object | any | |
title | string | |
url | string | |
icon | string or null | |
type | string or null | |
status | string: "active", "inactive" | |
position | integer | |
animation | string or null: "pop", "wobble", "swipe", "buzz", null | |
clicks | integer | |
tracking_url | string | |
created_at | string or null (date-time) | |
updated_at | string or null (date-time) | |
LinkAnalytics
| Field | Type | About |
link_id | string | |
clicks_total | integer | |
clicks_in_period | integer | |
days | integer | |
series | list of object | |
referrers | list of object | |
Listing
| Field | Type | About |
id | string | |
slug | string | |
title | string | |
status | string | |
price | Money | |
price.amount_cents (always) | integer | |
price.currency (always) | string | |
address | string | |
new_inquiries | integer | |
tours_requested | integer | |
LiveStream
| Field | Type | About |
id | string | |
title | string | |
status | string | |
mode | string | |
visibility | string | |
scheduled_for | string or null (date-time) | |
started_at | string or null (date-time) | |
ended_at | string or null (date-time) | |
watch_url | string or null | |
destinations | list of object | |
LoyaltyAction
| Field | Type | About |
id | string | |
kind | string | |
label | string | |
amount | integer or null | |
money_cents | integer or null | |
balance_after_cents | integer or null | |
is_visit | boolean | |
flagged | boolean | |
flag_reason | string or null | |
location_id | string or null | |
reference | string or null | |
by | object | |
by.type | string: "owner", "staff", "system" | |
by.staff_id | string | |
by.name | string | |
by.via | string | The agent or app, when it came through the API. |
occurred_at | string or null (date-time) | |
undone_at | string or null (date-time) | |
LoyaltyLocation
| Field | Type | About |
id | string | |
name | string | |
address | string or null | |
lat | number or null | |
lng | number or null | |
paused_by_plan | boolean | |
LoyaltyPlan
| Field | Type | About |
level | string: "starter", "growth", "scale", "pro", "free" | |
tier | string or null | |
name | string | |
in_trial | boolean | |
trial_ends_at | string or null (date-time) | |
can_start_trial | boolean | |
status | string or null | |
term | string or null | |
renews_or_ends_at | string or null (date-time) | |
limits | object | |
features | object | |
LoyaltyProgram
| Field | Type | About |
id (always) | string | |
type (always) | string: "stamp", "points", "tier", "prepaid", "membership", "multipass", "coupon" | |
type_label | string | |
name (always) | string | |
is_active | boolean | |
paused_by_plan | boolean | |
ends_at | string or null (date-time) | |
currency | string | |
join_url | string (uri) | |
earning | object | |
referrals | object | |
referrals.referrer_credit | integer | |
referrals.friend_credit | integer | |
referrals.monthly_cap | integer | |
limits | object | |
limits.min_gap_minutes | integer | |
limits.daily_cap | integer | |
limits.max_spend_cents | integer | |
limits.max_topup_cents | integer | |
limits.max_balance_cents | integer | |
limits.undo_minutes | integer | |
limits.referral_monthly_cap | integer | |
stats | object | |
stats.customers | integer | |
stats.visits_30d | integer | |
stats.rewards_waiting | integer | |
created_at | string or null (date-time) | |
updated_at | string or null (date-time) | |
LoyaltyProgramCreate
| Field | Type | About |
type (always) | string: "stamp", "points", "tier", "prepaid", "membership", "multipass", "coupon" | |
name | string | |
reward_label | string or null | |
stamps_per_reward | integer | |
points_per_visit | integer | |
points_per_unit | integer | |
reward_points | integer | |
tiers | list of object | |
currency | string: "USD", "EUR", "GBP", "CAD", "AUD" | |
membership_tier_id | string | |
multipass_visits | integer | |
price_cents | integer | |
coupon_text | string or null | |
Me
| Field | Type | About |
id (always) | string | |
username (always) | string | |
name | string | |
profile_url | string (uri) | |
plan (always) | object | |
plan.tier | string: "free", "pro", "social", "team" | |
plan.label | string | |
plan.paid | boolean | |
plan.social | boolean | |
plan.platform_fee_bps | integer | Fee on sales in basis points (290 = 2.9%). |
caller | object | |
caller.kind | string: "owner", "agent", "delegated" | |
caller.name | string | The token name or the app's client id. |
scopes (always) | list of string | ["*"] when it is the owner's own token. |
MediaItem
| Field | Type | About |
id | string | |
object | string: "track", "video" | |
title | string | |
url | string | |
platform | string or null | |
uploaded | boolean | |
cover | string or null | |
artist | string or null | |
thumbnail | string or null | |
duration_seconds | integer or null | |
file_size_bytes | integer or null | |
plays | integer | |
hidden | boolean | |
position | integer | |
created_at | string or null (date-time) | |
updated_at | string or null (date-time) | |
Member
| Field | Type | About |
id | string | |
tier | object or null | |
name | string or null | |
email | string or null | |
status | string | |
cancelling | boolean | |
ends_at | string or null (date-time) | |
current_period_end | string or null (date-time) | |
MembershipTier
| Field | Type | About |
id | string | |
name | string | |
active | boolean | |
price | Money | |
price.amount_cents (always) | integer | |
price.currency (always) | string | |
interval | string or null | |
perks | list of string | |
active_members | integer | |
Money
| Field | Type | About |
amount_cents (always) | integer | |
currency (always) | string | |
NetworkMember
| Field | Type | About |
id (always) | string | |
username (always) | string | |
name (always) | string | |
avatar_url | string or null | |
verified | boolean | |
profile_url | string | |
you_follow | string: "none", "pending", "accepted" | |
NetworkPost
| Field | Type | About |
id (always) | string | |
url (always) | string | |
author (always) | object | |
author.id (always) | string | |
author.username (always) | string | |
author.name (always) | string | |
author.avatar_url | string or null | |
author.verified | boolean | |
author.profile_url | string | |
author.you_follow | string: "none", "pending", "accepted" | |
text (always) | string | |
reply_to_id | string or null | |
root_id | string or null | |
quote_of_id | string or null | |
audience | string: "everyone", "followers", "met", "mentioned", "members" | |
reply_policy | string or null | |
sensitive | boolean | |
members_only | object or null | Set on members-only posts: the tiers that unlock it, whether it is unlocked for this caller, and where to join. |
members_only.tiers | list of object | |
members_only.unlocked | boolean | |
members_only.join_url | string | |
locked | boolean | True when the post is members-only and the caller is not a member: text is empty and media, poll, long_read, link_card, attached_card and quote are left out. |
locked_title | string | Only when locked: "For members". |
media | list of object | In the author's order. Two or more show as a carousel in the first item's shape. Facts the server could not learn are null. |
long_read | object or null | The long read attached to the post: plain text up to 10,000 characters, outside the post's own 3,000. |
long_read.title | string or null | |
long_read.text | string | |
long_read.characters | integer | |
long_read.reading_minutes | integer | |
poll | object or null | |
link_card | object or null | A link preview, or with kind "blog" one of the author's own blog posts (blog_post_id, reading_minutes). A blog card disappears when the blog post is taken down. |
link_card.url | string | |
link_card.title | string or null | |
link_card.description | string or null | |
link_card.image_url | string or null | |
link_card.kind | string: "link", "blog" | |
link_card.blog_post_id | string | |
link_card.reading_minutes | integer | |
attached_card | object or null | |
quote | object or null | |
counts (always) | object | |
counts.likes | integer | |
counts.replies | integer | |
counts.reposts | integer | |
counts.quotes | integer | |
viewer | object or null | |
viewer.liked | boolean | |
viewer.reposted | boolean | |
viewer.saved | boolean | |
reposted_by | object | |
reposted_by.id (always) | string | |
reposted_by.username (always) | string | |
reposted_by.name (always) | string | |
reposted_by.avatar_url | string or null | |
reposted_by.verified | boolean | |
reposted_by.profile_url | string | |
reposted_by.you_follow | string: "none", "pending", "accepted" | |
published_at | string or null (date-time) | |
edited_at | string or null (date-time) | |
status | string | Author only: draft, scheduled, publishing, published. |
scheduled_for | string or null (date-time) | |
held | string or null | Author only: held or removed by moderators. |
approval | object or null | Author only. |
NetworkState
| Field | Type | About |
network | string | |
name | string | |
state | string: "ready", "not_connected", "not_live", "expired" | |
connected | boolean | |
posting_switched_on | boolean | |
username | string or null | |
needs_social_plan | boolean | |
connect_url | string or null | |
Notification
| Field | Type | About |
id | string | |
type | string | |
label | string | |
actor | object | |
actor.id (always) | string | |
actor.username (always) | string | |
actor.name (always) | string | |
actor.avatar_url | string or null | |
actor.verified | boolean | |
actor.profile_url | string | |
actor.you_follow | string: "none", "pending", "accepted" | |
subject | object or null | |
excerpt | string or null | |
read | boolean | |
created_at | string or null (date-time) | |
OfficialAccount
| Field | Type | About |
id | string | |
network | string | |
handle | string | |
url | string or null | |
status | string: "active", "moved", "lost", "impersonator" | |
lost_reason | string or null | |
replaced_by | object or null | |
verification | string | |
linkback_code | string | |
banner | object or null | |
OfficialAccounts
| Field | Type | About |
username | string | |
name | string | |
page_url | string | |
accounts | list of object | |
OfflineCard
| Field | Type | About |
object | any | |
fields | object | |
fields.name | string | |
fields.title | string | |
fields.company | string | |
fields.phone | string | |
fields.email | string | |
fields.url | string | |
has_contact | boolean | |
vcard | string | |
note | string | |
OpenTimes
| Field | Type | About |
event_type_id | string | |
timezone | string | |
days | list of object | |
Order
| Field | Type | About |
id | string | |
number | string or null | |
status | string | |
buyer | object | |
buyer.name | string or null | |
buyer.email | string or null | |
buyer.phone | string or null | |
total | Money | |
total.amount_cents (always) | integer | |
total.currency (always) | string | |
tracking | object or null | |
refund | object or null | |
items | list of object | |
created_at | string or null (date-time) | |
PageMeta
| Field | Type | About |
page | integer | |
per_page | integer | |
total | integer | |
pages | integer | |
Palette
| Field | Type | About |
key | string | |
object | any | |
name | string | |
mode | string or null | |
stops | list of string | |
accent | string or null | |
paid_only | boolean | |
usable | boolean | |
PaymentLink
| Field | Type | About |
id | string | |
url | string | |
title | string | |
amount_cents | integer | |
currency | string | |
single_use | boolean | |
open | boolean | |
paid_count | integer | |
Plan
| Field | Type | About |
tier | string: "free", "pro", "social", "team" | |
name | string | |
paid | boolean | |
source | string: "own_plan", "team_seat", "free" | |
includes_social | boolean | |
platform_fee_bps | integer | |
billing | object or null | |
billing.term | string | |
billing.term_label | string or null | |
billing.renews | boolean | |
billing.current_term_ends_at | string or null (date-time) | |
billing.committed_12_months | boolean | |
billing.trialing | boolean | |
billing.trial_ends_at | string or null (date-time) | |
billing.subscription_status | string or null | |
billing.ends_at | string or null (date-time) | |
pending_change | object or null | |
pending_change.to | string | |
pending_change.to_name | string | |
pending_change.takes_effect_at | string or null (date-time) | |
seats | object or null | |
seats.paid | integer or null | |
seats.used | integer | |
limits | object | |
limits.contacts | object | |
limits.broadcasts_per_month | object | |
limits.insights_ranges | list of string | |
limits.advertising_tags | boolean | |
summary | list of string | |
manage_url | string | |
note | string | |
PollResult
| Field | Type | About |
id | string | |
question | string | |
options | list of object | |
total_votes | integer | |
closes_at | string or null (date-time) | |
closed | boolean | |
PosDiscountIn
| Field | Type | About |
kind (always) | string: "pct", "amount" | |
value (always) | integer | |
reason | string | |
PosLineIn
| Field | Type | About |
product_id (always) | integer | |
variant_id | integer | |
quantity (always) | integer | |
modifiers | object | group id => option id (or a list for multi groups) |
unit_price_cents | integer | |
discount | PosDiscountIn | |
discount.kind (always) | string: "pct", "amount" | |
discount.value (always) | integer | |
discount.reason | string | |
taxable | boolean | |
note | string | |
Product
| Field | Type | About |
id | string | |
name | string | |
status | string | |
price | Money | |
price.amount_cents (always) | integer | |
price.currency (always) | string | |
stock | integer or null | |
sku | string or null | |
image_url | string or null | |
description | string or null | |
variant_mode | string: "simple", "advanced" | advanced: variants are combinations of the values in options (one value per option). |
options | list of object | Advanced variants only, in display order. Read-only; set on the shop screen. |
variants | list of object | |
Profile
| Field | Type | About |
id | string | |
object | any | |
handle | string | |
url | string | |
first_name | string or null | |
last_name | string or null | |
headline | string or null | |
bio | string or null | |
company | string or null | |
job_title | string or null | |
city | string or null | |
state | string or null | |
country | string or null | |
display_name | string | |
avatar_url | string | |
cover_url | string or null | |
socials | object | |
paid_plan | boolean | |
updated_at | string or null (date-time) | |
ProfileMode
| Field | Type | About |
object | any | |
mode | string | |
active | string | |
link_url | string or null | |
event_id | string or null | |
stealth | object | |
lead | object | |
rota | list of object | |
modes | list of object | |
ProfileUpdate
| Field | Type | About |
first_name | string or null | |
last_name | string or null | |
headline | string or null | |
bio | string or null | |
company | string or null | |
job_title | string or null | |
city | string or null | |
state | string or null | |
country | string or null | |
socials | object | facebook, twitter, instagram, linkedin, youtube, tiktok, pinterest, snapchat, whatsapp, telegram, discord, github, website: full addresses. |
Promotion
| Field | Type | About |
id | string | |
name | string | |
multiplier | integer | |
bonus | integer | |
offer_text | string or null | |
weekdays | array or null | |
starts_at | string or null (date-time) | |
ends_at | string or null (date-time) | |
running_now | boolean | |
PublicProfile
| Field | Type | About |
username (always) | string | |
name (always) | string | |
url (always) | string (uri) | |
mode | string | "public", or "private" when the owner shows only their name. |
headline | string | |
bio | string | |
company | string | |
city | string | |
template | string | |
links | list of object | |
sections | list of object | |
feed_url | string | |
official_accounts_url | string | |
contact_card_url | string | |
agent_offers_url | string | |
QrCode
| Field | Type | About |
object | any | |
content | string | |
size | integer | |
svg | string | |
Reservation
| Field | Type | About |
id | string | |
status | string | |
allowed_next | list of string | |
starts_at | string or null (date-time) | |
ends_at | string or null (date-time) | |
party_size | integer | |
guest | object | |
guest.name | string or null | |
guest.email | string or null | |
guest.phone | string or null | |
table | object or null | |
deposit | object or null | |
Review
| Field | Type | About |
id | string | |
reviewer_name | string | |
rating | integer | |
body | string | |
source | string or null | |
status | string | |
visible | boolean | |
shown_on_profile | boolean | |
featured | boolean | |
verified | boolean | |
photos | list of string | |
reply | string or null | |
replied_at | string or null (date-time) | |
submitted_at | string or null (date-time) | |
RewardWaiting
| Field | Type | About |
id | string | |
label | string | |
source | string | |
unlocked_at | string or null (date-time) | |
expires_at | string or null (date-time) | |
customer_id | string | |
program_id | string | |
customer_name | string | |
SearchResults
| Field | Type | About |
query | string | |
total | integer | |
page | integer | |
pages | integer | |
counts | object | |
results | list of object | |
suggestions | list of any | |
Section
| Field | Type | About |
id | string | |
object | any | |
type | string | |
position | integer | |
visible | boolean | |
payload | object | |
overrides | object | |
synced | object or array or null | |
synced_at | string or null (date-time) | |
sync_error | string or null | |
created_at | string or null (date-time) | |
updated_at | string or null (date-time) | |
SectionType
| Field | Type | About |
key | string | |
object | any | |
label | string | |
category | string | |
available | boolean | |
description | string | |
default_payload | object | |
Segment
| Field | Type | About |
key | string | |
label | string | |
description | string | |
customers | integer | |
Sequence
| Field | Type | About |
id | string | |
name | string | |
status | string: "draft", "active", "paused" | |
trigger | string: "joined", "subscribed_form", "tag_added", "first_purchase", "booking_completed", "joined_tier" | |
trigger_value | string or null | |
trigger_label | string | |
segment_id | string or null | |
enrolled | integer | |
in_progress | integer | |
finished | integer | |
exited | integer | |
activated_at | string or null (date-time) | |
created_at | string or null (date-time) | |
steps | list of SequenceStep | |
SequenceResults
any
SequenceStep
| Field | Type | About |
id | string | |
position | integer | |
wait | object | |
wait.amount | integer | |
wait.unit | string: "hours", "days" | |
subject | string | |
body_markdown | string | |
SequenceStepWrite
| Field | Type | About |
subject | string | |
body_markdown | string | |
wait | object | |
wait.amount | integer | |
wait.unit | string: "hours", "days" | |
SequenceWrite
| Field | Type | About |
name | string | |
trigger | string: "joined", "subscribed_form", "tag_added", "first_purchase", "booking_completed", "joined_tier" | |
trigger_value | string or null | The tag for tag_added; the membership tier id for joined_tier (empty: any tier). |
segment_id | string or null | |
steps | list of SequenceStepWrite | Only when creating. |
SmsCampaign
| Field | Type | About |
id | string | |
name | string or null | |
body | string | |
text_as_sent | string | |
length | object | |
length.encoding | string | |
length.characters | integer | |
length.segments | integer | |
length.per_segment | integer | |
segment_id | string or null | |
status | string: "draft", "scheduled", "sending", "sent", "failed" | |
test_mode | boolean | |
daytime_window | object | |
daytime_window.from_hour | integer | |
daytime_window.until_hour | integer | |
daytime_window.timezone_if_unknown | string or null | |
scheduled_at | string or null (date-time) | |
sent_at | string or null (date-time) | |
recipients | integer | |
recipients_if_sent_now | integer or null | |
created_at | string or null (date-time) | |
SmsCampaignWrite
| Field | Type | About |
name | string or null | |
body | string | Your words only: your name is put in front and "Txt STOP to opt out" after. |
segment_id | string or null | |
timezone | string | For recipients whose own time zone is unknown. |
quiet_start | integer | |
quiet_end | integer | |
SmsResults
| Field | Type | About |
id | string | |
status | string | |
test_mode | boolean | |
recipients | integer | |
sent | integer | |
test | integer | |
failed | integer | |
waiting_for_daytime | integer | |
skipped | integer | |
opt_outs | integer | |
note | string | |
SmsStatus
| Field | Type | About |
live | boolean | |
twilio_connected | boolean | |
a2p_registered | boolean | |
messaging_service | boolean | |
transactional_texts | boolean | |
included_in_plan | boolean | |
can_be_texted | integer | |
note | string | |
Staff
| Field | Type | About |
id | string | |
name | string or null | |
email | string | |
status | string: "invited", "active", "paused" | |
permissions | object | |
permissions.earn | boolean | |
permissions.redeem | boolean | |
permissions.charge | boolean | |
permissions.topup | boolean | |
permissions.customers | boolean | |
location_ids | list of string | |
daily_cap | integer or null | |
max_topup_cents | integer or null | |
has_pin | boolean | |
invited_at | string or null (date-time) | |
last_seen_at | string or null (date-time) | |
StaffWrite
| Field | Type | About |
email | string | |
name | string or null | |
permissions | object | |
permissions.earn | boolean | |
permissions.redeem | boolean | |
permissions.charge | boolean | |
permissions.topup | boolean | |
permissions.customers | boolean | |
location_ids | list of string | |
daily_cap | integer or null | |
max_topup_cents | integer or null | |
SuitePost
| Field | Type | About |
id (always) | string | |
text | string | |
status (always) | string | |
source | string: "posting_suite", "ideal_bio_network" | |
label | string or null | |
scheduled_for | string or null (date-time) | |
published_at | string or null (date-time) | |
created_at | string or null (date-time) | |
media | list of object | |
overrides | object | |
networks (always) | list of object | |
approval | object or null | |
activity | list of object | |
Team
| Field | Type | About |
team | object or null | |
team.id | string | |
team.name | string | |
team.tagline | string or null | |
seats | object | |
seats.enforced | boolean | |
seats.paid | integer or null | |
seats.used | integer | |
counts | object | |
counts.active | integer | |
counts.invited | integer | |
counts.left | integer | |
roles | list of object | |
TeamMember
| Field | Type | About |
id | string | |
user_id | string or null | |
name | string or null | |
email | string or null | |
job_title | string or null | |
department | string or null | |
role | string: "admin", "manager", "member" | |
workspace_role | string or null | |
workspace_networks | array or null | |
status | string: "active", "invited", "left" | |
is_owner | boolean | |
invited_at | string or null (date-time) | |
joined_at | string or null (date-time) | |
Template
| Field | Type | About |
key | string | |
object | any | |
name | string | |
description | string or null | |
vibe | string or null | |
industry | string or null | |
preview_image | string or null | |
live_layout | boolean | |
mode | string or null | |
Ticket
| Field | Type | About |
id | string | |
code | string | |
ticket_type | string | |
holder | object | |
admits | integer | |
status | string | |
checked_in_at | string | |
answers | object | |
TicketType
| Field | Type | About |
id | string | |
name | string | |
kind | string | |
price_cents | integer | |
min_price_cents | integer | |
currency | string | |
capacity | integer | |
sold | integer | |
available | integer | |
admits | integer | |
addon | boolean | |
hidden | boolean | |
active | boolean | |
TillCard
| Field | Type | About |
card_token | string | |
card_token_expires_at | string or null (date-time) | |
program | object | |
program.id | string | |
program.name | string | |
program.type | string | |
program.type_label | string | |
holder | string | First name only, unless the token holds loyalty-customers.read. |
code | string | |
headline | object | |
headline.label | string | |
headline.value | string | |
fields | list of object | |
counters | Counters | |
counters.type | string | |
counters.currency | string | |
counters.stamps | integer | |
counters.stamps_per_reward | integer | |
counters.points | integer | |
counters.balance_cents | integer | |
counters.visits_remaining | integer | |
counters.spend_cents | integer | |
counters.level | string or null | |
counters.coupon_used | boolean | |
counters.visits | integer | |
on_hold | boolean | |
paused_by_plan | boolean | |
reward_ready | boolean | |
rewards | list of object | |
membership_active | boolean or null | |
actions | list of object | |
customer | object | |
customer.id | string | |
customer.email | string or null | |
customer.phone | string or null | |
customer.birthday_this_month | boolean | |
customer.last_visit_at | string or null (date-time) | |
TillResult
| Field | Type | About |
action_id | string | |
action | string | |
message | string | |
reference | string or null | |
undo_until | string or null (date-time) | |
card | TillCard | |
card.card_token | string | |
card.card_token_expires_at | string or null (date-time) | |
card.program | object | |
card.holder | string | First name only, unless the token holds loyalty-customers.read. |
card.code | string | |
card.headline | object | |
card.fields | list of object | |
card.counters | Counters | |
card.on_hold | boolean | |
card.paused_by_plan | boolean | |
card.reward_ready | boolean | |
card.rewards | list of object | |
card.membership_active | boolean or null | |
card.actions | list of object | |
card.customer | object | |
Tip
| Field | Type | About |
id | string | |
kind | string or null | |
status | string | |
amount | Money | |
amount.amount_cents (always) | integer | |
amount.currency (always) | string | |
supporter | object | |
supporter.name | string or null | |
supporter.email | string or null | |
message | string or null | |
paid_at | string or null (date-time) | |
Tour
| Field | Type | About |
id | string | |
listing_id | string | |
requester | object | |
requester.name | string or null | |
requester.email | string or null | |
requester.phone | string or null | |
scheduled_at | string or null (date-time) | |
duration_minutes | integer | |
status | string | |
UploadedImage
| Field | Type | About |
kind | string: "avatar", "cover" | |
path | string | |
url | string | |
WalletDelivery
| Field | Type | About |
id | string | |
message_id | string or null | |
customer_id | string | |
kind | string | |
promotional | boolean | |
channel | string: "apple", "google", "none" | |
state | string: "queued", "handed_to_apple", "handed_to_google", "failed", "skipped" | |
lock_screen_alert | boolean or null | |
devices | integer or null | |
reason | string or null | |
at | string or null (date-time) | |
WalletDesign
| Field | Type | About |
background_color | string | |
foreground_color | string | |
label_color | string | |
logo_text | string | |
headline_label | string | |
stamp_strip | boolean | |
images | object | |
images.logo | boolean | |
images.strip | boolean | |
images.icon | boolean | |
back | object | |
contrast_ratio | number | |
WalletMessage
| Field | Type | About |
id | string | |
program_id | string | |
kind | string | |
promotional | boolean | |
body | string | |
audience | Audience | |
audience.type | string: "all", "group", "filter" | |
audience.group | string | A customer group key: regulars, new, drifting, lapsed, big_spenders, birthday, opted_in. |
audience.filter | string: "new", "recent", "lapsed", "reward" | |
audience.days | integer | |
via | string or null | The agent or app that sent it through the API. |
status | string: "scheduled", "sending", "done", "held", "cancelled" | |
send_at | string or null (date-time) | |
sent_at | string or null (date-time) | |
targeted | integer or null | |
deliveries | object | |
deliveries.queued | integer | |
deliveries.handed_to_apple | integer | |
deliveries.handed_to_google | integer | |
deliveries.failed | integer | |
deliveries.skipped | integer | |
WalletStatus
| Field | Type | About |
connected | boolean | |
apple | object | |
apple.connected | boolean | |
apple.live_updates | boolean | |
apple.https_web_service | boolean | |
apple.certificate_expires_at | string or null (date-time) | |
apple.certificate_expired | boolean | |
apple.missing | list of string | |
google | object | |
google.connected | boolean | |
google.publishing | boolean | |
google.missing | list of string | |
plan | object | |
cards | list of object | |
WeddingGuest
| Field | Type | About |
id | string | |
name | string | |
email | string or null | |
invite_code | string | |
max_party_size | integer | |
plus_one_allowed | boolean | |
rsvp | object or null | |
WeddingRsvp
| Field | Type | About |
id | string | |
guest_id | string or null | |
guest_name | string or null | |
attending | boolean | |
party_size | integer | |
meal_choices | array or object | |
dietary_notes | string or null | |
submitted_at | string or null (date-time) | |