Facebook — save user access token

Validate a Facebook user access token via the Graph API debug endpoint and, if valid, persists the FB user details for the company. Used before selecting a page to connect.

Auth

  • Auth-optional. Bearer token (scoped by an ownership check on company_id) OR an invite hash (no token; company_id is then omitted).

Rate limit

  • 30 requests/min per IP (public).

Body

FieldTypeRequiredNotes
user_access_tokenstringRequiredFB user access token to validate + persist.
company_idintegerRequired (non-hash)Must exist + in caller scope (an ownership check). Omitted in the hash flow.
hashstringOptionalInvite hash [store_id, 15]; grants access without a token.

Behaviour

  • 200 with a positional message. The payload uses an unusual shape: status plus a numeric-0 message key — {data:{status:"success","0":"User token has been saved successfully!"}}.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
string
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json