Authentication
Suggestic supported authentication methods
JWT Authentication
Request Body
Name
Type
Description
{
"email": "[email protected]",
"name": "Ernesto",
"phone": "",
"user_id": "4e9fb96d-3291-aa43-92f1-8226408eb0ac",
"is_premium": true,
"birthdate": "1984-03-10",
"avatar": "https://sg-data.storage.googleapis.com:443/4e9fb96d-3291-4f5e-92f1-8226408eb0ac/avatar",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjasdfadfa311CI6IjIwMTcwMTA5MTYzMSJ9.DIAAit7QDBBvoluIYp6lt-jC3cfEOgZ3sThEu0j_T7A",
"hashed_email": "790cd2c93f39629asdf2234s761de119b13fc2614f3998cb023cfd",
"program_id": "46477417-dc4e-425c-b3a9-f2bc9b129102",
"show_program_view": true,
"transaction_provider": "",
"transaction_duration": "",
"transaction_price": 0,
"profile_id": "7708db196-27a0-4aa2-999e-1e68203a83udd"
}{
"detail": "Incorrect username/password"
}How to use a Bearer Authentication within graphQL

cURL Request with Bearer token
Refresh Token
Using JWT without a user's password
API Token Authentication
Headers
Name
Type
Description
Clients/Partners API Token
Examples
cURL Example
Python Example
Last updated
Was this helpful?