DocsReference
Profiles
A profile represents a brand or client. Every connected social account and every post belongs to exactly one profile.
List profiles
GET /v1/profiles
curl https://api.letspost.app/v1/profiles \
-H "Authorization: Bearer $SOCIALHUB_KEY"Create a profile
POST /v1/profiles
curl https://api.letspost.app/v1/profiles \
-H "Authorization: Bearer $SOCIALHUB_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Acme Inc.","avatar":"https://…/logo.png"}'Update a profile
PATCH /v1/profiles/{id}
curl -X PATCH https://api.letspost.app/v1/profiles/prof_abc \
-H "Authorization: Bearer $SOCIALHUB_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Acme (renamed)"}'Delete a profile
DELETE /v1/profiles/{id}
curl -X DELETE https://api.letspost.app/v1/profiles/prof_abc \
-H "Authorization: Bearer $SOCIALHUB_KEY"Deletes the profile, all its posts, and its connected accounts.
Was this page helpful?
Something unclear? Email us — we read every message.