Getting Started

Authentication

To access the Personaify REST APIs, you need to first authenticate by calling /access_token

Request:

curl -X POST https://app.personaify.ai/api/access_token \
     -H "Content-Type: application/json" \
     -d '{
           "username": "johnsmith",
           "password": "password"
         }'

Response:

{
  "access_token": "abcdefg1234567890"
}

Use the returned access_token as part of Bearer authentication header in other api calls

Example Call:

curl -X GET https://app.personaify.ai/api/dosomething \
     -H "Authorization: Bearer abcdefg1234567890" \
     -H "Content-Type: application/json"

Last updated