cURL
curl --request POST \ --url https://sandbox.api.paylias.xyz/gateway/api/v1/csp/organization/signin \ --header 'Content-Type: application/json' \ --header 'idempotency-key: <idempotency-key>' \ --data ' { "admin_email": "[email protected]", "admin_password": "mypassword" } '
{ "ok": true, "data": { "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "token": "org_d09gv1s20or2svojjmt0" } }
Use the admin_email and admin_password fields to generate a JWT token
admin_email
admin_password
The Idempotency Key - usually a UUID
Request to authenticate an admin and receive a JWT token.
"[email protected]"
"mypassword"
JWT token created successfully
Standard response structure for successful operations
Indicates if the operation was successful
true
Model containing JWT token information
Show child attributes
Was this page helpful?