POST
/
api
/
v1
/
csp
/
organization
/
signin
Create JWT token
curl --request POST \
  --url https://sandbox.paylias.xyz/gateway/api/v1/csp/organization/signin \
  --header 'Content-Type: application/json' \
  --header 'idempotency-key: <idempotency-key>' \
  --data '{
  "admin_email": "admin@getsafepay.com",
  "admin_password": "mypassword"
}'
{
  "ok": true,
  "data": {
    "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "token": "org_d09gv1s20or2svojjmt0"
  }
}

Headers

idempotency-key
string
default:""
required

The Idempotency Key - usually a UUID

Body

application/json

Request to authenticate an admin and receive a JWT token.

The body is of type object.

Response

200
application/json

JWT token created successfully

Standard response structure for successful operations