GET /api/me

An API for reading current account information.

Request

Headers

Parameters

  • None

Example with cURL
  curl --request GET
    --url https://typecast.ai/api/me \
    --header "Authorization: Bearer $API_TOKEN"

Response

Status Code

status code

value

401

Authorization Error

200

JSON Object that has result.

result consists of followings

key

description

uid

unique id of the account.

username

name of the account.

fullname

full name of the account.

email

email of the account.

enable_api

a flag that the account is granted using Typecast APIs.

api_token

a token for using Typecast APIs that is used Authorization of headers

callback_url

a url that receives a request as callback when synthesys of voices is done. If not set, it will be null

Example
{
  "result": {
      "username": "tester",
      "fullname": "tester",
      "uid": "63ee44f00000000000000000",
      "email": "tester@neosapience.com",
      "enable_api": true,
      "api_token": "your-api-token",
      "callback_url": "https://your.host.com/if-you-want-to-get-callback"
  }
}