Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below is an example of how to obtain a token using cURL:

Request

curl --header 'Auth-Token: token_value_here' https://<instance>.fuseuniversal.com/api/v5.0/users/me

Example response

...

Code Block
curl -s -X POST --header 'Content-Type: application/x-www-form-urlencoded' --header 'Accept: application/json' -d 'login_name=joe-bloggs&password=Passw0rd&platform=ios' \
https://<instance_name>.fuseuniversal.com/api/v5.0/session  | jq ".auth_tokens.user_authentication_token"
{
  "authentication_token": "rVIG4LQ8kNvyu763",
  "updated_at": 1728957654
}

...