POST http://dev.amply.tools/admin/graphql/

GraphQL requests

20 HTTP queries on GraphQL endpoint(s)

Refresh with latest query
200 May 5, 2025 10:28 schema: default 595d60
# Time Info
1 29 ms
401 May 5, 2025 00:03 c0fe1e
# Time Info
200 May 4, 2025 20:53 schema: default db744f
# Time Info
1 43 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 19:54 schema: default c9b608
# Time Info
1 55 ms
mutation refreshToken(...) {
refreshToken(...)
}
Variables:
[
  "refreshToken" => "bd51fd427be2452f5873b815ba7f4c1a52de4de1aad852aea58f00623916f03ec01698e7a29f996d9ff1299fe79e549c44655381e00469375fc5044978c8821f"
]
mutation refreshToken($refreshToken: String!) {
  refreshToken(token: $refreshToken) {
    token
    refreshToken
    __typename
  }
}
[
  "data" => [
    "refreshToken" => [
      "token" => "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NDYzODg0NTcsImV4cCI6MTc0NjM5MjA1Nywicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoieWFua2VydmlwQGdtYWlsLmNvbSJ9.Ev48r3UXu9HJGBfZ-1c4Zqa_ef5hObnlBZnHt-uOIExrUFru1QZDBiMinpjE-1MUwq-hYpBjnDKJdkuYXUO0pnqYwQ6CqgFMFuRkFR_CPM4qB4VWcW-ujznAYSxZjCngHqXOhGnROhnbSmPAHN86UGwGLui4rM90Lhr0h7pFJzZ6aaB2vI0b3x9NmLhwwb7OsvxvPE70sgc3poGFPC1jYUbq-rgDcq6kxfMsrWVNHwaxw18YzbC_C_uaoBxoWbR724vBTGvIcjJWaGnbgH3tn-DVVqnOYXI5KE3awyWetXDIHIxciHqPspJ8M0A--KKuZ6CR3Pk-cNeF9TocpRAMJQ"
      "refreshToken" => "009bfdb7fb11b32525fed9b800dc629ef66509a49df338a0bde915235da37e87e59b2ae9e1ba815c8c6a1c0514f8d2fe189da646e3c52c003496266d7684d38d"
      "__typename" => "AuthPayload"
    ]
  ]
]
200 May 4, 2025 18:55 schema: default bedea3
# Time Info
1 53 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 17:56 schema: default 88747c
# Time Info
1 51 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 16:57 schema: default 29a1f8
# Time Info
1 41 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 15:58 schema: default 0a6944
# Time Info
1 37 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 14:59 schema: default 689750
# Time Info
1 43 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 14:00 schema: default 42bc2d
# Time Info
1 40 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 13:01 schema: default 13eb4b
# Time Info
1 42 ms
mutation refreshToken(...) {
refreshToken(...)
}
200 May 4, 2025 12:04 schema: default 9bcd24
# Time Info
1 68 ms
query Campaign(...) {
campaign(...)
}
200 May 4, 2025 12:04 schema: default b2c878
# Time Info
1 28 ms
query Campaign(...) {
campaign(...)
}
200 May 4, 2025 12:04 schema: default ade408
# Time Info
1 37 ms
query Campaigns(...) {
campaigns(...)
}
200 May 4, 2025 12:04 schema: default 4db802
# Time Info
1 154 ms
mutation campaignCreate(...) {
campaignCreate(...)
}
200 May 4, 2025 12:03 schema: default 4914c6
# Time Info
1 24 ms
query Applications(...) {
applications(...)
}
200 May 4, 2025 12:02 schema: default be1fc7
# Time Info
1 31 ms
query Projects(...) {
projects(...)
}
200 May 4, 2025 12:02 schema: default 460052
# Time Info
1 23 ms
query Me(...) {
me(...)
}
200 May 4, 2025 12:02 schema: default f5b268
# Time Info
1 28 ms
query Me(...) {
me(...)
}
200 May 4, 2025 12:02 schema: default 30cea8
# Time Info
1 697 ms
mutation Login(...) {
login(...)
}

Schema: default

schema {
  query: Query
  mutation: Mutation
}

type Query {
  id: String
  countries: [Country]
}

type Country {
  code: String!
  name: String!
}

type Mutation {
  "Refresh tokens"
  refreshToken(
    "Refresh Token"
    token: String!
  ): AuthPayload!

  "User login with email and password"
  login(input: LoginInput!): AuthPayload!

  "User reset password"
  resetPassword(input: ResetPasswordInput!): Boolean!

  "User registration with email and password"
  signup(input: RegistrationUserInput!): AuthPayload!

  "User update password"
  updatePassword(input: UpdatePasswordInput!): Boolean!
}

type AuthPayload {
  token: String!
  refreshToken: String!
  user: AmplyUser!
  organization: Organization!
}

type AmplyUser {
  email: String
  name: String
  role: String
  status: String
  avatar: String
}

type Organization {
  name: String!
  id: UUID!
  users: [AmplyUser]
  projectsCount: Int
  projects: [Project]
  logo: String
}

scalar UUID

type Project {
  name: String!
  id: UUID!
  applications: [Application]
  image: String
}

type Application {
  id: UUID!
  bundleId: String!
  name: String!
  image: String!
  platform: String!
  project: Project!
  apiKeys: [ApiKey]
}

type ApiKey {
  public: String!
  secret: String!
  application: Application!
  lastUsed: DateTime
}

scalar DateTime

input LoginInput {
  email: String!
  password: String!
}

input ResetPasswordInput {
  email: String!
}

input RegistrationUserInput {
  email: String!
  password: String!
  organization: String!
  name: String!
}

input UpdatePasswordInput {
  token: String!
  newPassword: String!
  newPasswordRepeat: String!
}