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 |
|
200 |
JSON Object that has |
result
consists of followings¶
key |
description |
---|---|
|
unique id of the account. |
|
name of the account. |
|
full name of the account. |
|
email of the account. |
|
a flag that the account is granted using Typecast APIs. |
|
a token for using Typecast APIs that is used |
|
a url that receives a request as callback when synthesys of voices is done. If not set, it will be |
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"
}
}