Skip to main content

Documentation Index

Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt

Use this file to discover all available pages before exploring further.

The OnlyDrams API uses JSON Web Tokens, or JWTs, to authenticate requests. JWTs are issued at the time of login and expire every 15 minutes.

Request body

identifier
string
required
The identifier the user uses to login. This can be either the email or username.
password
string
required
The password the user uses to login. Encrypted in flight and at rest.
  curl -X POST https://api.onlydrams.app/api/v1/users/sign_in \
    -H "Content-Type: application/json" \
    -d '{
          "user": {
            "identifier": USERNAME,
            "password": PASSWORD
          }
        }'
{
	"refresh_token": "abc123...",
	"access_token": "zyx987..."
}