Change a brand's sign-in page
Changes the parts sent and keeps the rest. At most 4 ways shown first (`too_many_shown`) and at least one way to sign in on (`no_way_to_sign_in`). Turning a way off takes effect everywhere at once: read `GET …/sign-in-page/impact` first to see who it affects. Needs `org.brands.edit`. Recorded as `brand.updated`, each part as `sign_in_page.<part>`.
/v1/orgs/{org}/brands/{brand}/sign-in-pageChanges the parts sent and keeps the rest. At most 4 ways shown first (too_many_shown) and at least one way to sign in on (no_way_to_sign_in). Turning a way off takes effect everywhere at once: read GET …/sign-in-page/impact first to see who it affects. Needs org.brands.edit. Recorded as brand.updated, each part as sign_in_page.<part>.
Authorization
bearer An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.
In: header
Path Parameters
The org's id
^org_[0-9a-hjkmnp-tv-z]{26}$The brand's id
^brd_[0-9a-hjkmnp-tv-z]{26}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Changes the parts sent and keeps the rest: methods replaces the whole list, place moves only the ways it names, email replaces the whole step after the address, returning the page for people coming back
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PATCH "https://api.synq.build/v1/orgs/org_01h455vb4pex5vsknk084sn02q/brands/brd_01h455vb4pex5vsknk084sn02q/sign-in-page" \ -H "Authorization: Bearer $SYNQ_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "methods": [ { "method": "google", "placement": "shown", "off_for": "everyone" } ], "place": [ { "method": "discord", "placement": "shown", "position": 1 } ], "email": { "password": true, "code": true, "lead": "password" }, "returning": "last_only" }'{ "methods": [ { "method": "google", "name": "Google", "kind": "provider", "placement": "shown", "off_for": null, "available": true, "link_only": false, "community_links": false, "icon_url": null } ], "max_shown": 4, "email": { "password": true, "code": true, "lead": "password" }, "returning": "last_only"}Change a brand's member profile settings PATCH
Shows or hides Wallets, Communities and Linked accounts, and sets the copy (null puts Synq’s back); what is left out stays. Each line is one line of plain text with only its own placeholders (400 at the field with the fix otherwise). Which servers and groups it lists is each one’s own `listed`. Needs `org.integrations.edit`. Recorded as `brand.updated`, each setting as `member_profile.<name>`.
Change a brand's theme PATCH
Changes the settings sent and keeps the rest; null unsets one. Settings only: raw CSS, or anything else, is refused. Advanced settings need a plan with the advanced theme, and hiding "Powered by Synq" a plan that allows it; unsetting either, or keeping "Powered by Synq", needs neither. Needs `org.brands.edit`. Recorded as `brand.updated`, each setting as `theme.<name>`.