Auth
Auth Token Request
This endpoint is used to authenticate and obtain a token to access protected resources. The request should be made using the HTTP POST method.
Request
Method: POST
Endpoint:
https://api.creatopy.com/v1/auth/tokenBody:
clientId(text) - The client ID for authentication.clientSecret(text) - The client's secret for authentication.
Response
Upon successful authentication, the server responds with a status code of 200 and a JSON object containing the authentication token.
Example response:
{
"token": "eyJhbGciOiJIUzI1NiIsInR....5cCI6IkpXVCJ9"
}Example payload:
Last updated